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

Commit 002a3fec authored by Chih-Chung Chang's avatar Chih-Chung Chang
Browse files

Fix 5686493: Crash when try to click any thumbnail

Change-Id: Ia109333c3a207ca2a60889c2731f6c11737b5592
parent 45fa6771
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -127,8 +127,10 @@ abstract public class ActivityState {
    }

    protected void onPause() {
        if (0 != (mFlags & FLAG_SCREEN_ON)) {
            ((Activity) mActivity).unregisterReceiver(mPowerIntentReceiver);
        }
    }

    // should only be called by StateManager
    void resume() {