Merge "Bluetooth: do not dimiss fragment when Activity.finish() is called" into oc-mr1-dev
am: bf66bf30b1
Change-Id: Id5f413c21eb39e540d2417f9c19b7553f57d6b6a
This commit is contained in:
@@ -108,12 +108,6 @@ public class BluetoothPairingDialog extends Activity {
|
|||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
void dismiss() {
|
void dismiss() {
|
||||||
if (!isFinishing()) {
|
if (!isFinishing()) {
|
||||||
BluetoothPairingDialogFragment bluetoothFragment =
|
|
||||||
(BluetoothPairingDialogFragment) getFragmentManager()
|
|
||||||
.findFragmentByTag(FRAGMENT_TAG);
|
|
||||||
if (bluetoothFragment != null) {
|
|
||||||
bluetoothFragment.dismiss();
|
|
||||||
}
|
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user