-
- All Implemented Interfaces:
-
android.os.Handler.Callback
@RestrictTo(value = RestrictTo.Scope.LIBRARY) public class RootServiceManager implements Handler.Callback
Runs in the non-root (client) process. Starts the root process and manages connections with the remote process.
-
-
Method Summary
Modifier and Type Method Description static RootServiceManagergetInstance()Shell.TaskcreateBindTask(Intent intent, Executor executor, ServiceConnection conn)voidunbind(@NonNull() ServiceConnection conn)Shell.TaskcreateStopTask(Intent intent)booleanhandleMessage(@NonNull() Message msg)-
-
Method Detail
-
getInstance
static RootServiceManager getInstance()
-
createBindTask
Shell.Task createBindTask(Intent intent, Executor executor, ServiceConnection conn)
-
unbind
void unbind(@NonNull() ServiceConnection conn)
-
createStopTask
Shell.Task createStopTask(Intent intent)
-
handleMessage
boolean handleMessage(@NonNull() Message msg)
-
-
-
-