diff options
| author | 2018-10-01 06:34:18 -0700 | |
|---|---|---|
| committer | 2018-10-01 06:34:18 -0700 | |
| commit | 03cb7ba1df384902a052ad26c36ded3ef511a4d7 (patch) | |
| tree | 5a6c5c6544bb6a3dbe63015e69f748fd26a6ccf2 | |
| parent | 429e1477da7d71674c156b0f29aded81323e3ae0 (diff) | |
Initialize PendingIntentController before ActivityTaskManagerService
Because ATMS needs it to function.
Change-Id: I638f9c138c3281d40f09db34e9e39f602d6a1ad1
Fixes: 116826046
Test: Steps from bug
| -rw-r--r-- | services/core/java/com/android/server/am/ActivityManagerService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 6e90d5b5c21b..e8a776e15f13 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -2397,6 +2397,9 @@ public class ActivityManagerService extends IActivityManager.Stub mUserController = new UserController(this); + mPendingIntentController = new PendingIntentController( + mHandlerThread.getLooper(), mUserController); + GL_ES_VERSION = SystemProperties.getInt("ro.opengles.version", ConfigurationInfo.GL_ES_VERSION_UNDEFINED); @@ -2412,9 +2415,6 @@ public class ActivityManagerService extends IActivityManager.Stub mAtmInternal = LocalServices.getService(ActivityTaskManagerInternal.class); mStackSupervisor = mActivityTaskManager.mStackSupervisor; - mPendingIntentController = new PendingIntentController( - mHandlerThread.getLooper(), mUserController); - mProcessCpuThread = new Thread("CpuTracker") { @Override public void run() { |