Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 847c70da authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "Enable priority boost for non-Jack builds."

parents 54b1e9c5 944ddd3c
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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)