From 6f7d870b56c43e213f1b2a8725ed1b4b123115c0 Mon Sep 17 00:00:00 2001 From: Arc Wang Date: Fri, 24 Sep 2021 13:50:16 +0800 Subject: Remove Settings#EXTRA_SETTINGS_LARGE_SCREEN_DEEP_LINK_PENDING_INTENT For the Intent ACTION_SETTINGS_LARGE_SCREEN_DEEP_LINK, EXTRA_SETTINGS_LARGE_SCREEN_DEEP_LINK_PENDING_INTENT is for partner apps to tell target Activity the private Activity to start. However, developers feedback that customization extra data are preferred, so a later CL supports customized extra data for ACTION_SETTINGS_LARGE_SCREEN_DEEP_LINK. Developers will not need EXTRA_SETTINGS_LARGE_SCREEN_DEEP_LINK_PENDING_INTENT to specify a private Activity. Bug: 197048599 Test: build pass Change-Id: Icc949b897ff36755004cc34b31caf5b06974bfae --- core/java/android/provider/Settings.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'core/java/android/provider/Settings.java') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 1bdfdc211062..ac8db5c4c207 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -35,7 +35,6 @@ import android.app.Application; import android.app.AutomaticZenRule; import android.app.NotificationChannel; import android.app.NotificationManager; -import android.app.PendingIntent; import android.app.SearchManager; import android.app.WallpaperManager; import android.compat.annotation.UnsupportedAppUsage; @@ -16961,9 +16960,6 @@ public final class Settings { * * Input: {@link #EXTRA_SETTINGS_LARGE_SCREEN_HIGHLIGHT_MENU_KEY} must be included to * specify a key that indicates the menu item which will be highlighted on settings home menu. - * - * Input: {@link #EXTRA_SETTINGS_LARGE_SCREEN_DEEP_LINK_PENDING_INTENT} is optional. Apps - * can use the {@link PendingIntent} extra to launch into its private {@link Activity}. *

* Output: Nothing. */ @@ -16990,15 +16986,6 @@ public final class Settings { public static final String EXTRA_SETTINGS_LARGE_SCREEN_HIGHLIGHT_MENU_KEY = "android.provider.extra.SETTINGS_LARGE_SCREEN_HIGHLIGHT_MENU_KEY"; - /** - * Activity Extra: Apps can use the {@link PendingIntent} extra to launch into its private - * {@link Activity}. - *

- * This is an optional extra field to {@link #ACTION_SETTINGS_LARGE_SCREEN_DEEP_LINK}. - */ - public static final String EXTRA_SETTINGS_LARGE_SCREEN_DEEP_LINK_PENDING_INTENT = - "android.provider.extra.SETTINGS_LARGE_SCREEN_DEEP_LINK_PENDING_INTENT"; - /** * Performs a strict and comprehensive check of whether a calling package is allowed to * write/modify system settings, as the condition differs for pre-M, M+, and -- cgit v1.2.3