summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Roos2017-04-12 15:03:04 -0500
committerAdrian Roos2017-04-18 15:50:52 -0500
commitcb4ed1bdb917cf608ce51aba882be9766e5a4b9c (patch)
tree80b85285ded97ddd10609f1f9dffbbc5e888fc43 /gatekeeperd/IGateKeeperService.cpp
parent7afd4cdf82018716c9696832afa86e76a82bc1ad (diff)
downloadplatform-system-core-cb4ed1bdb917cf608ce51aba882be9766e5a4b9c.tar.gz
platform-system-core-cb4ed1bdb917cf608ce51aba882be9766e5a4b9c.tar.xz
platform-system-core-cb4ed1bdb917cf608ce51aba882be9766e5a4b9c.zip
Credential FRP: keep gatekeeperd credentials after reset
Gatekeeperd now delays clearing all user credentials until the device setup is complete or we enroll a new credential (whichever comes first). Bug: 36814845 Test: Set lockscreen credential, "adb reboot-bootloader && fastboot -w", "adb shell am start -a android.app.action.CONFIRM_FRP_CREDENTIAL", verify that credential still works Change-Id: If2ad78ff5b80a6ddffd997be0949b03ed11797f4
Diffstat (limited to 'gatekeeperd/IGateKeeperService.cpp')
-rw-r--r--gatekeeperd/IGateKeeperService.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gatekeeperd/IGateKeeperService.cpp b/gatekeeperd/IGateKeeperService.cpp
index 95fbfd10b..1c339f4c8 100644
--- a/gatekeeperd/IGateKeeperService.cpp
+++ b/gatekeeperd/IGateKeeperService.cpp
@@ -158,6 +158,12 @@ status_t BnGateKeeperService::onTransact(
158 reply->writeNoException(); 158 reply->writeNoException();
159 return NO_ERROR; 159 return NO_ERROR;
160 } 160 }
161 case REPORT_DEVICE_SETUP_COMPLETE: {
162 CHECK_INTERFACE(IGateKeeperService, data, reply);
163 reportDeviceSetupComplete();
164 reply->writeNoException();
165 return NO_ERROR;
166 }
161 default: 167 default:
162 return BBinder::onTransact(code, data, reply, flags); 168 return BBinder::onTransact(code, data, reply, flags);
163 } 169 }