commit | e9b4b84daef1949d6c2c6a14c5ba847d53ecb887 | [log] [tgz] |
---|---|---|
author | Liam Clark <liamclark@google.com> | Fri Jan 11 13:39:52 2019 -0800 |
committer | Liam Clark <liamclark@google.com> | Thu Jan 17 15:38:10 2019 -0800 |
tree | 0bdbd138e515354f348d339a3a98fdecba155f52 | |
parent | fb526d038f750f5d6018e6fa772b7d4f9aae6f28 [diff] |
Replace ActivityInstanceInfo api with in app lifecycle event tracking Since adding a public api for the playground app was problematic, we now keep track of onResume and onDestroy calls globally inside the app. This fixes a few bugs in cases where tasks would be hidden from the ActivityManger#.getAppTasks() method and allows us to listen for changes allowing us to do without a periodic refresh of the UI. Test: Manual Change-Id: Idb834cbdc7aad6442dd962c95b5321e1d75695fe