From 9f0119b752e3cc4e0d8b72f9a6e1d2b831e07924 Mon Sep 17 00:00:00 2001 From: Arc Wang Date: Wed, 18 Aug 2021 20:40:32 +0800 Subject: [PATCH] Add the permissions for Settings deep link android.permission.ALLOW_TWO_PANE_DEEP_LINK_IN_SETTINGS: The permission allows system or preinstalled APP to show its Activity in split mode of Settings app for large screen devices. android.permission.START_ACTIVITY_IN_SETTINGS_TWO_PANE: The permission for Activity to controll only Settings app can start it if it's expected to deep link into Settings app and shown as 2-pane. Bug: 197048599 Test: build pass Change-Id: I018fc0e8447f795637f911445ab01afabdeb0b4c --- core/api/current.txt | 1 + core/api/system-current.txt | 1 + core/res/AndroidManifest.xml | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/core/api/current.txt b/core/api/current.txt index 784450ef18505..4e8faf59dd0cd 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -99,6 +99,7 @@ package android { field public static final String INTERACT_ACROSS_PROFILES = "android.permission.INTERACT_ACROSS_PROFILES"; field public static final String INTERNET = "android.permission.INTERNET"; field public static final String KILL_BACKGROUND_PROCESSES = "android.permission.KILL_BACKGROUND_PROCESSES"; + field public static final String LAUNCH_TWO_PANE_SETTINGS_DEEP_LINK = "android.permission.LAUNCH_TWO_PANE_SETTINGS_DEEP_LINK"; field public static final String LOADER_USAGE_STATS = "android.permission.LOADER_USAGE_STATS"; field public static final String LOCATION_HARDWARE = "android.permission.LOCATION_HARDWARE"; field public static final String MANAGE_DOCUMENTS = "android.permission.MANAGE_DOCUMENTS"; diff --git a/core/api/system-current.txt b/core/api/system-current.txt index e5008b493cebc..55feb9e2d0cec 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -26,6 +26,7 @@ package android { field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY"; field public static final String ALLOCATE_AGGRESSIVE = "android.permission.ALLOCATE_AGGRESSIVE"; field public static final String ALLOW_ANY_CODEC_FOR_PLAYBACK = "android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"; + field public static final String ALLOW_PLACE_IN_TWO_PANE_SETTINGS = "android.permission.ALLOW_PLACE_IN_TWO_PANE_SETTINGS"; field public static final String AMBIENT_WALLPAPER = "android.permission.AMBIENT_WALLPAPER"; field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS"; field public static final String ASSOCIATE_COMPANION_DEVICES = "android.permission.ASSOCIATE_COMPANION_DEVICES"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 17044523cf083..e53d379ea92ad 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -4862,6 +4862,18 @@ + + + + + +