DescriptionMake DeviceDisplayInfo a Singleton and have ScreenOrientationListener update it.
This is not the best design. Ideally, we might want to create a new
listener specific for Display changes (onConfigurationChange or
DisplayListener). It would be created at startup and
ScreenOrientationListener would simply listen to it while
DeviceDisplayInfo would be updated when a Display change would be
detected.
BUG=354275
Patch Set 1 #Messages
Total messages: 8 (0 generated)
|