Closing last tab clears state

 When closing the last tab, clear the crash recovery state. This
 prevents the issue where closing the last tab and re-launching
 browser would recover the last tab anyway

Change-Id: Ia080aca5401fbc65e62a7651cb17cf9cd2e25ed8
diff --git a/src/com/android/browser/CrashRecoveryHandler.java b/src/com/android/browser/CrashRecoveryHandler.java
index ca538bd..55fa6f8 100644
--- a/src/com/android/browser/CrashRecoveryHandler.java
+++ b/src/com/android/browser/CrashRecoveryHandler.java
@@ -134,7 +134,7 @@
 
     }
 
-    private static void clearState(Context context) {
+    public static void clearState(Context context) {
         File state = new File(context.getCacheDir(), STATE_FILE);
         if (state.exists()) {
             state.delete();