Bug 772510 - Fix Java build warning in DoorHanger.java. r=mfinkle

Fix "static variable should be qualified by type name" warning in
DoorHanger.java.
This commit is contained in:
Chris Lord 2012-07-10 17:51:23 +01:00
parent 6bb3d29a22
commit 69dfca6b4d

View File

@ -168,7 +168,7 @@ public class DoorHanger extends LinearLayout implements Button.OnClickListener {
// This method checks with persistence and timeout options to see if
// it's okay to remove a doorhanger.
public boolean shouldRemove() {
if (mPersistWhileVisible && GeckoApp.mAppContext.mDoorHangerPopup.isShowing()) {
if (mPersistWhileVisible && GeckoApp.mDoorHangerPopup.isShowing()) {
// We still want to decrement mPersistence, even if the popup is showing
if (mPersistence != 0)
mPersistence--;