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

Commit e531c540 authored by Daniel Sheng's avatar Daniel Sheng Committed by Android (Google) Code Review
Browse files

Merge "Added settings UI for camera lift trigger gesture"

parents 4cdc1d98 1721b802
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -3078,6 +3078,24 @@
            android:permission="android.permission.DUMP"
            android:enabled="@bool/config_has_help" />

        <!-- Activities for moves/gestures suggestions -->
        <activity
            android:name=".Settings$CameraLiftTriggerSuggestionActivity"
            android:label="@string/camera_lift_trigger_title"
            android:icon="@drawable/ic_settings_camera"
            android:enabled="@bool/config_cameraLiftTriggerAvailable">
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.settings.suggested.category.GESTURE" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.gestures.CameraLiftTriggerSettings"/>
            <meta-data android:name="com.android.settings.title"
                       android:resource="@string/camera_lift_trigger_title" />
            <meta-data android:name="com.android.settings.summary"
                       android:resource="@string/camera_lift_trigger_suggestion_summary" />
        </activity>

        <!-- This is the longest AndroidManifest.xml ever. -->
    </application>
</manifest>
+0 −0

Empty file added.

+0 −0

Empty file added.

+3 −0
Original line number Diff line number Diff line
@@ -99,4 +99,7 @@
        -->
    </string-array>

    <!-- Whether or not the camera lift trigger is available in the moves menu. -->
    <bool name="config_cameraLiftTriggerAvailable">false</bool>

</resources>
+9 −0
Original line number Diff line number Diff line
@@ -8413,6 +8413,15 @@
    <!-- Summary text for fingerprint swipe for notifications (device) [CHAR LIMIT=160]-->
    <string name="fingerprint_swipe_for_notifications_summary" product="device">To check your notifications, swipe down on the fingerprint sensor on the back of your device.</string>
    <!-- Title and settings suggestion title text for opening camera when lifting the phone to a photo-taking position [CHAR LIMIT=60]-->
    <string name="camera_lift_trigger_title">Lift to open camera</string>
    <!-- Summary text for opening camera when lifting the phone to a photo-taking position [CHAR LIMIT=none]-->
    <string name="camera_lift_trigger_summary">To open the camera automatically, lift up your phone into a photo-taking position (landscape or portrait). Works when your phone is asleep or locked.</string>
    <!-- Settings suggestion summary text for opening camera when lifting the phone to a photo-taking position [CHAR LIMIT=60]-->
    <string name="camera_lift_trigger_suggestion_summary">Never miss a moment</string>
    <!-- Title text for the assist gesture [CHAR LIMIT=60]-->
    <string name="assist_gesture_title">Assist gesture</string>
Loading