* commit 'e0a0fa7cec8a91a15c72468f6fa42bbe67a31493': Fixed a crash when sharing video through Bluetooth.
This commit is contained in:
@@ -58,8 +58,6 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment
|
|||||||
private static final String KEY_UNPAIR = "unpair";
|
private static final String KEY_UNPAIR = "unpair";
|
||||||
private static final String KEY_PBAP_SERVER = "PBAP Server";
|
private static final String KEY_PBAP_SERVER = "PBAP Server";
|
||||||
|
|
||||||
public static final String EXTRA_DEVICE = "device";
|
|
||||||
|
|
||||||
private CachedBluetoothDevice mCachedDevice;
|
private CachedBluetoothDevice mCachedDevice;
|
||||||
private LocalBluetoothManager mManager;
|
private LocalBluetoothManager mManager;
|
||||||
private LocalBluetoothProfileManager mProfileManager;
|
private LocalBluetoothProfileManager mProfileManager;
|
||||||
@@ -102,7 +100,6 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment
|
|||||||
@Override
|
@Override
|
||||||
public void onSaveInstanceState(Bundle outState) {
|
public void onSaveInstanceState(Bundle outState) {
|
||||||
super.onSaveInstanceState(outState);
|
super.onSaveInstanceState(outState);
|
||||||
outState.putParcelable(EXTRA_DEVICE, mCachedDevice.getDevice());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user