summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2019-10-09 18:15:27 -0400
committerBeverly Tai <beverlyt@google.com>2019-10-21 17:36:15 +0000
commit1742455882436c9c4d15046c220044c03cddbdad (patch)
tree649490a41541b68201f1b8c16ee600641ea92c62 /tools/aapt2/java/JavaClassGenerator.cpp
parent7006565a525eeddeb51604627442f28dc14a2e5c (diff)
Add motion sense tap gesture + touch counts
AWARE_TAP_PAUSE_GESTURE_COUNT is the number of times the user has used the Motion Sense tap gesture to pause media. This number is used to determine whether to show the "Tap to pause media" contextual tooltip. AWARE_TAP_PAUSE_TOUCH_COUNT is the number of times the user has touched the device to pause media instead of using the Motion Sense tap gesture (Motion Sense and tap gesture must be active for this value to increment). This number is also used to determine whether to show the "Tap to pause media" contextual tip. We back up these counts so that users moving to new devices with Motion Sense will not be given these contextual tips again if they already know how to use the feature. Test: manual Bug: 138296598 Change-Id: I702719fb7cec8b6be9dff91d212a00fb26129957 Merged-In: I702719fb7cec8b6be9dff91d212a00fb26129957 (cherry picked from commit a6e468831ad855c7a328657e873d1320db8b433e)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions