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

Commit 94a92382 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato Committed by Android Build Coastguard Worker
Browse files

Fix shelf icons when on an external display

The shelf icons were being created with the application context instead
of the display-aware shade context. This caused issues with display
density.

This was not catched from any linter as the way icons are created is very custom (a class that sets fields to a notification entry)

Also, methods to create icons without providing a proper context have been marked as deprecated explicitly: a full cleanup to delete them will foll

Bug: 446842713
Test: IconManagerTest + manually add many notifications while on the external display and observe shelf icon sizing being correct.
Flag: com.android.systemui.shade_window_goes_around
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:9650df1671e712c770b85f865bf6bda01499ca22
Merged-In: Ifcb3c1db7e5bd54e3129d652c2e9eae79595b530
Change-Id: Ifcb3c1db7e5bd54e3129d652c2e9eae79595b530
parent 0ab3fe3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment