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

Commit cf7e295b authored by Haijie Hong's avatar Haijie Hong Committed by Android (Google) Code Review
Browse files

Merge "Exit device details page when bond state is BOND_NONE" into main

parents 2aa59429 6c1481e5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -123,6 +123,14 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
                        }
                    }
                }

                @Override
                public void onDeviceBondStateChanged(
                        @NonNull CachedBluetoothDevice cachedDevice, int bondState) {
                    if (cachedDevice.equals(mCachedDevice)) {
                        finishFragmentIfNecessary();
                    }
                }
            };

    private final BluetoothAdapter.OnMetadataChangedListener mExtraControlMetadataListener =