diff options
| author | 2023-11-03 13:45:38 -0700 | |
|---|---|---|
| committer | 2023-11-03 14:41:49 -0700 | |
| commit | 0e0083ea3edf47befc0e2aed569050d0998b91c9 (patch) | |
| tree | 004fedd851b4f730fc678a1fdb6895858e0f06d3 /libs/androidfw/FileStream.cpp | |
| parent | af91ae6ef1951cae161f54055e8a688a91ea768f (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions