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

Skip to content
Commit 0e0083ea authored by Tyler Freeman's avatar Tyler Freeman
Browse files

fix(magnification): fix NPE from using deprecated instrumentation

Somehow androidx.test.platform.app.InstrumentationRegistry() was
returning null. So we retreive it fresh every time, and use the
non-deprecated class.

Fix: 308152609
Test: atest
packages/SystemUI/tests/src/com/android/systemui/accessibility/WindowMagnificationAnimationControllerTest.java
Flag: NA

Change-Id: Iee86dd9fa58e03bbc2b475fa72a08a6fd88e276f
parent af91ae6e
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