AM Debug v2.7.0 Run#1533
Refactor Display user IDs in device info
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Display user IDs in device info
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1534
Usage Display usage for all the configured users
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Usage Display usage for all the configured users
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1535
Apk Improve cache management
Cached APK files are deleted only when they are unused. In order to do that,
all caching logic are moved to ApkFile.
This works as follows:
1. If all existing instances of ApkFile are closed, the ApkFile is also closed
automatically.
2. If the ApkFile needs to be accessed in the recent future (e.g. by the
installer) but not now, ApkFile#getInAdvance is called in order to prevent
the ApkFile from closing.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Apk Improve cache management
Cached APK files are deleted only when they are unused. In order to do that,
all caching logic are moved to ApkFile.
This works as follows:
1. If all existing instances of ApkFile are closed, the ApkFile is also closed
automatically.
2. If the ApkFile needs to be accessed in the recent future (e.g. by the
installer) but not now, ApkFile#getInAdvance is called in order to prevent
the ApkFile from closing.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1536
Refactor Use 127.0.0.1 instead of ::1 for connecting to remote server
Third-party applications may disable IPv6 addresses, as a result, App Manager
will fail to connect to the remote server and hang until timeout occurs if Java
returns ::1 instead 127.0.0.1.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Use 127.0.0.1 instead of ::1 for connecting to remote server
Third-party applications may disable IPv6 addresses, as a result, App Manager
will fail to connect to the remote server and hang until timeout occurs if Java
returns ::1 instead 127.0.0.1.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
The above fixes loading issues when DNSCrypt is enabled (either via Magisk module or via InviZible).
AM Debug v2.7.0 Run#1537
Refactor Use custom FlowLayout to center the chips
Additionally, the chips are made smaller to give more space for other views.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Use custom FlowLayout to center the chips
Additionally, the chips are made smaller to give more space for other views.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1538
Main Use chips instead of check boxes and radio buttons in list options
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Main Use chips instead of check boxes and radio buttons in list options
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
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>