Commit c0cbee2f authored by Karthik Gopalan's avatar Karthik Gopalan Committed by Karthik Gopalan
Browse files

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

Change-Id: I394b51307ea9ac8f7778badaed6f5be08a42eade
parent e10907f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment