Merge "Resolving a TODO in AppWidgetService" into rvc-dev

This commit is contained in:
Suprabh Shukla
2020-02-26 07:25:36 +00:00
committed by Android (Google) Code Review

View File

@@ -641,8 +641,8 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
final SuspendDialogInfo dialogInfo = final SuspendDialogInfo dialogInfo =
mPackageManagerInternal.getSuspendedDialogInfo(providerPackage, mPackageManagerInternal.getSuspendedDialogInfo(providerPackage,
suspendingPackage, providerUserId); suspendingPackage, providerUserId);
// TODO(b/148035643): Send the original widget intent or ACTION_MAIN as an // onUnsuspend is null because we don't want to start any activity on
// IntentSender to SuspendedAppActivity. // unsuspending from a suspended widget.
onClickIntent = SuspendedAppActivity.createSuspendedAppInterceptIntent( onClickIntent = SuspendedAppActivity.createSuspendedAppInterceptIntent(
providerPackage, suspendingPackage, dialogInfo, null, null, providerPackage, suspendingPackage, dialogInfo, null, null,
providerUserId); providerUserId);