Remove duplicate "lifecycle.addObserver(this)"
It's already been added in superclass BluetoothDetailsController. BUG: 343317785 FLAG: EXEMPT simple fix Test: atest BluetoothDetailsProfilesControllerTest Test: atest BluetoothDetailsPairOtherControllerTest Change-Id: I7a9255cea5bb18b29562fa72898356c7a01cd31c
This commit is contained in:
@@ -50,7 +50,6 @@ public class BluetoothDetailsPairOtherController extends BluetoothDetailsControl
|
||||
CachedBluetoothDevice device,
|
||||
Lifecycle lifecycle) {
|
||||
super(context, fragment, device, lifecycle);
|
||||
lifecycle.addObserver(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -106,7 +106,6 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
|
||||
mProfileManager = mManager.getProfileManager();
|
||||
mCachedDevice = device;
|
||||
mAllOfCachedDevices = Utils.getAllOfCachedBluetoothDevices(mManager, mCachedDevice);
|
||||
lifecycle.addObserver(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user