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

Commit 244554ed authored by Sally Yuen's avatar Sally Yuen Committed by Automerger Merge Worker
Browse files

Merge "Check for null text location when applying scaling changes" into tm-dev am: 5d9e19b6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17261698

Change-Id: I6eb00dd9b524ebcdd756db16bb06025218500a1f
parents eabc472b 5d9e19b6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -992,6 +992,9 @@ public final class AccessibilityInteractionController {
                    // Unchecked cast - an app that puts other objects in this bundle with this
                    // key will crash.
                    RectF textLocation = ((RectF) textLocations[i]);
                    if (textLocation == null) {
                        continue;
                    }
                    textLocation.scale(applicationScale);
                    if (spec != null) {
                        textLocation.scale(spec.scale);