commit | 1ed5004a61ff72a769c5f3eae36f5e91ff032dcf | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Thu Jan 18 17:12:32 2018 -0800 |
committer | Selim Cinek <cinek@google.com> | Thu Jan 18 17:20:38 2018 -0800 |
tree | bf2fb7bcaa99b2ef7db52e7cf66f981dae76ff1f | |
parent | 13ca805084a8043b5c2cde8c6f2a365eca49a4d4 [diff] [blame] |
Fixed the possibility to report rejected touch events The functionality wasn't working properly with AOD Bug: 71762354 Test: adb shell settings put secure data_collector_allow_rejected_touch_reports 1 Change-Id: I8a74351c65a12ef65d6f13fc60c07b191b7c04cb
diff --git a/packages/SystemUI/src/com/android/systemui/classifier/FalsingManager.java b/packages/SystemUI/src/com/android/systemui/classifier/FalsingManager.java index e4b405f..ed659e2 100644 --- a/packages/SystemUI/src/com/android/systemui/classifier/FalsingManager.java +++ b/packages/SystemUI/src/com/android/systemui/classifier/FalsingManager.java
@@ -167,6 +167,9 @@ if (mDataCollector.isEnabledFull()) { registerSensors(COLLECTOR_SENSORS); } + if (mDataCollector.isEnabled()) { + mDataCollector.onFalsingSessionStarted(); + } } private void registerSensors(int [] sensors) {