OSDN Git Service

Support find sensor screen with no animation
authorMaurice Lam <yukl@google.com>
Mon, 22 May 2017 18:19:26 +0000 (11:19 -0700)
committerMaurice Lam <yukl@google.com>
Thu, 25 May 2017 18:21:16 +0000 (11:21 -0700)
commitebb829433315da8b4acd0fcb14b6df4a9c5841c5
treeeef95abb05b9e171e8aa0dfbe16c24fb2f119538
parenta0d327a5acd4ec0145cc3d755fb0e8f219a7c5b2
Support find sensor screen with no animation

Some illustration view can manage their own start-stop lifecycle and
doesn't need to be handled by the activity.

Make mAnimation null if the animation is not an instance of
FingerprintFindSensorAnimation.

Test: cd tests/robotests && mma
Bug: 38463695
Change-Id: I41989e5cb0639407f58d9c8edda0eef93adbf2e8
src/com/android/settings/fingerprint/FingerprintEnrollFindSensor.java
tests/robotests/res/layout-mcc999/fingerprint_enroll_find_sensor.xml [new file with mode: 0644]
tests/robotests/src/com/android/settings/fingerprint/FingerprintEnrollFindSensorTest.java