am ebff4c1d: Merge "Do not wtf when the systemui is not present." into cw-e-dev

* commit 'ebff4c1d90d8f1465a3376130fe65a9c045b683d':
  Do not wtf when the systemui is not present.
This commit is contained in:
Joe LaPenna
2015-09-04 21:11:37 +00:00
committed by Android Git Automerger

View File

@@ -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;
}