* Check if FRP policy is supported before erasing a device via settings. * Call DPM TestAPI isFactoryResetProtectionPolicySupported * If FRP policy is not supported, then do not erase the device. Bug: 155057616 Test: atest com.android.settings.MasterClearConfirmTest Change-Id: I56e4a6566457f31932658188646abe21701637fc
11 KiB
11 KiB