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

Commit 1f73cac8 authored by Ronish Kalia's avatar Ronish Kalia Committed by Android (Google) Code Review
Browse files

Merge "Update scanner strings as per UXR reviews" into tm-dev

parents 81aa343c fd22e97a
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1193,10 +1193,7 @@
    <string name="wallet_lockscreen_settings_label">Lock screen settings</string>

    <!-- QR Code Scanner label, title [CHAR LIMIT=32] -->
    <string name="qr_code_scanner_title">QR code</string>

    <!-- QR Code Scanner description [CHAR LIMIT=NONE] -->
    <string name="qr_code_scanner_description">Tap to scan</string>
    <string name="qr_code_scanner_title">Scan QR code</string>

    <!-- Name of the work status bar icon. -->
    <string name="status_bar_work">Work profile</string>
+0 −1
Original line number Diff line number Diff line
@@ -117,7 +117,6 @@ public class QRCodeScannerTile extends QSTileImpl<QSTile.State> {
        state.icon = ResourceIcon.get(R.drawable.ic_qr_code_scanner);
        state.state = mQRCodeScannerController.isEnabledForQuickSettings() ? Tile.STATE_ACTIVE
                : Tile.STATE_UNAVAILABLE;
        state.secondaryLabel = mContext.getString(R.string.qr_code_scanner_description);
    }

    @Override
+0 −2
Original line number Diff line number Diff line
@@ -104,8 +104,6 @@ public class QRCodeScannerTileTest extends SysuiTestCase {
        assertEquals(state.label, mContext.getString(R.string.qr_code_scanner_title));
        assertEquals(state.contentDescription, mContext.getString(R.string.qr_code_scanner_title));
        assertEquals(state.icon, QSTileImpl.ResourceIcon.get(R.drawable.ic_qr_code_scanner));
        assertEquals(state.secondaryLabel,
                mContext.getString(R.string.qr_code_scanner_description));
    }

    @Test