26 lines
1.3 KiB
Diff
26 lines
1.3 KiB
Diff
![]() |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Micay <danielmicay@gmail.com>
|
||
|
Date: Sun, 17 Oct 2021 22:53:22 -0400
|
||
|
Subject: [PATCH] SystemUI: Use new privacy indicators for location
|
||
|
|
||
|
Android has had location indicators for a while, but let's use the new
|
||
|
privacy indicator infrastructure for displaying them. This makes them
|
||
|
integrate better with the new camera and microphone indicators.
|
||
|
---
|
||
|
.../permission/ui/handheld/dashboard/Utils.kt | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/Utils.kt b/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/Utils.kt
|
||
|
index 29fa50ae3..72cb2eb2f 100644
|
||
|
--- a/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/Utils.kt
|
||
|
+++ b/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/Utils.kt
|
||
|
@@ -91,7 +91,7 @@ fun shouldShowCameraMicIndicators(): Boolean {
|
||
|
*/
|
||
|
fun isLocationIndicatorsFlagEnabled(): Boolean {
|
||
|
return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY,
|
||
|
- PROPERTY_LOCATION_INDICATORS_ENABLED, false)
|
||
|
+ PROPERTY_LOCATION_INDICATORS_ENABLED, true)
|
||
|
}
|
||
|
|
||
|
/**
|