aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-06-14 11:28:13 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-06-14 11:29:12 -0700
commit7fff40e2d0b550c16cebd736974deb044b599a2d (patch)
tree5caa2bf3b461f53ca18899c1bea5e28557d2491f /tests/src
parent8387d3cc07e85685fc1b9c3a62a7276e815d2399 (diff)
downloadvendor_cmsdk-7fff40e2d0b550c16cebd736974deb044b599a2d.zip
vendor_cmsdk-7fff40e2d0b550c16cebd736974deb044b599a2d.tar.gz
vendor_cmsdk-7fff40e2d0b550c16cebd736974deb044b599a2d.tar.bz2
cmsdk: Clean up posted tile in CustomTileListenerService test.
TICKET: CYNGNOS-3022 Change-Id: If0c2e18b86c5d2061fd36d404d9e63496998c25f
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/cyanogenmod/tests/customtiles/unit/CMStatusBarManagerTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/org/cyanogenmod/tests/customtiles/unit/CMStatusBarManagerTest.java b/tests/src/org/cyanogenmod/tests/customtiles/unit/CMStatusBarManagerTest.java
index df01112..09c636d 100644
--- a/tests/src/org/cyanogenmod/tests/customtiles/unit/CMStatusBarManagerTest.java
+++ b/tests/src/org/cyanogenmod/tests/customtiles/unit/CMStatusBarManagerTest.java
@@ -122,6 +122,7 @@ public class CMStatusBarManagerTest extends AndroidTestCase {
super.onCustomTilePosted(sbc);
Log.d(TAG, "Posted " + sbc.getCustomTile());
if (TextUtils.equals(expectedCustomTile.label, sbc.getCustomTile().label)) {
+ removeCustomTile(mContext.getPackageName(), null, 1337);
signal.countDown();
}
}