Save/Restore Actionbar title

In rare cases, we cannot restore the actionbar title in the photo
viewer because we require the fragment to be visible on the screen to
update the title.

Since this is a rather rare problem, the easiest fix is to save the
actionbar title to a bundle and restore it on orientation changes.

Bug: 8124251 Action bar text for the attachment disappears on
             orientation change

Change-Id: I27b2768b3e7edb18e1ddd272f48a3ad8ebdd408a
1 file changed
tree: 9d864eb631fa41f477f3403f4edfe6634213cb74
  1. res/
  2. sample/
  3. src/
  4. .gitignore
  5. Android.mk
  6. AndroidManifest.xml