Merge "Fix crash of Connected Devices page"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9c842b14bc
@@ -59,7 +59,9 @@ public class PreviouslyConnectedDevicePreferenceController extends BasePreferenc
|
|||||||
super.displayPreference(screen);
|
super.displayPreference(screen);
|
||||||
if (isAvailable()) {
|
if (isAvailable()) {
|
||||||
mPreference = screen.findPreference(getPreferenceKey());
|
mPreference = screen.findPreference(getPreferenceKey());
|
||||||
mBluetoothDeviceUpdater.setPrefContext(screen.getContext());
|
final Context context = screen.getContext();
|
||||||
|
mBluetoothDeviceUpdater.setPrefContext(context);
|
||||||
|
mSavedDockUpdater.setPreferenceContext(context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user