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

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

Merge \\"Disabling account modification on demo users\\" into nyc-mr1-dev am: c7b1d74a

am: 7468a23e

Change-Id: Ic67fa3b042b5a72f11ce9b37a1c12babfbbe77bb
parents 664e6d18 7468a23e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -247,6 +247,7 @@ public class RetailDemoModeService extends SystemService {
        um.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true, user);
        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);
        Settings.Secure.putIntForUser(getContext().getContentResolver(),
                Settings.Secure.SKIP_FIRST_USE_HINTS, 1, userInfo.id);
    }