OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb3e7b3
)
Call notifyStartupCompleted from reportFullyDrawn
author
Mathieu Chartier
<mathieuc@google.com>
Thu, 7 Mar 2019 17:05:44 +0000
(09:05 -0800)
committer
Mathieu Chartier
<mathieuc@google.com>
Wed, 13 Mar 2019 05:01:58 +0000
(
05:01
+0000)
ART will now know when startup is startup is finished.
Test: manual
Bug:
120671223
Bug:
123377072
(cherry-picked from commit
63e14c10b3f7b2c9709b98cb9f128a2a817d4968
)
Merged-In: I1134f66792bddc9ab33606fa4c2807b3918d5261
Change-Id: I1134f66792bddc9ab33606fa4c2807b3918d5261
core/java/android/app/Activity.java
patch
|
blob
|
history
diff --git
a/core/java/android/app/Activity.java
b/core/java/android/app/Activity.java
index
4b4611e
..
5f99d6a
100644
(file)
--- a/
core/java/android/app/Activity.java
+++ b/
core/java/android/app/Activity.java
@@
-131,6
+131,8
@@
import com.android.internal.app.ToolbarActionBar;
import com.android.internal.app.WindowDecorActionBar;
import com.android.internal.policy.PhoneWindow;
+import dalvik.system.VMRuntime;
+
import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.lang.annotation.Retention;
@@
-2052,6
+2054,7
@@
public class Activity extends ContextThemeWrapper
mDoReportFullyDrawn = false;
try {
ActivityManager.getService().reportActivityFullyDrawn(mToken, mRestoredFromBundle);
+ VMRuntime.getRuntime().notifyStartupCompleted();
} catch (RemoteException e) {
}
}