Merge "Fix QS accessibility issues" into nyc-dev
This commit is contained in:
@ -84,6 +84,7 @@
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/accessibility_quick_settings_expand"
|
||||
android:padding="12dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -1594,4 +1594,7 @@
|
||||
<!-- Warning message when we try to dock a non-resizeble tasks and launch it in fullscreen instead. -->
|
||||
<string name="dock_non_resizeble_failed_to_dock_text">App does not support split-screen.</string>
|
||||
|
||||
<!-- accessibility label for button to expand quick settings [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_quick_settings_expand">Expand quick settings.</string>
|
||||
|
||||
</resources>
|
||||
|
@ -130,6 +130,8 @@ public class BatteryTile extends QSTile<QSTile.State> implements BatteryControll
|
||||
}
|
||||
};
|
||||
state.label = percentage;
|
||||
state.contentDescription = mContext.getString(R.string.accessibility_quick_settings_battery,
|
||||
percentage);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user