AM Debug v2.7.0 Run#1539
Refactor Enable layout preview for MultiSelectionView
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Enable layout preview for MultiSelectionView
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1541
Scanner Use Smali/Baksmali instead of DexClassLoader
This fixes the long known security issues regarding the use of DexClassLoader.
In addition, the speed of loading the class list should be faster than before.
It also opens the possibilities of analysing ODEX files in the future.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Scanner Use Smali/Baksmali instead of DexClassLoader
This fixes the long known security issues regarding the use of DexClassLoader.
In addition, the speed of loading the class list should be faster than before.
It also opens the possibilities of analysing ODEX files in the future.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
A side effect of adding Smali/Baksmali is that you can now see/save the smali file instead of the Java file. However, currently syntax highlighting is broken there. I will also add Jadx to enable Smali to Java conversion soon.
AM Debug v2.7.0 Run#1542
Scanner Enable highlight for Smali
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Scanner Enable highlight for Smali
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
The last build (Smali - Java conversion) wasn't pushed here due to compatibility issues with Jadx which I will attempt to fix after the break. Build#1541 can break the scanner feature in older Android versions. Testers running Android N or earlier are asked to test out this feature. Thanks.
AM Debug v2.7.0 Run#1544
Fix JADX Java-7 compatibility issue
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Fix JADX Java-7 compatibility issue
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
It should be noted that it might take a long time to load the file if it's too long (this screen might even be freezed). This issue will be fixed once the TextWarrior view is added in AM.
This was an emergency fix in order to avoid issues during the Hackoberfest. I'm still unavailable till 5 October.
AM Debug v2.7.0 Run#1546
Refactor Fix crash if WebView is unavailable
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix crash if WebView is unavailable
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1547
AppInfo Use accessibility to clear data/cache and force-stop apps
In non-root mode, it is possible to clear app cache, app data, and force-stop
apps using Android accessibility service. However, App Manager does not provide
an interface to configure this option. The only way to configure accessibility
is by turning it on explicitly from Android Settings > Accessibility.
Accessibility service is tested only on Android 11. It should also work on a
few other versions, but no guarantee has been given. Additionally, this service
should only work on the AOSP or the AOSP-flavoured operating systems, other
operating systems such as MIUI, EMUI, One UI, Color OS are not supported
(and may not be supported in any time soon).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AppInfo Use accessibility to clear data/cache and force-stop apps
In non-root mode, it is possible to clear app cache, app data, and force-stop
apps using Android accessibility service. However, App Manager does not provide
an interface to configure this option. The only way to configure accessibility
is by turning it on explicitly from Android Settings > Accessibility.
Accessibility service is tested only on Android 11. It should also work on a
few other versions, but no guarantee has been given. Additionally, this service
should only work on the AOSP or the AOSP-flavoured operating systems, other
operating systems such as MIUI, EMUI, One UI, Color OS are not supported
(and may not be supported in any time soon).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
One thing I forgot to mention in the commit message: When accessibility service is enabled, you do not need to explicitly confirm APK installation as this will be done for you. However, this is only possible if you haven’t configured the installer to be run in the background or haven’t pressed the “background” button.
AM Debug v2.7.0 Run#1548
Refactor Set FlowLayout's default layout direction to the system default
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Set FlowLayout's default layout direction to the system default
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>