Skip to content
Commit 82378198 authored by Yuncheol Heo's avatar Yuncheol Heo
Browse files

Fix NPE in ActivityRecord.inSizeCompatMode()

- Since commit c3cb0cb1, isSizeCompatMode is included in protoDump.
  If ActivityMetricsLogger dumps log and the Activity is in detached
  state, then 'parent' can be null.

Bug: 183043632
Test: atest AndroidCarApiTest in cf_x86_auto-userdebug
Change-Id: I823e787ce4f1c70736edcb10e043a4062a31e774
parent c415157f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment