Merge "BluetoothClass: Use mask to get MajorDeviceClass" am: a9f7570de6 am: 9fa0668d29 am: e1271704a9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1516221

Change-Id: If4788ee4e28ee9a7dc571eea1ca15f751e2611ef