Fix the truncating of Bluetooth icons.
Bug: 17347150 Change-Id: Iad6bec51bf9327ee0c6752ddaa161aec3b4ff590
This commit is contained in:
@@ -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