diff options
author | Andres Morales | 2015-04-16 17:57:17 -0500 |
---|---|---|
committer | Andres Morales | 2015-04-16 17:57:17 -0500 |
commit | 7c9c3bc9c2d3f98ff839f73dc76750dc23693eae (patch) | |
tree | 4f243ac382dd3eef1780b36542dd184e05e604be /gatekeeperd/IGateKeeperService.cpp | |
parent | 6a49c2fa4371cad600f4a96da3d1644df862d2a5 (diff) | |
download | platform-system-core-7c9c3bc9c2d3f98ff839f73dc76750dc23693eae.tar.gz platform-system-core-7c9c3bc9c2d3f98ff839f73dc76750dc23693eae.tar.xz platform-system-core-7c9c3bc9c2d3f98ff839f73dc76750dc23693eae.zip |
Implement clear SID API
Change-Id: I4ada55674edff32d3e39d460070e03abbf847359
Diffstat (limited to 'gatekeeperd/IGateKeeperService.cpp')
-rw-r--r-- | gatekeeperd/IGateKeeperService.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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( | |||
123 | reply->writeInt64(sid); | 123 | reply->writeInt64(sid); |
124 | return NO_ERROR; | 124 | return NO_ERROR; |
125 | } | 125 | } |
126 | case CLEAR_SECURE_USER_ID: { | ||
127 | CHECK_INTERFACE(IGateKeeperService, data, reply); | ||
128 | uint32_t uid = data.readInt32(); | ||
129 | clearSecureUserId(uid); | ||
130 | reply->writeNoException(); | ||
131 | return NO_ERROR; | ||
132 | } | ||
126 | default: | 133 | default: |
127 | return BBinder::onTransact(code, data, reply, flags); | 134 | return BBinder::onTransact(code, data, reply, flags); |
128 | } | 135 | } |