Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b358f6d0 authored by PauloftheWest's avatar PauloftheWest
Browse files

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
parent ff2da2cd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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