Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 639e73db authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Allow system to bypass DISALLOW_SHARE_LOCATION restriction

This is required for Bluetooth to work in Settings for restricted profiles
with DISALLOW_SHARE_LOCATION  restriction set.

Bug: 23727276
Change-Id: I9aba7ce011ae856526fabd89c13ea9dd11f9a442
parent 0601a1c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -704,8 +704,8 @@ public class AppOpsManager {
     * (and system ui) to bypass the user restriction when active.
     */
    private static boolean[] sOpAllowSystemRestrictionBypass = new boolean[] {
            false, //COARSE_LOCATION
            false, //FINE_LOCATION
            true, //COARSE_LOCATION
            true, //FINE_LOCATION
            false, //GPS
            false, //VIBRATE
            false, //READ_CONTACTS