Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c021972 authored by Eric Biggers's avatar Eric Biggers
Browse files

Don't clear calling identity before setCeStorageProtection()

Now that http://ag/34834390 has moved
IStorageManager#setCeStorageProtection() to
StorageManagerInternal#setCeStorageProtection(), it no longer requires
the STORAGE_INTERNAL permission.  Therefore, it is no longer necessary
for LockSettingsService#setCeStorageProtection() to clear and restore
the calling identity.

(It may have been unnecessary even before that CL, since the callers of
LockSettingsService#setCeStorageProtection() should have already had a
cleared calling identity anyway.)

Bug: 434738842
Flag: EXEMPT refactor
Test: atest FrameworksServicesTests:com.android.server.locksettings
Change-Id: I5ad7fb8ef5f84cc67a2bd8b49d4124d57f8f6b97
parent 431671f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment