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

Commit d669fee6 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Remove fixed TODO (Settings)

Change-Id: Ia4477acffb6209e5d3103367e69dbc789399cd9e
parent 13c52fa8
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());
            }
        }
    }
}