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

Commit b11175de authored by Svet Ganov's avatar Svet Ganov
Browse files

Properly label the permission request activity for accessibility

bug:22129341

Change-Id: Ic296e44419388aff5d8b8e03c5c800364b44e44b
parent 57b5d43f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -264,4 +264,7 @@
   <!-- [CHAR LIMIT=45] Group of permissions granted to app automatically when installed. -->
   <string name="other_permissions">Other app capabilities</string>

   <!-- Title of the permission dialog for accessibility purposes- spoken to the user. [CHAR LIMIT=none] -->
   <string name="permission_request_title">Permission request</string>

</resources>
+2 −0
Original line number Diff line number Diff line
@@ -71,6 +71,8 @@ public class GrantPermissionsActivity extends Activity
        super.onCreate(icicle);
        setFinishOnTouchOutside(false);

        setTitle(R.string.permission_request_title);

        int uiMode = getResources().getConfiguration().uiMode & UI_MODE_TYPE_MASK;
        if (uiMode == UI_MODE_TYPE_TELEVISION) {
            mViewHandler = new GrantPermissionsTvViewHandler(this).setResultListener(this);