summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2023-03-14 15:01:18 -0400
committer Lucas Silva <lusilva@google.com> 2023-03-15 14:09:13 +0000
commit236b845e2b3f61f658b0bcc410d4015c8a50da4f (patch)
treefdc2344d761759c19e226d81300a67c36bdc58bf /libs/androidfw/FileStream.cpp
parentaede9255f3a9a67d5800d0c714006c8230329538 (diff)
Update notification FSI logic for when device is considered dreaming
This change uses StatusBarStateController to check if the device is dreaming, since that state is based on the dreaming broadcasts which are only sent after the dream has finished waking up. This means that StatusBarContoller.isDreaming will remain true during the wake-up phase of the dream, therefore allowing full-screen intents in notifications. This change also removes the RPC to DreamManagerService, since the dream state is locally cached in StatusBarController Fixes: 265977861 Test: atest StatusBarStateControllerImplTest Test: atest NotificationInterruptStateProviderImplTest Test: atest CentralSurfacesImplTest Change-Id: I8e97fdb064c4b23517d69498638769aac26f419f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions