commit | 39c98e652fd3e0e3ea3a334d60ba6ee979985978 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Wed Mar 16 09:18:35 2016 -0400 |
committer | Jason Monk <jmonk@google.com> | Mon Mar 28 09:57:39 2016 -0400 |
tree | 7ff6e1e27a926236be9ab8ba30f79741e44eefb3 | |
parent | 47f542fc04f966e98de5f9929b375478d2e3e7b2 [diff] [blame] |
QS edit drag and drop accessibility Bug: 27667843 Change-Id: Ief0980af25d855942b0565e5a9bfcc0d266bdbe0
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/DataSaverTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/DataSaverTile.java index 74b3fdc..35aff21 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/DataSaverTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/DataSaverTile.java
@@ -57,6 +57,11 @@ } @Override + public CharSequence getTileLabel() { + return mContext.getString(R.string.data_saver); + } + + @Override protected void handleUpdateState(BooleanState state, Object arg) { state.value = arg instanceof Boolean ? (Boolean) arg : mDataSaverController.isDataSaverEnabled();