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

Commit 15f83c6f authored by Yorke Lee's avatar Yorke Lee
Browse files

Disable call log for users with DISALLOW_OUTGOING_CALLS restriction

Bug: 16217514
Change-Id: Iacd5699d0a540ca0e5a678662379bf8c611f7462
parent 3c3f601c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -451,8 +451,8 @@ public class AppOpsManager {
            null, //VIBRATE
            null, //READ_CONTACTS
            null, //WRITE_CONTACTS
            null, //READ_CALL_LOG
            null, //WRITE_CALL_LOG
            UserManager.DISALLOW_OUTGOING_CALLS, //READ_CALL_LOG
            UserManager.DISALLOW_OUTGOING_CALLS, //WRITE_CALL_LOG
            null, //READ_CALENDAR
            null, //WRITE_CALENDAR
            UserManager.DISALLOW_SHARE_LOCATION, //WIFI_SCAN