Commit 63f9b81
Jim Miller
Fix inoperative "Forgot pattern" button when face unlock enabled
This fixes a bug where the forgot pattern button wasn't working because
the logic for face unlock was interfering with determining the proper
backup to use.
The fix:
- adds a new state to SecurityMode so we have an initial condition
we can check for.
- passes the current mode to SecurityModel.getBackupSecurityMode() so
it relies on the current state.
- prevents face unlock from invoking callbacks that change state
once we're no longer showing face unlock.
Fixes bug 7346989
Change-Id: I4e64515efbbad712f11c820e690b458f352bf46c1 parent a30d969 commit 63f9b81
File tree
2 files changed
+54
-16
lines changed- policy/src/com/android/internal/policy/impl/keyguard
2 files changed
+54
-16
lines changedLines changed: 51 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
546 | 586 | | |
547 | 587 | | |
548 | 588 | | |
| |||
568 | 608 | | |
569 | 609 | | |
570 | 610 | | |
571 | | - | |
| 611 | + | |
| 612 | + | |
572 | 613 | | |
573 | | - | |
| 614 | + | |
574 | 615 | | |
575 | 616 | | |
576 | 617 | | |
| |||
617 | 658 | | |
618 | 659 | | |
619 | 660 | | |
620 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
621 | 665 | | |
| 666 | + | |
622 | 667 | | |
623 | 668 | | |
624 | 669 | | |
| |||
749 | 794 | | |
750 | 795 | | |
751 | 796 | | |
752 | | - | |
| 797 | + | |
753 | 798 | | |
754 | 799 | | |
755 | 800 | | |
| |||
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 132 | + | |
140 | 133 | | |
141 | 134 | | |
142 | 135 | | |
| |||
0 commit comments