commit | 44198f5124743f0d603eb4efa3b436bd96f32144 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Fri Jun 02 12:50:38 2017 -0700 |
committer | Adrian Roos <roosa@google.com> | Wed Jun 07 19:49:55 2017 +0000 |
tree | 2d581b72011d815ef01c438fbed2f0119ff5ca35 | |
parent | a9861756b5a79e23b317ef7a89a504a68ac61e34 [diff] [blame] |
AOD: Use double tap coordinates to trigger Ambient Indication Bug: 38386446 Test: Double tap on AOD, verify that it still works. On device that supports double tap coordinates, verify that double tapping on ambient music opens ambient music. Change-Id: Ic75ba731a980c9598c85927e83d2032f01da4822
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java index d7e7abe..6b7397b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
@@ -157,6 +157,10 @@ return 2 * getPulseVisibleDuration(); } + public boolean doubleTapReportsTouchCoordinates() { + return mContext.getResources().getBoolean(R.bool.doze_double_tap_reports_touch_coordinates); + } + /** * Parses a spec of the form `1,2,3,!5,*`. The resulting object will match numbers that are