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

Commit 32ed1f99 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Remove fixed TODO (Settings)"

parents 38268b37 d669fee6
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -81,14 +81,6 @@ public class RestrictionUtils {

        for (RestrictionEntry entry : entries) {
            um.setUserRestriction(entry.getKey(), !entry.getSelectedState());

            // TODO This will no longer be needed once b/23902097 is fixed. um.setUserRestriction
            // should do it.
            if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION)
                    && !entry.getSelectedState()) {
                Secure.putIntForUser(context.getContentResolver(),
                        Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF, user.getIdentifier());
            }
        }
    }
}