8852905b0b3837e326127c6dfef6f699124ce715 |
|
04-Nov-2016 |
Jason Monk <jmonk@google.com> |
Unit testing for fragments. Set up a base class for testing fragments that will generate the host and run the fragment through some lifecycle checks to make sure it does ok with standard lifecycle. Fragment tests will also automatically check for any sort of leaks related to bindings, receivers, or other callbacks in sysui. This requires changing the statusbar.policy classes with callbacks to have a common interface. Lastly also fixes a few lifecycle bugs in QS found from the above tests. Bug: 32609190 Test: runtest systemui Change-Id: I52007c696c2fd41914bba4ba9d8055f2b564a7d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/CallbackController.java
|