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

Commit 895504e5 authored by Paul Lawrence's avatar Paul Lawrence
Browse files

Don't enforce this API - it's not sensitive

Also it breaks device manager

b/28512889

Change-Id: I0006461c6a76bc1b7d19f9b07bec35b6807a4f96
parent 4569e951
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -2648,9 +2648,6 @@ class MountService extends IMountService.Stub
     */
     */
    @Override
    @Override
    public int getPasswordType() {
    public int getPasswordType() {
        mContext.enforceCallingOrSelfPermission(Manifest.permission.STORAGE_INTERNAL,
            "no permission to access the crypt keeper");

        waitForReady();
        waitForReady();


        final NativeDaemonEvent event;
        final NativeDaemonEvent event;