greeter: sync password across screens
greeter: sync password across screens
Create PasswordSingleton to explicitly sync password on different screens.
Test plan:
- use multiscreen setup
- break lock screen theme, lock screen and verify fallback theme is used
- type on one password box, verify password is synced to other screen
- make deletions and insertions in other screen, and verify changes are synced back
greeter: remove obselete shareEvent
shareEvent used to sync passwords across multiple screens. This has been reported to be broken since 5.21, and has been superseded by better method of syncing passwords.
Edited by Yifan Zhu