From 7c9c3bc9c2d3f98ff839f73dc76750dc23693eae Mon Sep 17 00:00:00 2001 From: Andres Morales Date: Thu, 16 Apr 2015 15:57:17 -0700 Subject: Implement clear SID API Change-Id: I4ada55674edff32d3e39d460070e03abbf847359 --- gatekeeperd/IGateKeeperService.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gatekeeperd/IGateKeeperService.cpp') diff --git a/gatekeeperd/IGateKeeperService.cpp b/gatekeeperd/IGateKeeperService.cpp index d4ed53377..f5bbbf1f2 100644 --- a/gatekeeperd/IGateKeeperService.cpp +++ b/gatekeeperd/IGateKeeperService.cpp @@ -123,6 +123,13 @@ status_t BnGateKeeperService::onTransact( reply->writeInt64(sid); return NO_ERROR; } + case CLEAR_SECURE_USER_ID: { + CHECK_INTERFACE(IGateKeeperService, data, reply); + uint32_t uid = data.readInt32(); + clearSecureUserId(uid); + reply->writeNoException(); + return NO_ERROR; + } default: return BBinder::onTransact(code, data, reply, flags); } -- cgit v1.2.3-54-g00ecf