| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4e0f2f4 commit 607db34
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -73,10 +73,8 @@ static Context getSystemContext() { | |||
| 73 | 73 | @SuppressLint("PrivateApi") | |
| 74 | 74 | @SuppressWarnings({"JavaReflectionMemberAccess"}) | |
| 75 | 75 | 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 | ||
| 80 | 78 | ||
| 81 | 79 | synchronized (lock) { | |
| 82 | 80 | if (oActivityManager != null) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments