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

Commit 8ae65aec authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Address comments for I059d80d8b9b9818a778ab685f4672ea2694def63

Bug: 13635952
Change-Id: I5d2bd44b3588621f26d94baab161e4e2444197a8
parent bd490ad5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -32,8 +32,7 @@ interface IKeyguardService {
    oneway void keyguardDone(boolean authenticated, boolean wakeup);

    /**
     * Hides the Keyguard when a window comes on top of the Keyguard with flag
     * FLAG_SHOW_ON_LOCK_SCREEN.
     * Hides the Keyguard when a window dismisses the Keyguard with flag FLAG_SHOW_ON_LOCK_SCREEN.
     *
     * @param isHidden Whether the Keyguard should be hidden.
     * @return See IKeyguardServiceConstants.KEYGUARD_SERVICE_HIDE_*. This is needed because
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ public abstract class BaseStatusBar extends SystemUI implements

            @Override
            public void onServiceDisconnected(ComponentName name) {

                mKeyguardService = null;
            }
        }, Context.BIND_AUTO_CREATE)) {
            throw new RuntimeException("Couldn't bind status bar keyguard.");
+2 −1
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.os.RemoteException;
import android.util.Slog;
import android.view.MotionEvent;

import com.android.internal.policy.IKeyguardServiceConstants;
import com.android.internal.policy.IKeyguardShowCallback;
import com.android.internal.policy.IKeyguardExitCallback;
import com.android.internal.policy.IKeyguardService;
@@ -105,7 +106,7 @@ public class KeyguardServiceWrapper implements IKeyguardService {
            return mService.setHidden(isHidden);
        } catch (RemoteException e) {
            Slog.w(TAG , "Remote Exception", e);
            return 0;
            return IKeyguardServiceConstants.KEYGUARD_SERVICE_HIDE_RESULT_NONE;
        }
    }