Merge "Merge "Add null check for NPE before logging" into rvc-dev am: 5fe7d558be am: bcf30c6318" into rvc-d1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
8a00e334b7
@@ -303,8 +303,11 @@ public class PipTouchHandler {
|
||||
hideDismissTarget();
|
||||
});
|
||||
|
||||
MetricsLoggerWrapper.logPictureInPictureDismissByDrag(mContext,
|
||||
PipUtils.getTopPipActivity(mContext, mActivityManager));
|
||||
Pair<ComponentName, Integer> topPipActivity = PipUtils.getTopPipActivity(mContext,
|
||||
mActivityManager);
|
||||
if (topPipActivity.first != null) {
|
||||
MetricsLoggerWrapper.logPictureInPictureDismissByDrag(mContext, topPipActivity);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user