diff options
| author | 2017-06-14 13:50:45 -0700 | |
|---|---|---|
| committer | 2017-07-06 12:26:32 -0700 | |
| commit | 944ddd3cf4b9c5b976d0036da99bfb2a8a679ff3 (patch) | |
| tree | 39eae0c5d0772a0087bade080712ef54570b1ef2 | |
| parent | b171a46d193db3eee0ad837aa94c47d7752587a6 (diff) | |
Enable priority boost for non-Jack builds.
Test: m ANDROID_COMPILE_WITH_JACK=false / checked for boost+reset calls.
BUG: 36791701
Change-Id: I5fb4107ae39e76644c01c502483ae7d887ab18a3
Merged-In: I5fb4107ae39e76644c01c502483ae7d887ab18a3
(cherry picked from commit 421baeb9289cd5a16e2fef5601dcddbbfad8eb3e)
| -rw-r--r-- | services/core/Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/services/core/Android.mk b/services/core/Android.mk index bc973304dd2c..4e48afcb6e8b 100644 --- a/services/core/Android.mk +++ b/services/core/Android.mk @@ -41,4 +41,16 @@ LOCAL_JACK_FLAGS := \ -D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPriorityForLockedSection \ -D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPriorityAfterLockedSection +LOCAL_JAR_PROCESSOR := lockedregioncodeinjection +# Use = instead of := to delay evaluation of ${in} and ${out} +LOCAL_JAR_PROCESSOR_ARGS = \ + --targets \ + "Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowHashMap;" \ + --pre \ + "com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/server/wm/WindowManagerService.boostPriorityForLockedSection" \ + --post \ + "com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/android/server/wm/WindowManagerService.resetPriorityAfterLockedSection" \ + -o ${out} \ + -i ${in} + include $(BUILD_STATIC_JAVA_LIBRARY) |