Skip to content

Commit 607db34

Browse files
committed
Doc adjustments Chainfire#5
1 parent 4e0f2f4 commit 607db34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

librootjava/src/main/java/eu/chainfire/librootjava/Reflection.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)