OSDN Git Service

Automatically play the gesture video when the setting is launched.
authorDoris Ling <dling@google.com>
Tue, 11 Jul 2017 17:38:24 +0000 (10:38 -0700)
committerDoris Ling <dling@google.com>
Tue, 11 Jul 2017 17:38:24 +0000 (10:38 -0700)
commita689787b71ffba193a5d5dd0a82767447dd922a0
tree2e21726d5999cf9d30d1f7451602caf517158792
parent70a48e66eb46f2577f011e9f98883a119b4a3be2
Automatically play the gesture video when the setting is launched.

- and save the video pause state on config change so that the paused
video will not auto start again on screen rotation.

Change-Id: I3f41849ee3063942fb4141e4556e494bc8439226
Fix: 63145847
Test: make RunSettingsRoboTests
src/com/android/settings/gestures/GesturePreferenceController.java
src/com/android/settings/widget/VideoPreference.java
tests/robotests/src/com/android/settings/gestures/GesturePreferenceControllerTest.java