diff options
author | Karthik Gopalan <gkarth@codeaurora.org> | 2018-12-03 11:20:11 +0530 |
---|---|---|
committer | Karthik Gopalan <gkarth@codeaurora.org> | 2018-12-03 11:21:45 +0530 |
commit | c031b345e7fb75f24ebaa6957dba02fd103f9f85 (patch) | |
tree | f3b0f3bb24f6d5214896638f6c49f190ce23e66e /libs/hwui/renderthread/RenderProxy.cpp | |
parent | 0f739c2dfc2a6339d689b591eea375bcfa95b338 (diff) |
Disable swipe boost and preferred apps for certain cases
This change is a combination of the following changes
(a) Disable swipe boost and preferred apps for certain cases
(b) Add Game boost & modify launchboostv2 invocation.
(a) swipe boost:
This change disables swipe boost for the following cases:
1. If top app is a game, swipe boost is completely disabled.
2. Swipe boost is disabled for horizontal fling motion.
Preferred Apps:
This change also helps preferred apps filter games. An app
will not start as empty if that app is detected to be a game.
(b) Add Game boost & modify launchboostv2 invocation.
Trigger LBv2 from where LBv1 is triggered. Recent app
behavior changes cause oringinal LBv2 in startProcess
to not trigger. This is fixed. Detect if app is a game
& trigger game boost, for faster game launch latency.
CRs-Fixed: 2287732 2309700
Squash of following change-IDs:
Change-Id: I299f60c7e34c4087a8f66b4eeac70f6824de764d
Change-Id: I1b332639559043977e0581f537e62eccdaf55dd0
Initial Q-Change-Id: I394b51307ea9ac8f7778badaed6f5be08a42eade
Change-Id: I003f95cfe7cbe3a667f4be4d22b805858790e06f
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
0 files changed, 0 insertions, 0 deletions