AM Debug v2.7.0 Run#1488
Refactor Replace reflection calls using HiddenApiRefinePlugin
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Replace reflection calls using HiddenApiRefinePlugin
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1489
Main Fix filtering running apps
When running apps were filtered using user ID (UID) but the UID is shared with
more than one packages, incorrect apps were listed. To fix this issue, shared
UIDs are skipped from matching.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Main Fix filtering running apps
When running apps were filtered using user ID (UID) but the UID is shared with
more than one packages, incorrect apps were listed. To fix this issue, shared
UIDs are skipped from matching.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1490
Main Fix freezing issue after returning from another activity
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Main Fix freezing issue after returning from another activity
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1491
Refactor Use hidden API to fetch UID name
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Use hidden API to fetch UID name
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1492
Refactor Prevent IDE from inferring throwable from hidden API
For any method used in the hidden API library, Android Studio or IntelliJ may
infer the return value to be null or 0/false since all stub methods call
UnsupportedOperationException. Instead of calling the exception directly, it is
called from another utility class (removed during compilation) where the output
is forcefully set to “any”.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Prevent IDE from inferring throwable from hidden API
For any method used in the hidden API library, Android Studio or IntelliJ may
infer the return value to be null or 0/false since all stub methods call
UnsupportedOperationException. Instead of calling the exception directly, it is
called from another utility class (removed during compilation) where the output
is forcefully set to “any”.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1494
Use activity manager to fetch running apps.
Try to get the running package from activity manager.
Signed-off-by: Vu Hoan Huy <vuhoanhuy99@gmail.com>
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Use activity manager to fetch running apps.
Try to get the running package from activity manager.
Signed-off-by: Vu Hoan Huy <vuhoanhuy99@gmail.com>
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1495
Main Optimize fetching running app processes
For unprivileged users, AM is returned as the only running apps.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Main Optimize fetching running app processes
For unprivileged users, AM is returned as the only running apps.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1496
RunningApps Display running apps for shared UID and PID
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
RunningApps Display running apps for shared UID and PID
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1498
Main Enable “running apps” filter in no-root mode
Currently, “running apps” filter only works in root/ADB mode. This commit
adds “running apps” filter in no-root mode by utilising
android.permission.DUMP to fetch running applications.
Signed-off-by: Vu Hoan Huy <vuhoanhuy99@gmail.com>
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Main Enable “running apps” filter in no-root mode
Currently, “running apps” filter only works in root/ADB mode. This commit
adds “running apps” filter in no-root mode by utilising
android.permission.DUMP to fetch running applications.
Signed-off-by: Vu Hoan Huy <vuhoanhuy99@gmail.com>
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1499
Refactor Fetch running apps/services directly when required
In no-root mode, if android.permission.DUMP is not granted, App Manager will
use the ActivityManager to fetch running processes and services. For Android
Lollipop, this will return all running processes and services, and for Android
M and later, this will only return the processes and services under the UID
where App Manager is running (currently, this means that it will list App
Manager only).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fetch running apps/services directly when required
In no-root mode, if android.permission.DUMP is not granted, App Manager will
use the ActivityManager to fetch running processes and services. For Android
Lollipop, this will return all running processes and services, and for Android
M and later, this will only return the processes and services under the UID
where App Manager is running (currently, this means that it will list App
Manager only).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>