summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserActivity.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-08-22 13:41:23 -0700
committerJohn Reck <jreck@google.com>2011-08-22 13:55:06 -0700
commit6c2e2f34718043f36488b4a94879dc2605aaac49 (patch)
treeb035ded93d8f35ab1f952d539a7afdc93a9481fe /src/com/android/browser/BrowserActivity.java
parent54ed3aa8417f4c6a27eecb9caf10f742a705b6e0 (diff)
downloadpackages_apps_Browser-6c2e2f34718043f36488b4a94879dc2605aaac49.zip
packages_apps_Browser-6c2e2f34718043f36488b4a94879dc2605aaac49.tar.gz
packages_apps_Browser-6c2e2f34718043f36488b4a94879dc2605aaac49.tar.bz2
Add bulletproofing to state recovery
Bug: 5166335 Change-Id: Ife9ef2da7664f8de6b0ff9655611efa78d84df05
Diffstat (limited to 'src/com/android/browser/BrowserActivity.java')
-rw-r--r--src/com/android/browser/BrowserActivity.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 690e29f..b86759a 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -31,8 +31,6 @@ import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
-import android.view.WindowManager;
-import android.view.accessibility.AccessibilityManager;
import com.google.common.annotations.VisibleForTesting;
@@ -45,8 +43,7 @@ public class BrowserActivity extends Activity {
private final static String LOGTAG = "browser";
- private final static boolean LOGV_ENABLED =
- com.android.browser.Browser.LOGV_ENABLED;
+ private final static boolean LOGV_ENABLED = Browser.LOGV_ENABLED;
private Controller mController;
private UI mUi;
@@ -54,7 +51,8 @@ public class BrowserActivity extends Activity {
@Override
public void onCreate(Bundle icicle) {
if (LOGV_ENABLED) {
- Log.v(LOGTAG, this + " onStart");
+ Log.v(LOGTAG, this + " onStart, has state: "
+ + (icicle == null ? "false" : "true"));
}
super.onCreate(icicle);