fengberd / PocketServer

[Discontinued] Run PocketMine or Nukkit on your Android phone!
GNU General Public License v3.0
94 stars 26 forks source link

Pocket Server (For MCPE) v 1.0.9.5 Unable to cancel server download process (PocketMine) in android 7.0 #93

Closed ammarraisafti closed 6 years ago

ammarraisafti commented 6 years ago

Expected behavior

Supposedly, after a user downloads one of the server type (PocketMine), the ability to cancel the download should be done, either use the back button on the device.

Actual behavior

When downloading one of the server type (PocketMine), the ability to cancel the download process can not be done. I tried to cancel the download using the back button on the device (Cancel feature not available), and did it repeatedly, but it did not work.

When I force it back, I find the information that appears on the screen of the device. image

How to reproduce

Browser: Samsung Galaxy S6 edge Operating system: Nougat 7.0

Recording Of The Bug

https://youtu.be/TCan8oJgfGk

Logcat


05-31 22:00:11.874  3736  6214 D PackageManager: getComponentMetadataForIconTray : moe.berd.pocket_server.activity.MainActivity does not exist in mProviders
05-31 22:00:11.874  3736  6214 D PackageManager: getComponentMetadataForIconTray : moe.berd.pocket_server.activity.MainActivity does not exist in mReceivers
05-31 22:00:11.874 13358 13437 E ApplicationPackageManager: checkSettingsForIconTray value : 0
05-31 22:00:11.876 13358 13437 I ApplicationPackageManager: load=NULL, bg=168-168, dr=1365-1365, forDefault=true
05-31 22:00:11.877 13358 13437 I ApplicationPackageManager: DR-icon scaling ori=1365,1365 - scaled=168,168
05-31 22:00:11.877 13358 13437 I ApplicationPackageManager: reset dr=168,168, bg=168,168
05-31 22:00:11.877 13358 13437 E ApplicationPackageManager: checkSettingsForIconTray value : 0
05-31 22:00:11.878 13358 13437 I ApplicationPackageManager: scaled rate=0.97481483, size=168, alpha=3, hold=26, target=168
05-31 22:00:11.879 13358 13437 D LauncherActivityInfo: packageName: net.fengberd.minecraftpe_server, needTray: true, height: 168, width: 168
05-31 22:00:11.977  3948  3948 I kickstart: EVENT: !@ RECEIVED <-- SAHARA_HELLO
05-31 22:00:11.977  3948  3948 I kickstart: EVENT: !@ SENDING --> SAHARA_HELLO_RESPONSE
05-31 22:00:11.978  3948  3948 E kickstart: Wrote to /sys/power/wake_lock
05-31 22:00:11.985  3948  3948 I kickstart: EVENT: !@ RECEIVED <-- SAHARA_MEMORY_DEBUG
05-31 22:00:11.985  3948  3948 I kickstart: EVENT: !@ SENDING --> SAHARA_MEMORY_READ
05-31 22:00:11.985  3948  3948 I kickstart: EVENT: !@ Sent SAHARA_MEMORY_READ, address 0x6BA2F0, length 0x34
05-31 22:00:11.985  3948  3948 I kickstart: EVENT: !@ STATE <-- SAHARA_WAIT_MEMORY_TABLE
05-31 22:00:11.988 13358 13406 D skia    : Encode PNG Singlethread :     692857 us, width=1440, height=2560
05-31 22:00:11.988 13358 13406 D capture : saveMainHomeScreen compress : 296160
05-31 22:00:11.991 13358 13406 D capture : saveToFileCaptureScreen ret : false SCREENSHOT_FILE_PATH : /storage/emulated/0/Android/data/com.sec.android.app.launcher/cache/homescreenPreview.png
05-31 22:00:11.991  3736  4595 D SecContentProvider: query(), uri = 17 selection = isSettingsChangesAllowed
05-31 22:00:11.992  3736  4595 D SecContentProvider: called from com.sec.android.app.launcher
05-31 22:00:11.993 13358 13406 D Launcher.MenuWidgetsLoader: MenuWidgetLoader-start : com.android.launcher2.MenuWidgetsLoader$LoadMenuWidgetsTask@f5685f5 , false
05-31 22:00:12.005  3948  3948 I kickstart: EVENT: !@ Base 0xE00000 Len 0x100000, 'm9kefs1', ''
05-31 22:00:12.005  3948  3948 I kickstart: EVENT: !@ STATE <-- SAHARA_WAIT_MEMORY_REGION
05-31 22:00:12.005  3948  3948 E kickstart: Opening file '/dev/block/modem/m9kefs1' for writing
05-31 22:00:12.006  3948  3948 I kickstart: EVENT: !@ SENDING --> SAHARA_MEMORY_READ
05-31 22:00:12.006  3948  3948 I kickstart: EVENT: !@ Sent SAHARA_MEMORY_READ, address 0xE00000, length 0x100000
05-31 22:00:12.011  4701  4701 V hong    : mid yDiff = 511
05-31 22:00:12.011  4701  4701 V hong    : mid yDiff = 511
05-31 22:00:12.021 13358 13406 D AvailableAppWidgetListProvider: This widget is single instance -</code>```
fengberd commented 6 years ago

I can't dismiss the dialog by pressing back key uhm. Anyway I just added this feature: https://github.com/fengberd/PocketServer/commit/d942f825577df57c0e71bbb19aae13b5d265cb0a