AM Debug v3.0.0-rc02 Run#1828
Refactor Fix clearing caches in Android 7.1 and earlier in ADB mode
Due to the lack of a permission namely android.permission.CLEAR_APP_CACHE,
Shell was unable to clear caches via the PackageManager#freeStorageAndNotify
method. As a workaround, this is handled in the following way:
1. android.permission.CLEAR_APP_CACHE permission used to be a normal permission
in Android Lollipop. Hence, the permission is declared in App Manager's
AndroidManifest.xml and the operation is carried out without root.
2. In Android Marshmallow and Nougat, the only way to handle this is to list
all the applications and then clear the cache of each app individually.
Thanks: Tech DoctorUK
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix clearing caches in Android 7.1 and earlier in ADB mode
Due to the lack of a permission namely android.permission.CLEAR_APP_CACHE,
Shell was unable to clear caches via the PackageManager#freeStorageAndNotify
method. As a workaround, this is handled in the following way:
1. android.permission.CLEAR_APP_CACHE permission used to be a normal permission
in Android Lollipop. Hence, the permission is declared in App Manager's
AndroidManifest.xml and the operation is carried out without root.
2. In Android Marshmallow and Nougat, the only way to handle this is to list
all the applications and then clear the cache of each app individually.
Thanks: Tech DoctorUK
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v3.0.0-rc02 Run#1829
Backup Fix creating symbolic links
- Apply filters for symbolic links.
- Skip restoring
manually recreated, the system no longer works.
- Support restoring symbolic links pointing to any directory inside /data/app.
Thanks: Pooka Mustard
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Backup Fix creating symbolic links
- Apply filters for symbolic links.
- Skip restoring
lib folder if it's a symbolic link, because if this link ismanually recreated, the system no longer works.
- Support restoring symbolic links pointing to any directory inside /data/app.
Thanks: Pooka Mustard
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v3.0.0-rc02 Run#1830
Update dependencies: AndroidX Appcompat and splashscreen
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Update dependencies: AndroidX Appcompat and splashscreen
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
🔥1
AM Debug v3.0.0-rc02 Run#1831
Refactor Fix changing application locale
- Fixed changing application locale when it is changed in Android settings
- Detect and change locale on starting an activity, and restart the activity if
required even when it is located in the same stack
- Reapply locale instead of recreating the activity in HelpActivity
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix changing application locale
- Fixed changing application locale when it is changed in Android settings
- Detect and change locale on starting an activity, and restart the activity if
required even when it is located in the same stack
- Reapply locale instead of recreating the activity in HelpActivity
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
App Manager | DEBUG
AM Debug v3.0.0-rc02 Run#1831 Refactor Fix changing application locale - Fixed changing application locale when it is changed in Android settings - Detect and change locale on starting an activity, and restart the activity if required even when it is located…
If you’re a developer who’s fed up with how Android handles locales (and may have lost some hairs in the process), you can reuse the code from this app with Apache-2.0 license (instead of GPL-3.0-or-later as I’ve made exemptions). You can find a detailed guide in my answer at StackOverflow:
https://stackoverflow.com/a/65066663/4147849
https://stackoverflow.com/a/65066663/4147849
Stack Overflow
Android - Change application locale programmatically
Changing locale inside an Android app was never been easy. With androidx.appcompat:appcompat:1.3.0-alpha02, it seems that changing locale in an application has become much more difficult than I ima...
❤2
App Manager | DEBUG
If you’re a developer who’s fed up with how Android handles locales (and may have lost some hairs in the process), you can reuse the code from this app with Apache-2.0 license (instead of GPL-3.0-or-later as I’ve made exemptions). You can find a detailed guide…
AndroidX’s appcompat 1.7.x might have a solution as well but the source hasn’t been published yet. So, I am not sure if they’ve handled things properly there.
❤2
AM Debug v3.0.0-rc02 Run#1832
Main Display disclaimer only once in a session
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Main Display disclaimer only once in a session
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v3.0.0-rc02 Run#1833
AppInfo Fix displaying wrong external storage directory for other users
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AppInfo Fix displaying wrong external storage directory for other users
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
🔥1
AM Debug v3.0.0-rc02 Run#1835
Refactor Encapsulate most Path constructors
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Encapsulate most Path constructors
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
🔥3
[PR] AM Debug v3.0.0-rc02 Run#1834
[Main] Add support for market://search?q=<query>
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
[Main] Add support for market://search?q=<query>
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
😱3
AM Debug v3.0.0-rc02 Run#1836
AppInfo Reduce vertical padding of the action buttons
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AppInfo Reduce vertical padding of the action buttons
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v3.0.0-rc02 Run#1837
Docs Update German translations
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Docs Update German translations
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
🔥2