commit | 3a8d95e0733be73c6b5ea690ec14e801ebf6ba5c | [log] [tgz] |
---|---|---|
author | Yan Wang <yawanng@google.com> | Thu Mar 05 10:40:31 2020 -0800 |
committer | Yan Wang <yawanng@google.com> | Tue Mar 24 23:23:20 2020 +0000 |
tree | e49af130078877ac17e22e3e51afe568bb13d3c1 | |
parent | 6d0924664fa0b05866bd533cb6ebb9d251d41b47 [diff] |
binder: Add package change observer to iorap. iorapd registers the observer to package manager service to get notification when a package is updated including new installation and (non)version update. After receiving the notification, the version map is updated accordingly. Re-register the observer when the package manager service is dead. Bug: 150742983 Test: Run iorapd, update an app and check the logcat output. Change-Id: Ia8c327a5abba9daec102e1671c38cb6880d2a46f