Commit 89c429f
committed
Remove redundant isSplit assignments
Now that touch is always split (except for mouse events), we can
also simplify the assignment of isSplit variable and make it const.
Eventually, we can consider changing the touchpad code so that we can
completely remove the non-split code handling from dispatcher and
simplify this even further, because touchpad scroll should always go to
the location of the cursor.
Bug: 239934827
Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST
Flag: EXEMPT refactor
Change-Id: Ib753f798fd77d5d74434b9cbb02f17cd07f5906b1 parent a1635a6 commit 89c429f
1 file changed
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2412 | 2412 | | |
2413 | 2413 | | |
2414 | 2414 | | |
2415 | | - | |
| 2415 | + | |
2416 | 2416 | | |
2417 | 2417 | | |
2418 | 2418 | | |
| |||
2425 | 2425 | | |
2426 | 2426 | | |
2427 | 2427 | | |
2428 | | - | |
2429 | | - | |
2430 | | - | |
2431 | | - | |
2432 | | - | |
2433 | 2428 | | |
2434 | 2429 | | |
2435 | 2430 | | |
| |||
2472 | 2467 | | |
2473 | 2468 | | |
2474 | 2469 | | |
2475 | | - | |
2476 | | - | |
2477 | 2470 | | |
2478 | 2471 | | |
2479 | 2472 | | |
| |||
2647 | 2640 | | |
2648 | 2641 | | |
2649 | 2642 | | |
2650 | | - | |
2651 | 2643 | | |
2652 | 2644 | | |
2653 | 2645 | | |
| |||
0 commit comments