Loading android/app/src/com/android/bluetooth/AlertActivity.java +9 −0 Original line number Diff line number Diff line Loading @@ -112,4 +112,13 @@ public abstract class AlertActivity extends Activity implements DialogInterface. if (mAlert == null) return; mAlert.getButton(identifier).setEnabled(enable); } @Override protected void onDestroy() { if (mAlert != null) { mAlert.dismiss(); } super.onDestroy(); } } Loading
android/app/src/com/android/bluetooth/AlertActivity.java +9 −0 Original line number Diff line number Diff line Loading @@ -112,4 +112,13 @@ public abstract class AlertActivity extends Activity implements DialogInterface. if (mAlert == null) return; mAlert.getButton(identifier).setEnabled(enable); } @Override protected void onDestroy() { if (mAlert != null) { mAlert.dismiss(); } super.onDestroy(); } }