Backed out changeset b98dbd42d4d3 (bug 1159752) at mhaigh's request on IRC
This commit is contained in:
@@ -202,13 +202,7 @@ public class TabQueueService extends Service {
|
||||
}
|
||||
|
||||
private void removeView() {
|
||||
try {
|
||||
windowManager.removeView(toastLayout);
|
||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
||||
// This can happen if the Service is killed by the system. If this happens the View will have already
|
||||
// been removed but the runnable will have been kept alive.
|
||||
Log.e(LOGTAG, "Error removing Tab Queue toast from service", e);
|
||||
}
|
||||
windowManager.removeView(toastLayout);
|
||||
}
|
||||
|
||||
private void addURLToTabQueue(final Intent intent, final String filename) {
|
||||
|
||||
Reference in New Issue
Block a user