Merge "Fix the truncating of Bluetooth icons." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
92de681ec3
@@ -67,6 +67,8 @@ public final class BluetoothDevicePreference extends Preference implements
|
||||
|
||||
mCachedDevice = cachedDevice;
|
||||
|
||||
setLayoutResource(R.layout.preference_bt_icon);
|
||||
|
||||
if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
|
||||
UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
|
||||
if (! um.hasUserRestriction(DISALLOW_CONFIG_BLUETOOTH)) {
|
||||
|
Reference in New Issue
Block a user