Implement Bluetooth device picker
Add Bluetooth device picker in Settings - add resource to support device picker - show different UI accroding to start Intent - add OPP profile manager
This commit is contained in:
@@ -105,7 +105,9 @@ public class BluetoothDevicePreference extends Preference implements CachedBluet
|
||||
@Override
|
||||
protected void onBindView(View view) {
|
||||
// Disable this view if the bluetooth enable/disable preference view is off
|
||||
setDependency("bt_checkbox");
|
||||
if (null != findPreferenceInHierarchy("bt_checkbox")){
|
||||
setDependency("bt_checkbox");
|
||||
}
|
||||
|
||||
super.onBindView(view);
|
||||
|
||||
|
Reference in New Issue
Block a user