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

Commit 417f074d authored by ztenghui's avatar ztenghui
Browse files

Play the video on top of lock screen

bug:10342963

Change-Id: I8093d877d4d491b83b58b062e61edf6d352bf114
parent b178c195
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ public class MovieActivity extends Activity {
        WindowManager.LayoutParams winParams = win.getAttributes();
        winParams.buttonBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_OFF;
        winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
        winParams.flags |= WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
        win.setAttributes(winParams);

        // We set the background in the theme to have the launching animation.