OSDN Git Service

Do not show the title bar if the Activity is paused.
authorLeon Scroggins <scroggo@google.com>
Tue, 15 Sep 2009 19:49:45 +0000 (15:49 -0400)
committerLeon Scroggins <scroggo@google.com>
Tue, 15 Sep 2009 20:58:00 +0000 (16:58 -0400)
commit4d7e406998028f9ddb01df6d7463b87d6fa02601
tree0a9e34226697fa0c2b72c4b76daa9a5a0c9b26ef
parent68579393973f745fc65a2781061af9bb8f2d7020
Do not show the title bar if the Activity is paused.

Fix http://b/issue?id=2121363

We attempt to show the fake title bar as a result of
a callback.  It is possible that we receive this callback
while the BrowserActivity is not running (not sure how
to reproduce, exactly, but the monkey did it; see the
bug).  Before showing the title bar, do a check to see
if the BrowserActivity is currently paused, and only
show it if not.

Change-Id: I770a1f86ae50f936f45bbf1dc2f047049b8e1aa3
src/com/android/browser/BrowserActivity.java