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

Commit a4d04b15 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Fix notification tests

- Fix method incorrectly marked test
- Fix access to non-@hide methods
- Fix a logic error in Notification.java
- Move the 'core' notification test that were in the services suite to
the 'core' suite

Test: atest NotificationTest
Fixes: 254459150
Change-Id: Ib2793badb6b0616097bb837d7fd2c7504a43e186
parent 0044ab53
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8467,8 +8467,8 @@ public class Notification implements Parcelable
            }
            int maxAvatarSize = resources.getDimensionPixelSize(
                    isLowRam ? R.dimen.notification_person_icon_max_size
                            : R.dimen.notification_person_icon_max_size_low_ram);
                    isLowRam ? R.dimen.notification_person_icon_max_size_low_ram
                            : R.dimen.notification_person_icon_max_size);
            if (mUser != null && mUser.getIcon() != null) {
                mUser.getIcon().scaleDownIfNecessary(maxAvatarSize, maxAvatarSize);
            }
+536 −29

File changed.

Preview size limit exceeded, changes collapsed.

+0 −551

File deleted.

Preview size limit exceeded, changes collapsed.