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

Commit d940c86d authored by Suprabh Shukla's avatar Suprabh Shukla Committed by android-build-merger
Browse files

Merge \"Disallowing bluetooth config for demo users\" into nyc-mr1-dev

am: 0ce03e77

Change-Id: I89d396d0450c241fc1314cd8320ed2c6d02b9823
parents a74fce83 0ce03e77
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -328,6 +328,7 @@ public class RetailDemoModeService extends SystemService {
        um.setUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS, true, user);
        um.setUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER, true, user);
        um.setUserRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS, true, user);
        um.setUserRestriction(UserManager.DISALLOW_CONFIG_BLUETOOTH, true, user);
        Settings.Secure.putIntForUser(getContext().getContentResolver(),
                Settings.Secure.SKIP_FIRST_USE_HINTS, 1, userInfo.id);
        Settings.Secure.putIntForUser(getContext().getContentResolver(),