* commit '6ac4af0f4b31d3e33863263509d5a05bfc84d273': Fix SysUI crash when no metadata is provided
This commit is contained in:
@@ -374,7 +374,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
|
||||
Intent intent = getCameraIntent();
|
||||
ActivityInfo targetInfo = PreviewInflater.getTargetActivityInfo(mContext, intent,
|
||||
KeyguardUpdateMonitor.getCurrentUser());
|
||||
if (targetInfo != null) {
|
||||
if (targetInfo != null && targetInfo.metaData != null) {
|
||||
String clazz = targetInfo.metaData.getString(
|
||||
MediaStore.META_DATA_STILL_IMAGE_CAMERA_PREWARM_SERVICE);
|
||||
if (clazz != null) {
|
||||
|
||||
Reference in New Issue
Block a user