ANR observed under settings when trying to reset network settings
- Move reset network settings code to async task. Test: manual, Robolectric Fixes: 130772994 Change-Id: I59345f48ed840ecfd64c29c2c20ab8caf2679f63 Merged-In: I59345f48ed840ecfd64c29c2c20ab8caf2679f63
This commit is contained in:
@@ -51,4 +51,9 @@ public class ShadowBluetoothAdapter extends org.robolectric.shadows.ShadowBlueto
|
||||
public void setConnectionState(int state) {
|
||||
mState = state;
|
||||
}
|
||||
|
||||
@Implementation
|
||||
protected boolean factoryReset() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user