Skip to content
Commit 463cef29 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix ActivityManagerAmProfileTests

Before activity profile starts, AMS.clearProfilerLocked() is called
and it calls ProfileData.setProfileProc() with null ProcessRecord. It
causes NPE and activity profile wouldn't start.

Fixes: 119685223
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerAmProfileTests

Change-Id: Ia1aa4fcec840f32d71e0bb632a7f380d8a943f40
parent 132b1c60
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