commit | 0e0083ea3edf47befc0e2aed569050d0998b91c9 | [log] [tgz] |
---|---|---|
author | Tyler Freeman <fuego@google.com> | Fri Nov 03 13:45:38 2023 -0700 |
committer | Tyler Freeman <fuego@google.com> | Fri Nov 03 14:41:49 2023 -0700 |
tree | 004fedd851b4f730fc678a1fdb6895858e0f06d3 | |
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