mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 07:09:56 +01:00
Update reopen mailbox after device goes to sleep
@@ -21,7 +21,7 @@ To put a device into this Android invoked 'doze', issue this command
|
|||||||
|
|
||||||
adb shell dumpsys deviceidle force-idle
|
adb shell dumpsys deviceidle force-idle
|
||||||
|
|
||||||
(just in case I forget after awhile - adb commands need to be issued from the adb folder, which are in different locations on mac and windowds machines)
|
(just in case I forget after awhile - adb commands need to be issued from the folder containing adb folder, which are in different locations on mac and windowds machines)
|
||||||
|
|
||||||
adb shell dumpsys deviceidle unforce
|
adb shell dumpsys deviceidle unforce
|
||||||
|
|
||||||
@@ -29,6 +29,17 @@ if permission is denied, it could be because the USB debugging is off for the de
|
|||||||
|
|
||||||
To see if connection to device is OK, type in > ./adb devices (on mac) and .(backward slash)adb devices on windows?
|
To see if connection to device is OK, type in > ./adb devices (on mac) and .(backward slash)adb devices on windows?
|
||||||
|
|
||||||
|
**memo, useful for testing this:**
|
||||||
|
|
||||||
|
- enable battery optimization:
|
||||||
|
|
||||||
|
`adb shell dumpsys deviceidle whitelist -org.briarproject.mailbox`
|
||||||
|
|
||||||
|
- disable battery optimization:
|
||||||
|
|
||||||
|
`adb shell dumpsys deviceidle whitelist +org.briarproject.mailbox`
|
||||||
|
|
||||||
|
Execute the 'force idle' command and then go to the device and start the mailbox. There should be a dialogue box saying: Mailbox cannot run int he background and two buttons on it - Cancel and Fix. If tap on fix, there is a crash - this is what the bug 145 is about.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user