OSDN Git Service

don't create the fake title bar when getGlobalVisible fails
authorCary Clark <cary@android.com>
Tue, 29 Sep 2009 17:00:45 +0000 (13:00 -0400)
committerCary Clark <cary@android.com>
Tue, 29 Sep 2009 17:16:01 +0000 (13:16 -0400)
commita04645545690d9f637ccae4d043a5a1b8478a832
treede1e919506ff532b6970790dfa73e404a303fa06
parent2694e23a55d5ca526fc29534a80a200e2c58698b
don't create the fake title bar when getGlobalVisible fails

If getGlobalVisibleFails, the visible rectangle top is
assumed to be zero, as if the status bar has no height. The
fake title bar is then drawn underneath the actual status
bar. Bail on the fake title bar creation if the status bar
can't be measured.
src/com/android/browser/BrowserActivity.java