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

Commit 12864310 authored by Srinivas Visvanathan's avatar Srinivas Visvanathan Committed by Android (Google) Code Review
Browse files

Merge "Defining new role for Car Projection app"

parents 499a31f1 e096499c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -572,6 +572,8 @@
    <string name="role_label_assistant">Assist app</string>
    <!-- Label for the temporary workaround to give any app SMS access. [CHAR LIMIT=unlimited] -->
    <string name="role_label_temporary_sms_access" translatable="false">WON\'T BE RELEASED: SMS access app</string>
    <!-- Label for the car projection role. [CHAR LIMIT=30] -->
    <string name="role_label_car_projection">Car Projection app</string>

    <!-- Dialog body explaining that the app just selected by the user will not work after a reboot until the user enters their credentials, such as a PIN or password. [CHAR LIMIT=NONE] -->
    <string name="encryption_unaware_confirmation_message">Note: If you restart your device and have a screen lock set, this app can\u2019t start until you unlock your device.</string>
+19 −0
Original line number Diff line number Diff line
@@ -488,4 +488,23 @@
            <permission-set name="sms" />
        </permissions>
    </role>

    <role
        name="android.app.role.CAR_PROJECTION"
        exclusive="true"
        label="@string/role_label_car_projection">
        <required-components>
            <activity>
              <intent-filter>
                  <action name="android.intent.action.MAIN" />
                  <category name="android.intent.category.CAR_PROJECTION" />
              </intent-filter>
            </activity>
        </required-components>
        <permissions>
            <permission name="android.permission.READ_CALL_LOG" />
            <permission name="android.permission.SEND_SMS" />
            <permission name="android.permission.RECEIVE_SMS" />
        </permissions>
    </role>
</roles>