Remove enroll animation from touch sensor page

During the setup flow, the enrolling animation will be shown in the
touch sensor page. This was caused by using the old layout during the
setup flow. Removing the overrided method getContentView to fix this
issue.

Fixes: 179447737
Test: visual verified
1) adb shell am start -n
com.google.android.setupwizard/.SetupWizardTestActivity
2) Follow the setup flow and check if the touch sensor page has an
animation

Change-Id: I249535d6c0e8a5f12d86aeeac5308489e469bf71
This commit is contained in:
Mill Chen
2021-02-20 17:30:59 +08:00
parent afaee1a202
commit 5fea7c9a46

View File

@@ -36,11 +36,6 @@ import com.android.settings.password.ChooseLockSettingsHelper;
public class SetupFingerprintEnrollFindSensor extends FingerprintEnrollFindSensor {
@Override
protected int getContentView() {
return R.layout.fingerprint_enroll_find_sensor;
}
@Override
protected Intent getFingerprintEnrollingIntent() {
Intent intent = new Intent(this, SetupFingerprintEnrollEnrolling.class);