Skip to content

Commit

Permalink
device_config: Enable maching learning back gesture
Browse files Browse the repository at this point in the history
This enables machine learning-assisted back gestures when using gesture
navigation. It uses TensorFlow Lite for inference (via our custom
provider in SystemUI), similar to Google's Pixel implementation.
  • Loading branch information
kdrag0n committed Apr 7, 2021
1 parent 217e701 commit d57b9de
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -33,6 +33,11 @@
<!-- Cached app freezer on supported devices -->
<item>activity_manager_native_boot/use_freezer=true</item>

<!-- Machine learning back gesture (requires TensorFlow model) -->
<item>systemui/use_back_gesture_ml_model=true</item>
<item>systemui/back_gesture_ml_model_name=backgesture</item>
<item>systemui/back_gesture_ml_model_threshold=0.9</item>

<!--
Disable the TF input classifier entirely to save CPU and fix log
spam when we have the touch heatmap video interface disabled. This
Expand Down

0 comments on commit d57b9de

Please sign in to comment.