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

Commit eac27519 authored by Jason Monk's avatar Jason Monk Committed by Android (Google) Code Review
Browse files

Merge "Add hotspot accessibility description" into mnc-dev

parents c33062ff 08187a4b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1090,4 +1090,7 @@
    <!-- Accessibility label for Quick Settings detail screens [CHAR LIMIT=NONE] -->
    <string name="accessibility_quick_settings_detail">Quick Settings, <xliff:g id="title" example="Wi-Fi">%s</xliff:g>.</string>

    <!-- Accessibility label for hotspot icon [CHAR LIMIT=NONE] -->
    <string name="accessibility_status_bar_hotspot">Hotspot</string>

</resources>
+2 −1
Original line number Diff line number Diff line
@@ -162,7 +162,8 @@ public class PhoneStatusBarPolicy {
        mCast.addCallback(mCastCallback);

        // hotspot
        mService.setIcon(SLOT_HOTSPOT, R.drawable.stat_sys_hotspot, 0, null);
        mService.setIcon(SLOT_HOTSPOT, R.drawable.stat_sys_hotspot, 0,
                mContext.getString(R.string.accessibility_status_bar_hotspot));
        mService.setIconVisibility(SLOT_HOTSPOT, mHotspot.isHotspotEnabled());
        mHotspot.addCallback(mHotspotCallback);