commit | 31cc6bfcd60c340ee6096cb10708e4615e958268 | [log] [tgz] |
---|---|---|
author | Priyank Singh <priyanksingh@google.com> | Thu Feb 07 13:01:39 2019 -0800 |
committer | Priyank Singh <priyanksingh@google.com> | Thu Feb 14 01:02:42 2019 +0000 |
tree | 16d109f7bc93ddb5bce8599b29694dd73297c2ec | |
parent | a99c4f30ee792aff84005b371fb830d5eaa99d70 [diff] |
Use the broadCast Receiver to detect when the user is switched and register the notificationListner when the user is switched. By default the SysUI is booted as User0 after which it switches to the current logged in user. We have to listen to the broadcast receiver to know when that happens. Bug: 123432748 Test: Manual Change-Id: I567ae0c53df277097de53475f9144d739fa4a18d (cherry picked from commit e81756e4d417150ada4eb817f475ad4916751e27)