mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-03 11:56:09 -04:00
Picks
Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
af57acc085
commit
b7ce879d83
18 changed files with 28 additions and 36 deletions
|
@ -10,10 +10,10 @@ in both callers of this method (both of which are "End session" buttons), making
|
|||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
|
||||
index 2b609d990737..5c86c830b106 100644
|
||||
index c1da90d85e42..76dabbb24868 100644
|
||||
--- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
|
||||
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
|
||||
@@ -11192,6 +11192,12 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
@@ -11182,6 +11182,12 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
Preconditions.checkCallAuthorization(canManageUsers(caller)
|
||||
|| hasCallingOrSelfPermission(permission.INTERACT_ACROSS_USERS));
|
||||
|
||||
|
|
|
@ -23,10 +23,10 @@ index 0c69067ab131..ef3213b68bfe 100644
|
|||
// one notification after enabling + one more after reboots
|
||||
static final int DEF_MAXIMUM_NETWORK_LOGGING_NOTIFICATIONS_SHOWN = 2;
|
||||
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
|
||||
index 7947078e261f..2b609d990737 100644
|
||||
index 313c4242f25e..c1da90d85e42 100644
|
||||
--- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
|
||||
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
|
||||
@@ -16132,11 +16132,11 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
@@ -16122,11 +16122,11 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
@Override
|
||||
public boolean isLogoutEnabled() {
|
||||
if (!mHasFeature) {
|
||||
|
|
|
@ -13,10 +13,10 @@ Change-Id: If891bfbcc144c9336ba013260bad2b7c7a59c054
|
|||
4 files changed, 47 insertions(+)
|
||||
|
||||
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
|
||||
index 4c80a5924eb9..726f5fc8d5f6 100644
|
||||
index 4578eecd7d45..a540c233b0e0 100644
|
||||
--- a/core/java/android/provider/Settings.java
|
||||
+++ b/core/java/android/provider/Settings.java
|
||||
@@ -17361,6 +17361,14 @@ public final class Settings {
|
||||
@@ -17368,6 +17368,14 @@ public final class Settings {
|
||||
public static final String REVIEW_PERMISSIONS_NOTIFICATION_STATE =
|
||||
"review_permissions_notification_state";
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@ Co-authored-by: Pratyush <codelab@pratyush.dev>
|
|||
create mode 100644 services/core/java/com/android/server/ext/BluetoothAutoOff.java
|
||||
|
||||
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
|
||||
index 463387531037..6692d09c17c4 100644
|
||||
index fca7ea0703e8..2f8fc0d12099 100644
|
||||
--- a/core/java/android/provider/Settings.java
|
||||
+++ b/core/java/android/provider/Settings.java
|
||||
@@ -17375,6 +17375,12 @@ public final class Settings {
|
||||
@@ -17382,6 +17382,12 @@ public final class Settings {
|
||||
*/
|
||||
public static final String WIFI_OFF_TIMEOUT = "wifi_off_timeout";
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@ Co-authored-by: Pratyush <codelab@pratyush.dev>
|
|||
create mode 100644 services/core/java/com/android/server/ext/WifiAutoOff.java
|
||||
|
||||
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
|
||||
index 726f5fc8d5f6..463387531037 100644
|
||||
index a540c233b0e0..fca7ea0703e8 100644
|
||||
--- a/core/java/android/provider/Settings.java
|
||||
+++ b/core/java/android/provider/Settings.java
|
||||
@@ -17369,6 +17369,12 @@ public final class Settings {
|
||||
@@ -17376,6 +17376,12 @@ public final class Settings {
|
||||
*/
|
||||
public static final String SETTINGS_REBOOT_AFTER_TIMEOUT = "settings_reboot_after_timeout";
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@ Change-Id: I5c31c319d198f09ace493e601278f8224a259f05
|
|||
3 files changed, 40 insertions(+)
|
||||
|
||||
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
|
||||
index 6692d09c17c4..cff4ec23b844 100644
|
||||
index 2f8fc0d12099..3241e6e3f0cb 100644
|
||||
--- a/core/java/android/provider/Settings.java
|
||||
+++ b/core/java/android/provider/Settings.java
|
||||
@@ -17369,6 +17369,15 @@ public final class Settings {
|
||||
@@ -17376,6 +17376,15 @@ public final class Settings {
|
||||
*/
|
||||
public static final String SETTINGS_REBOOT_AFTER_TIMEOUT = "settings_reboot_after_timeout";
|
||||
|
||||
|
|
|
@ -419,7 +419,7 @@ index 92d3956ea303..6ca5073dfa85 100644
|
|||
return;
|
||||
}
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/RotationLockTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/RotationLockTile.java
|
||||
index 8888c733c3c1..3c9aef445efe 100644
|
||||
index 093aba6fd2c9..246c16e7901f 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/RotationLockTile.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/RotationLockTile.java
|
||||
@@ -48,6 +48,7 @@ import com.android.systemui.qs.SettingObserver;
|
||||
|
@ -439,7 +439,7 @@ index 8888c733c3c1..3c9aef445efe 100644
|
|||
BatteryController.BatteryStateChangeCallback {
|
||||
|
||||
public static final String TILE_SPEC = "rotation";
|
||||
@@ -81,10 +82,11 @@ public class RotationLockTile extends QSTileImpl<BooleanState> implements
|
||||
@@ -84,10 +85,11 @@ public class RotationLockTile extends QSTileImpl<BooleanState> implements
|
||||
RotationLockController rotationLockController,
|
||||
SensorPrivacyManager privacyManager,
|
||||
BatteryController batteryController,
|
||||
|
@ -453,7 +453,7 @@ index 8888c733c3c1..3c9aef445efe 100644
|
|||
mController = rotationLockController;
|
||||
mController.observe(this, mCallback);
|
||||
mPrivacyManager = privacyManager;
|
||||
@@ -126,7 +128,11 @@ public class RotationLockTile extends QSTileImpl<BooleanState> implements
|
||||
@@ -129,7 +131,11 @@ public class RotationLockTile extends QSTileImpl<BooleanState> implements
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -14,10 +14,10 @@ Change-Id: Ic01c97d6ceac8d324609763973639b41b4581a76
|
|||
6 files changed, 56 deletions(-)
|
||||
|
||||
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
||||
index 44e8323..972ba36 100644
|
||||
index 35574d2..ea68c4f 100644
|
||||
--- a/AndroidManifest.xml
|
||||
+++ b/AndroidManifest.xml
|
||||
@@ -258,28 +258,6 @@
|
||||
@@ -269,28 +269,6 @@
|
||||
android:resource="@string/summary_empty" />
|
||||
</activity-alias>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue