OSDN Git Service

Fixed volume logging on sticky broadcasts
authorAlastair Breeze <abreeze@google.com>
Tue, 16 Oct 2018 18:17:07 +0000 (19:17 +0100)
committerAlastair Breeze <abreeze@google.com>
Wed, 17 Oct 2018 12:46:45 +0000 (12:46 +0000)
commit1d4216530e29974a927373f8445bdbbf9b070dee
tree5331eb75d1d8671a121dedd9dee824dd5e86d2a6
parenta68e3ccd83ef68645d64676df7c58a98f43dea9d
Fixed volume logging on sticky broadcasts

Ringer mode changed is a sticky broadcast and is currently being logged on broadcast attach for normal and vibrate state (not silent). This change instead uses the sticky broadcast to initialise the current state rather than logging.

Test: manual
Change-Id: I09e91ec4b71fbbbfae71d188d9c858675a7e774d
Fixes: 117315582
packages/SystemUI/src/com/android/systemui/volume/VolumeDialogControllerImpl.java