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

Commit 222ab654 authored by Matt Pietal's avatar Matt Pietal
Browse files

Capture and log remote exception

Fixes: 388513142
Test: N/A
Flag: EXEMPT bugfix
Change-Id: Id1a10a7e3eaa9963dd72482d5223b474868a674d
parent d1c374c9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.systemui.keyguard

import android.app.IActivityTaskManager
import android.os.RemoteException
import android.util.Log
import android.view.IRemoteAnimationFinishedCallback
import android.view.RemoteAnimationTarget
@@ -265,7 +266,11 @@ constructor(
        if (enableNewKeyguardShellTransitions) {
            startKeyguardTransition(lockscreenShowing, aodVisible)
        } else {
            try {
                activityTaskManagerService.setLockScreenShown(lockscreenShowing, aodVisible)
            } catch (e: RemoteException) {
                Log.e(TAG, "Remote exception", e)
            }
        }
        this.isLockscreenShowing = lockscreenShowing
        this.isAodVisible = aodVisible