OSDN Git Service

Separate ambient display triggers
authorAdrian Roos <roosa@google.com>
Fri, 14 Oct 2016 20:03:55 +0000 (13:03 -0700)
committerAdrian Roos <roosa@google.com>
Mon, 17 Oct 2016 21:05:53 +0000 (14:05 -0700)
commit82829ee0b1f6a13c34a1da91350a3647a3aa4474
tree86870cbd24bbe1a462c7c16799aa9800c72949e4
parentec5314f2f51477c87fc63ee7e1b20d77c71e1fd7
Separate ambient display triggers

Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
res/values/config.xml
src/com/android/settings/gestures/GestureSettings.java