summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-10-28 16:12:05 -0700
committerYorke Lee <yorkelee@google.com>2014-10-28 16:12:05 -0700
commitc98a5bb2d806dde99325a15466a2bf144d216ae8 (patch)
tree01189516a8fe7750162c9c5d9d2b648ef632c185 /res
parentb4aac521569a933a6e7789e9dc25014bdd82d57c (diff)
Refactor ActionBarController and tests
The original CL to fix ActionBarControllerTest by using an ActivityInstrumentationTestCase was too heavyweight and caused flaky test. It was also indicative of a flaw in the original design that ActionBar couldn't be mocked out easily. Refactor the code so that: 1) getActionBar() is no longer needed 2) Respect the invariant that all access to the actionBar goes through the ActionBarController (see the changes in ListsFragment) so that any change to the ActionBar's hide offset can be tracked appropriately. Bug: 17487016 Change-Id: I935b683ddb301ca5d3952889af1381bdbdcc97d3
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions