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

Commit fd22e97a authored by ronish's avatar ronish
Browse files

Update scanner strings as per UXR reviews

Test: Manually
Bug: 223550089
Change-Id: If6d4977ea29862996735f1f45c0f1b3a11a7794a
parent 7186d0bb
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