Loading core/java/android/app/ActivityThread.java +3 −0 Original line number Diff line number Diff line Loading @@ -2962,6 +2962,7 @@ public final class ActivityThread { r.activity.mTemporaryPause = true; mInstrumentation.callActivityOnPause(r.activity); } checkAndBlockForNetworkAccess(); deliverNewIntents(r, intents); if (resumed) { r.activity.performResume(); Loading Loading @@ -3595,6 +3596,7 @@ public final class ActivityThread { try { r.activity.onStateNotSaved(); r.activity.mFragments.noteStateNotSaved(); checkAndBlockForNetworkAccess(); if (r.pendingIntents != null) { deliverNewIntents(r, r.pendingIntents); r.pendingIntents = null; Loading Loading @@ -4350,6 +4352,7 @@ public final class ActivityThread { } } } checkAndBlockForNetworkAccess(); deliverResults(r, res.results); if (resumed) { r.activity.performResume(); Loading services/core/java/com/android/server/am/ActivityManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -24148,7 +24148,7 @@ public class ActivityManagerService extends IActivityManager.Stub record.networkStateLock.wait(mWaitForNetworkTimeoutMs); record.waitingForNetwork = false; final long totalTime = SystemClock.uptimeMillis() - startTime; if (totalTime >= mWaitForNetworkTimeoutMs) { if (totalTime >= mWaitForNetworkTimeoutMs || DEBUG_NETWORK) { Slog.wtf(TAG_NETWORK, "Total time waited for network rules to get updated: " + totalTime + ". Uid: " + callingUid + " procStateSeq: " + procStateSeq + " UidRec: " + record Loading
core/java/android/app/ActivityThread.java +3 −0 Original line number Diff line number Diff line Loading @@ -2962,6 +2962,7 @@ public final class ActivityThread { r.activity.mTemporaryPause = true; mInstrumentation.callActivityOnPause(r.activity); } checkAndBlockForNetworkAccess(); deliverNewIntents(r, intents); if (resumed) { r.activity.performResume(); Loading Loading @@ -3595,6 +3596,7 @@ public final class ActivityThread { try { r.activity.onStateNotSaved(); r.activity.mFragments.noteStateNotSaved(); checkAndBlockForNetworkAccess(); if (r.pendingIntents != null) { deliverNewIntents(r, r.pendingIntents); r.pendingIntents = null; Loading Loading @@ -4350,6 +4352,7 @@ public final class ActivityThread { } } } checkAndBlockForNetworkAccess(); deliverResults(r, res.results); if (resumed) { r.activity.performResume(); Loading
services/core/java/com/android/server/am/ActivityManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -24148,7 +24148,7 @@ public class ActivityManagerService extends IActivityManager.Stub record.networkStateLock.wait(mWaitForNetworkTimeoutMs); record.waitingForNetwork = false; final long totalTime = SystemClock.uptimeMillis() - startTime; if (totalTime >= mWaitForNetworkTimeoutMs) { if (totalTime >= mWaitForNetworkTimeoutMs || DEBUG_NETWORK) { Slog.wtf(TAG_NETWORK, "Total time waited for network rules to get updated: " + totalTime + ". Uid: " + callingUid + " procStateSeq: " + procStateSeq + " UidRec: " + record