From b358f6d0f20b064cf2f15084003022199190d85f Mon Sep 17 00:00:00 2001 From: PauloftheWest Date: Wed, 20 Aug 2014 15:10:56 -0700 Subject: [PATCH] Fixed a crash when sharing video through Bluetooth. + Fixed an issue where Settings would crash when the user tries to share a youtube video through Bluetooth and rotates the screen. Bug: 17023413 Change-Id: Ied284da736cf9bfc7424982a516c8305c700dd0b --- src/com/android/settings/bluetooth/DeviceProfilesSettings.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java index 8b0c3572915..64c807fe760 100755 --- a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java +++ b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java @@ -58,8 +58,6 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment private static final String KEY_UNPAIR = "unpair"; private static final String KEY_PBAP_SERVER = "PBAP Server"; - public static final String EXTRA_DEVICE = "device"; - private CachedBluetoothDevice mCachedDevice; private LocalBluetoothManager mManager; private LocalBluetoothProfileManager mProfileManager; @@ -102,7 +100,6 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); - outState.putParcelable(EXTRA_DEVICE, mCachedDevice.getDevice()); } @Override