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

Commit 0620b6bb authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

Generate screenshot intent from global actions menu

Add a new option to the global actions for screenshots, which
simply generates the android.intent.action.SCREENSHOT broadcast
intent.

There needs to be an app (like CMScreenshot) listening for that
intent for something to happen.

Change-Id: Ieeb9f91bae12a2804c6f417932175d03e62a31d7
parent 88e7d7f7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
    <protected-broadcast android:name="android.intent.action.REBOOT" />
    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
    <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
    <protected-broadcast android:name="android.intent.action.SCREENSHOT" />

    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
+1.9 KiB
Loading image diff...
+968 B
Loading image diff...
+1.29 KiB
Loading image diff...
+3 −0
Original line number Diff line number Diff line
@@ -355,6 +355,9 @@
    <!-- status message in phone options dialog for when airplane mode is off -->
    <string name="global_actions_airplane_mode_off_status">Airplane mode is OFF</string>

    <!-- label for item that screenshots in phone options dialog -->
    <string name="global_action_screenshot">Screenshot</string>

    <!-- Displayed to the user to tell them that they have started up the phone in "safe mode" -->
    <string name="safeMode">Safe mode</string>

Loading