Loading apex/jobscheduler/framework/java/android/os/PowerExemptionManager.java +9 −1 Original line number Diff line number Diff line Loading @@ -427,6 +427,12 @@ public class PowerExemptionManager { */ public static final int REASON_PACKAGE_UNARCHIVE = 328; /** * Tile onClick event * @hide */ public static final int REASON_TILE_ONCLICK = 329; /** @hide The app requests out-out. */ public static final int REASON_OPT_OUT_REQUESTED = 1000; Loading Loading @@ -504,13 +510,15 @@ public class PowerExemptionManager { REASON_ROLE_EMERGENCY, REASON_SYSTEM_MODULE, REASON_CARRIER_PRIVILEGED_APP, REASON_OPT_OUT_REQUESTED, REASON_DPO_PROTECTED_APP, REASON_DISALLOW_APPS_CONTROL, REASON_ACTIVE_DEVICE_ADMIN, REASON_MEDIA_NOTIFICATION_TRANSFER, REASON_PACKAGE_INSTALLER, REASON_SYSTEM_EXEMPT_APP_OP, REASON_PACKAGE_UNARCHIVE, REASON_TILE_ONCLICK, REASON_OPT_OUT_REQUESTED, }) @Retention(RetentionPolicy.SOURCE) public @interface ReasonCode {} Loading apex/jobscheduler/framework/java/android/os/PowerWhitelistManager.java +5 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,11 @@ public class PowerWhitelistManager { * @hide */ public static final int REASON_SHELL = PowerExemptionManager.REASON_SHELL; /** * Tile onClick event * @hide */ public static final int REASON_TILE_ONCLICK = PowerExemptionManager.REASON_TILE_ONCLICK; /** * The list of BG-FGS-Launch and temp-allowlist reason code. Loading core/java/android/app/notification.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,13 @@ flag { bug: "299448097" } flag { name: "check_autogroup_before_post" namespace: "systemui" description: "Does a check to see if notification should be autogrouped before posting, and if so groups before post." bug: "330214226" } flag { name: "visit_risky_uris" namespace: "systemui" Loading core/res/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,7 @@ <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" /> <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" /> <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" /> <protected-broadcast android:name="android.bluetooth.device.action.KEY_MISSING" /> <protected-broadcast android:name="android.bluetooth.device.action.SDP_RECORD" /> <protected-broadcast android:name="android.bluetooth.device.action.BATTERY_LEVEL_CHANGED" /> <protected-broadcast android:name="android.bluetooth.device.action.REMOTE_ISSUE_OCCURRED" /> Loading core/res/res/drawable/ic_thread_network.xml 0 → 100644 +25 −0 Original line number Diff line number Diff line <!-- Copyright (C) 2024 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M476,880Q394,879 322,847.5Q250,816 196,761.5Q142,707 111,634.5Q80,562 80,480Q80,397 111.5,324Q143,251 197,197Q251,143 324,111.5Q397,80 480,80Q563,80 636,111.5Q709,143 763,197Q817,251 848.5,324Q880,397 880,480Q880,623 791.5,732.5Q703,842 563,871L563,480L607,480Q661,480 699.5,441.5Q738,403 738,349Q738,295 699.5,256.5Q661,218 607,218Q553,218 514.5,256.5Q476,295 476,349L476,393L345,393Q279,393 233,439Q187,485 187,551Q187,617 233,662.5Q279,708 345,708L345,621Q316,621 295,600.5Q274,580 274,551Q274,522 295,501Q316,480 345,480L476,480L476,880ZM563,393L563,349Q563,331 576,318Q589,305 607,305Q625,305 638,318Q651,331 651,349Q651,367 638,380Q625,393 607,393L563,393Z"/> </vector> Loading
apex/jobscheduler/framework/java/android/os/PowerExemptionManager.java +9 −1 Original line number Diff line number Diff line Loading @@ -427,6 +427,12 @@ public class PowerExemptionManager { */ public static final int REASON_PACKAGE_UNARCHIVE = 328; /** * Tile onClick event * @hide */ public static final int REASON_TILE_ONCLICK = 329; /** @hide The app requests out-out. */ public static final int REASON_OPT_OUT_REQUESTED = 1000; Loading Loading @@ -504,13 +510,15 @@ public class PowerExemptionManager { REASON_ROLE_EMERGENCY, REASON_SYSTEM_MODULE, REASON_CARRIER_PRIVILEGED_APP, REASON_OPT_OUT_REQUESTED, REASON_DPO_PROTECTED_APP, REASON_DISALLOW_APPS_CONTROL, REASON_ACTIVE_DEVICE_ADMIN, REASON_MEDIA_NOTIFICATION_TRANSFER, REASON_PACKAGE_INSTALLER, REASON_SYSTEM_EXEMPT_APP_OP, REASON_PACKAGE_UNARCHIVE, REASON_TILE_ONCLICK, REASON_OPT_OUT_REQUESTED, }) @Retention(RetentionPolicy.SOURCE) public @interface ReasonCode {} Loading
apex/jobscheduler/framework/java/android/os/PowerWhitelistManager.java +5 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,11 @@ public class PowerWhitelistManager { * @hide */ public static final int REASON_SHELL = PowerExemptionManager.REASON_SHELL; /** * Tile onClick event * @hide */ public static final int REASON_TILE_ONCLICK = PowerExemptionManager.REASON_TILE_ONCLICK; /** * The list of BG-FGS-Launch and temp-allowlist reason code. Loading
core/java/android/app/notification.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,13 @@ flag { bug: "299448097" } flag { name: "check_autogroup_before_post" namespace: "systemui" description: "Does a check to see if notification should be autogrouped before posting, and if so groups before post." bug: "330214226" } flag { name: "visit_risky_uris" namespace: "systemui" Loading
core/res/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,7 @@ <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" /> <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" /> <protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" /> <protected-broadcast android:name="android.bluetooth.device.action.KEY_MISSING" /> <protected-broadcast android:name="android.bluetooth.device.action.SDP_RECORD" /> <protected-broadcast android:name="android.bluetooth.device.action.BATTERY_LEVEL_CHANGED" /> <protected-broadcast android:name="android.bluetooth.device.action.REMOTE_ISSUE_OCCURRED" /> Loading
core/res/res/drawable/ic_thread_network.xml 0 → 100644 +25 −0 Original line number Diff line number Diff line <!-- Copyright (C) 2024 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M476,880Q394,879 322,847.5Q250,816 196,761.5Q142,707 111,634.5Q80,562 80,480Q80,397 111.5,324Q143,251 197,197Q251,143 324,111.5Q397,80 480,80Q563,80 636,111.5Q709,143 763,197Q817,251 848.5,324Q880,397 880,480Q880,623 791.5,732.5Q703,842 563,871L563,480L607,480Q661,480 699.5,441.5Q738,403 738,349Q738,295 699.5,256.5Q661,218 607,218Q553,218 514.5,256.5Q476,295 476,349L476,393L345,393Q279,393 233,439Q187,485 187,551Q187,617 233,662.5Q279,708 345,708L345,621Q316,621 295,600.5Q274,580 274,551Q274,522 295,501Q316,480 345,480L476,480L476,880ZM563,393L563,349Q563,331 576,318Q589,305 607,305Q625,305 638,318Q651,331 651,349Q651,367 638,380Q625,393 607,393L563,393Z"/> </vector>