summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs/tiles
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-11-23 15:04:25 -0800
committerRoman Birg <roman@cyngn.com>2015-11-23 15:04:25 -0800
commit848baf955a63f04e5d132722b138169a253c0be0 (patch)
tree538255cac3a987c880ef19979b91b907353c54e0 /packages/SystemUI/src/com/android/systemui/qs/tiles
parentf662e4b1a892b864d91ba6805ae45fcabf74553d (diff)
downloadframeworks_base-848baf955a63f04e5d132722b138169a253c0be0.zip
frameworks_base-848baf955a63f04e5d132722b138169a253c0be0.tar.gz
frameworks_base-848baf955a63f04e5d132722b138169a253c0be0.tar.bz2
QSTiles: use host to reset tiles instead of receiver
Change-Id: Icebe022826a623d37b7c82e07021c24b38a52565 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs/tiles')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java
index 045e4f0..beea16b 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java
@@ -61,9 +61,7 @@ public class EditTile extends QSTile<QSTile.BooleanState> {
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
- Intent edit = new Intent(QSDragPanel.ACTION_EDIT_TILES);
- edit.putExtra(QSDragPanel.EXTRA_RESET, true);
- mContext.sendBroadcast(edit);
+ getHost().resetTiles();
refreshState(false);
}
}).create();