mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Update host-lifecycle documentation
This commit is contained in:
@@ -67,7 +67,7 @@ loadApp(name = "com.example.demo") {
|
|||||||
registerReceiver(Intent.ACTION_USER_PRESENT) { context, intent ->
|
registerReceiver(Intent.ACTION_USER_PRESENT) { context, intent ->
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
// 注册多个广播监听 - 会同时回调多次
|
// 注册多个广播监听,会同时回调多次
|
||||||
registerReceiver(Intent.ACTION_PACKAGE_CHANGED, Intent.ACTION_TIME_TICK) { context, intent ->
|
registerReceiver(Intent.ACTION_PACKAGE_CHANGED, Intent.ACTION_TIME_TICK) { context, intent ->
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user