Commit cb876b3
Fix guest icon is not clickable after adding user
When addUser icon is clicked, it becomes disabled to prevent double clicking.
And this icon is newer enabled again in case of successfull user creation.
When user is added, icon for New user is added to recycler view before guest icon.
So, when user selection is opened again guest icon is not clickable, because it is disabled.
Enabling addUser button after successfull user creation fixes this issue.
Test: - Set pin: adb shell locksettings set-pin 0000
- Lock board: adb shell input keyevent KEYCODE_POWER
- Wake up: adb shell input keyevent KEYCODE_POWER
- Click cancel button
- Click "Add User" -> Click Ok
- Set pin
- Lock board
- Wake up
- Click cancel button
- Click guest button
Bug: 170382676
Signed-off-by: Artem Radchenko <artem.radchenko@globallogic.com>
Change-Id: Ie9f3e9b765123207d1217ae2434608c3316923f4
Signed-off-by: Akash Srivastava <akashniki@gmail.com>1 parent 178b233 commit cb876b3
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
570 | 573 | | |
571 | 574 | | |
572 | 575 | | |
| |||
0 commit comments