Use Settings instead of DeviceConfig to relax device ID dev option
The 'Disable device identifier restrictions' developer option currently uses DeviceConfig to set whether the new access restrictions should be disabled. However this API now requires the WRITE_DEVICE_CONFIG permission and should only be used from the server side. This change modifies the developer option to use the Settings to relax the device identifier check, and the option will be hidden if the new restrictions have been disabled from the server. Bug: 129888611 Test: Manually verified device ID check was relaxed with option enabled. Also verified option is not displayed if DeiviceConfig option is set. Change-Id: Id8759f2219e702c1f93a638d45ac99bce685383b (cherry picked from commit 60c80bb2)
Loading
Please register or sign in to comment