Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 364ad3e6 authored by Steven Terrell's avatar Steven Terrell
Browse files

Fix Possible Stack Overflow

While calling getJankTracker or reportAppJankStats its possible to
overflow the stack if the view has not been added to the view hierarchy.
This change checks if the view that getJankTracker is called on is also
the rootview and returns if true.

Bug: 382074138
Test: CoreAppJankTestCases:JankTrackerTest
Flag: EXEMPT bugfix.

Change-Id: I18ac27677689cdd9d1912adee3f88204a432f9e8
parent 3fa37b4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment