Bluetooth : fix for crashing alertDialogbox
- changes for crashing of alertDialogbox while displaying message - in showError function, this fix code shoud be added in case of showing error pop up Bug: 5068089 Change-Id: I40e8a699461832b7bd47080b40f467572632d412 Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
This commit is contained in:
4
src/com/android/settings/bluetooth/LocalBluetoothManager.java
Normal file → Executable file
4
src/com/android/settings/bluetooth/LocalBluetoothManager.java
Normal file → Executable file
@@ -79,6 +79,10 @@ public final class LocalBluetoothManager {
|
||||
return mContext;
|
||||
}
|
||||
|
||||
public Context getForegroundActivity() {
|
||||
return mForegroundActivity;
|
||||
}
|
||||
|
||||
boolean isForegroundActivity() {
|
||||
return mForegroundActivity != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user