Merge "Use userContext instead of context" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
0aa7850791
@@ -13143,7 +13143,7 @@ Data usage charges may apply.</string>
|
||||
<string name="page_agnostic_notification_action">Read more</string>
|
||||
|
||||
<string name= "enable_16k_app_compat_title">Run app with page size compat mode</string>
|
||||
<string name= "enable_16k_app_compat_details">App will be forced stopped and run in page size compatibility mode on 16 KB device when toggled.</string>
|
||||
<string name= "enable_16k_app_compat_details">App will be stopped and run in page size compatibility mode on 16 KB device when toggled.</string>
|
||||
|
||||
<string name="stop_app_dlg_title">Stop app?</string>
|
||||
<!-- [CHAR LIMIT=200] Manage applications, text for dialog when killing persistent apps-->
|
||||
|
@@ -190,7 +190,7 @@ class PackageInfoPresenter(
|
||||
requireAuthAndExecute {
|
||||
coroutineScope.launch(Dispatchers.Default) {
|
||||
Log.d(TAG, "Stopping package $packageName for user")
|
||||
context.activityManager.stopPackageForUser(packageName)
|
||||
userContext.activityManager.stopPackageForUser(packageName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user