commit | 53f3f15654a12a820e08cd5d42b5f94d061598ab | [log] [tgz] |
---|---|---|
author | Rohan Shah <shahrk@google.com> | Wed Feb 28 15:13:31 2018 -0800 |
committer | Rohan Shah <shahrk@google.com> | Thu Mar 08 18:12:33 2018 +0000 |
tree | 84a79f09fbd1d8e85dbc69ebf431ff00cdf79930 | |
parent | 5f6980af6e988670bef921956815c644d1a9c7e8 [diff] [blame] |
[QS] Update Cellular/data usage tile Updated intent and API. We were using an explicit intent and there's changes going on in the Settings team that change the activity name and enabled states. Updating to an implicit event as with other parts of the Settings app (e.g. Bluetooth). Test: Visually Bug: 73586207 Change-Id: Ifa5125b4770927521d9267569d487319efdb9f9f
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 a102696..ace361b 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/DataSaverTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/DataSaverTile.java
@@ -55,7 +55,7 @@ @Override public Intent getLongClickIntent() { - return CellularTile.getCellularSettingIntent(mContext); + return CellularTile.getCellularSettingIntent(); } @Override protected void handleClick() {