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

Commit 0a08be31 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Check resolution changes in DisplayInfo.equals.

The previous check for display updates only checked if the display's
id changed when compareOnlyBasicChanges=false. With
compareOnlyBasicChanges=true
this could cause updates to be ignored.

This change adds a check for the current active display mode in
DisplayInfo.equals, and only returns that the info is equal if the
display mode ids are the same, or both mode's dimensions are the same.

Test: atest DisplayInfoTest
Test: manual see change is received in Settings
Bug: 413014130
Bug: 424418347
Flag: EXEMPT simple bugfix
Change-Id: I9c103002a1a99f3921546238c1612869310046fe
parent 6a7970f4
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