File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
librootjava/src/main/java/eu/chainfire/librootjava Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,8 @@ static Context getSystemContext() {
7373 @ SuppressLint ("PrivateApi" )
7474 @ SuppressWarnings ({"JavaReflectionMemberAccess" })
7575 private static Object getActivityManager () {
76- // We could possibly cast this to ActivityManager instead of Object, but we don't currently
77- // need that for our usage, and it would require retesting everything. Maybe ActivityManager
78- // is even wrong and it should be ActivityManagerService, for which we don't have the class
79- // definition anyway. TODO: investigate further.
76+ // Return object is AIDL interface IActivityManager, not an ActivityManager or
77+ // ActivityManagerService
8078
8179 synchronized (lock ) {
8280 if (oActivityManager != null ) {
You can’t perform that action at this time.
0 commit comments