diff options
author | Joe LaPenna <jlapenna@google.com> | 2015-09-04 12:52:42 -0700 |
---|---|---|
committer | Joe LaPenna <jlapenna@google.com> | 2015-09-04 12:53:51 -0700 |
commit | 71bd291257152ddb6520b326b03526161b5885e3 (patch) | |
tree | c8d59c3bb9221ffcc0a938f8ed022846434f12c3 /service/java/com/android/server/bluetooth/BluetoothManagerService.java | |
parent | 1d8cdf3934897e3d08f002ba2dbff6dad4839191 (diff) |
Do not wtf when the systemui is not present.
Not all devices, like wearables actually have a system ui.
BUG: 23822226
Change-Id: Ibc2d6c3b8db1de668b9cbced3efcec5a7a39f20b
Diffstat (limited to 'service/java/com/android/server/bluetooth/BluetoothManagerService.java')
-rw-r--r-- | service/java/com/android/server/bluetooth/BluetoothManagerService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/java/com/android/server/bluetooth/BluetoothManagerService.java b/service/java/com/android/server/bluetooth/BluetoothManagerService.java index 50bd544a30..d5c4a41f07 100644 --- a/service/java/com/android/server/bluetooth/BluetoothManagerService.java +++ b/service/java/com/android/server/bluetooth/BluetoothManagerService.java @@ -273,7 +273,8 @@ class BluetoothManagerService extends IBluetoothManager.Stub { sysUiUid = mContext.getPackageManager().getPackageUid("com.android.systemui", UserHandle.USER_OWNER); } catch (PackageManager.NameNotFoundException e) { - Log.wtf(TAG, "Unable to resolve SystemUI's UID.", e); + // Some platforms, such as wearables do not have a system ui. + Log.w(TAG, "Unable to resolve SystemUI's UID.", e); } mSystemUiUid = sysUiUid; } |