Bug 701002 part 3 - JavaStackTrace: remove unused showErrorDialog() method. r=dougt
authorChris Peterson <cpeterson@mozilla.com>
Wed, 18 Jan 2012 13:56:56 -0800
changeset 86397 531b3679e334f7f70617c9a029b2b1e439d5a5bf
parent 86396 6a687f06990c539a9919964b0be209210a0992df
child 86398 420d7b8ed59de60d115454a7bb317f7a5d33de20
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs701002
milestone12.0a1
Bug 701002 part 3 - JavaStackTrace: remove unused showErrorDialog() method. r=dougt
mobile/android/base/GeckoApp.java
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -192,32 +192,16 @@ abstract public class GeckoApp
         synchronized(sLaunchState) {
             if (sLaunchState != checkState)
                 return false;
             sLaunchState = setState;
             return true;
         }
     }
 
-    void showErrorDialog(String message)
-    {
-        new AlertDialog.Builder(this)
-            .setMessage(message)
-            .setCancelable(false)
-            .setPositiveButton(R.string.exit_label,
-                               new DialogInterface.OnClickListener() {
-                                   public void onClick(DialogInterface dialog,
-                                                       int id)
-                                   {
-                                       GeckoApp.this.finish();
-                                       System.exit(0);
-                                   }
-                               }).show();
-    }
-
     public static final String PLUGIN_ACTION = "android.webkit.PLUGIN";
 
     /**
      * A plugin that wish to be loaded in the WebView must provide this permission
      * in their AndroidManifest.xml.
      */
     public static final String PLUGIN_PERMISSION = "android.webkit.permission.PLUGIN";