Bug 1159718 - Remove notification when 'quick open' is activated in Tab Queue (r=mcomella)

This commit is contained in:
Martyn Haigh
2015-05-05 17:04:00 +01:00
parent b0789e53e0
commit 98dcf0edb1
2 changed files with 8 additions and 3 deletions

View File

@@ -194,6 +194,8 @@ public class TabQueueService extends Service {
forwardIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(forwardIntent);
TabQueueHelper.removeNotification(getApplicationContext());
GeckoSharedPrefs.forApp(getApplicationContext()).edit().remove(GeckoPreferences.PREFS_TAB_QUEUE_LAST_SITE)
.remove(GeckoPreferences.PREFS_TAB_QUEUE_LAST_TIME)
.apply();