Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1071)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java

Issue 2188723003: 🛀 Fix ApplicationStatus.isEveryActivityDestroyed() = false within callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/java/src/org/chromium/base/ApplicationStatus.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
index 1715d7edf372be9a7ec31bf1a59fd1d459ab6d4f..1978a4c3f6724651a2b28f044b3a0bbd6a9f0f70 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
@@ -334,15 +334,10 @@ public class ChromeApplication extends ContentApplication {
*/
private void onForegroundActivityDestroyed() {
if (ApplicationStatus.isEveryActivityDestroyed()) {
+ // These will all be re-initialized when a new Activity starts / upon next use.
mBackgroundProcessing.onDestroy();
- if (mDevToolsServer != null) {
gone 2016/07/28 16:09:57 Why'd these lines get taken out?
agrieve 2016/07/28 16:39:27 I mentioned it in the bug, but have now updated th
- mDevToolsServer.destroy();
- mDevToolsServer = null;
- }
- stopApplicationActivityTracker();
PartnerBrowserCustomizations.destroy();
ShareHelper.clearSharedImages(this);
- CombinedPolicyProvider.get().destroy();
}
}
« no previous file with comments | « base/android/java/src/org/chromium/base/ApplicationStatus.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698