| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,9 @@ class Reflection { | |||
| 23 | 23 | private static Context systemContext = null; | |
| 24 | 24 | ||
| 25 | 25 | /** | |
| 26 | - * Stability: unlikely to change, this implementation works from 1.6 through 9.0 | ||
| 26 | + * Retrieve system context<br> | ||
| 27 | + * <br> | ||
| 28 | + * Stability: unlikely to change, this implementation works from 1.6 through 9.0<br> | ||
| 27 | 29 | * | |
| 28 | 30 | * @see RootJava#getSystemContext() | |
| 29 | 31 | * | |
@@ -66,7 +68,9 @@ static Context getSystemContext() { | |||
| 66 | 68 | private static Object oActivityManager = null; | |
| 67 | 69 | ||
| 68 | 70 | /** | |
| 69 | - * Retrieve ActivityManager instance without needing a context | ||
| 71 | + * Retrieve ActivityManager instance without needing a context<br> | ||
| 72 | + * <br> | ||
| 73 | + * Stability: has changed before, might change again, rare | ||
| 70 | 74 | * | |
| 71 | 75 | * @return ActivityManager | |
| 72 | 76 | */ | |
@@ -108,7 +112,9 @@ private static Object getActivityManager() { | |||
| 108 | 112 | private static Integer FLAG_RECEIVER_FROM_SHELL = null; | |
| 109 | 113 | ||
| 110 | 114 | /** | |
| 111 | - * Retrieve value of Intent.FLAG_RECEIVER_FROM_SHELL, if it exists | ||
| 115 | + * Retrieve value of Intent.FLAG_RECEIVER_FROM_SHELL, if it exists<br> | ||
| 116 | + * <br> | ||
| 117 | + * Stability: stable, even if the flag goes away again this is unlikely to affect things | ||
| 112 | 118 | * | |
| 113 | 119 | * @return FLAG_RECEIVER_FROM_SHELL or 0 | |
| 114 | 120 | */ | |
@@ -167,8 +173,10 @@ private static Method getBroadcastIntent(Class<?> cActivityManager) { | |||
| 167 | 173 | } | |
| 168 | 174 | ||
| 169 | 175 | /** | |
| 170 | - * Stability: the implementation for this will definitely change over time | ||
| 171 | - * | ||
| 176 | + * Broadcast intent<br> | ||
| 177 | + * <br> | ||
| 178 | + * Stability: the implementation for this will definitely change over time<br> | ||
| 179 | + * <br> | ||
| 172 | 180 | * This implementation does not require us to have a context | |
| 173 | 181 | * | |
| 174 | 182 | * @see RootJava#sendBroadcast(Intent) | |
@@ -203,6 +211,11 @@ static void sendBroadcast(Intent intent) { | |||
| 203 | 211 | throw new RuntimeException("librootjava: unable to send broadcast"); | |
| 204 | 212 | } | |
| 205 | 213 | ||
| 214 | + /** | ||
| 215 | + * Internal class to retrieve an interface from a Binder (Proxy) | ||
| 216 | + * | ||
| 217 | + * @param <T> Interface | ||
| 218 | + */ | ||
| 206 | 219 | @SuppressWarnings("unchecked") | |
| 207 | 220 | static class InterfaceRetriever<T> { | |
| 208 | 221 | /** | |
| Back | FazBrowse Home | New Git URL |
0 commit comments