Merge "Remove package title from notification access confirmation intent" into tm-dev am: 75577e9421 am: a57a8cc9fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18151122 Change-Id: I6fff009aeb50d409dc240ded3c41567ae6b0e906 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -28,18 +28,15 @@ import com.android.internal.R;
|
||||
public final class NotificationAccessConfirmationActivityContract {
|
||||
public static final String EXTRA_USER_ID = "user_id";
|
||||
public static final String EXTRA_COMPONENT_NAME = "component_name";
|
||||
public static final String EXTRA_PACKAGE_TITLE = "package_title";
|
||||
|
||||
/**
|
||||
* Creates a launcher intent for NotificationAccessConfirmationActivity.
|
||||
*/
|
||||
public static Intent launcherIntent(Context context, int userId, ComponentName component,
|
||||
String packageTitle) {
|
||||
public static Intent launcherIntent(Context context, int userId, ComponentName component) {
|
||||
return new Intent()
|
||||
.setComponent(ComponentName.unflattenFromString(context.getString(
|
||||
R.string.config_notificationAccessConfirmationActivity)))
|
||||
.putExtra(EXTRA_USER_ID, userId)
|
||||
.putExtra(EXTRA_COMPONENT_NAME, component)
|
||||
.putExtra(EXTRA_PACKAGE_TITLE, packageTitle);
|
||||
.putExtra(EXTRA_COMPONENT_NAME, component);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user