Revision 9c9ecc51
ID | 9c9ecc5140e6f1784eb63fff8b359337c8cd6f33 |
Parent | 0e47ac69 |
Child | fc4a96ac |
Fixed issue 472, NPE on android 3.1 (and 3.0).
The Activity.getActionBar() method can only be called after
setContentView() has been invoked, as described here:
http://blog.perpetumdesign.com/2011/08/strange-case-of-dr-action-and-mr-bar.html
I couldn't think of any way to enforce this safely
(i.e. make the compiler kick up a stink if we didn't do it). As such,
I just put a comment above each usage of the ActionBarCompat class.
Another outstanding issue is a duplicate of 474, where it crashes when you
press the "Up" button from ManageRepos, but I'll create a different issue
for that.
Files
- added
- modified
- copied
- renamed
- deleted