Skip to content

Commit 22ae05d

Browse files
author
Jim Miller
committed
Re-enable transition animation between face unlock and backup
Change-Id: Ia90cf73e400f45c8b73f34cbc521dcbc62258ca8
1 parent 82b517b commit 22ae05d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

core/res/res/values/integers.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919
<resources>
2020
<integer name="kg_carousel_angle">75</integer>
21-
<integer name="kg_security_flip_duration">75</integer>
22-
<integer name="kg_security_fade_duration">75</integer>
21+
<integer name="kg_security_flip_duration">100</integer>
22+
<integer name="kg_security_fade_duration">100</integer>
2323
<integer name="kg_glowpad_rotation_offset">0</integer>
2424
</resources>

policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -670,13 +670,10 @@ private void showSecurityScreen(SecurityMode securityMode) {
670670
// Find and show this child.
671671
final int childCount = mSecurityViewContainer.getChildCount();
672672

673-
// Do flip animation to the next screen
674-
if (false) {
675-
mSecurityViewContainer.setInAnimation(
676-
AnimationUtils.loadAnimation(mContext, R.anim.keyguard_security_animate_in));
677-
mSecurityViewContainer.setOutAnimation(
678-
AnimationUtils.loadAnimation(mContext, R.anim.keyguard_security_animate_out));
679-
}
673+
mSecurityViewContainer.setInAnimation(
674+
AnimationUtils.loadAnimation(mContext, R.anim.keyguard_security_fade_in));
675+
mSecurityViewContainer.setOutAnimation(
676+
AnimationUtils.loadAnimation(mContext, R.anim.keyguard_security_fade_out));
680677
final int securityViewIdForMode = getSecurityViewIdForMode(securityMode);
681678
for (int i = 0; i < childCount; i++) {
682679
if (mSecurityViewContainer.getChildAt(i).getId() == securityViewIdForMode) {

0 commit comments

Comments
 (0)