History log of /packages/apps/DeskClock/src/com/android/deskclock/widget/toast/SnackbarManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e24cbd21f30a3770369fc41efb2f809b93ff5e2 08-Apr-2016 James Lemieux <jplemieux@google.com> Show snackbar when alarm stream volume is muted

Bug: 23940484

- each time the DeskClock activity is brought forward the snackbar
will be displayed if the alarm stream volume is muted
- if the DeskClock activity is already in the foreground and the
alarm stream is muted/unmuted, the snackbar is displayed/hidden
- the snackbar is displayed everywhere; it is not tab-specific
- the snackbar is not displayed after configuration changes
(e.g. rotation)

Change-Id: Ib833be06390d692bb91475fab05f107df8f92f8f
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/SnackbarManager.java
7c955e743119c9101b753d151a7a6deba227ddf9 28-Aug-2015 Fan Zhang <zhfan@google.com> Replace toast with snackbar when applicable.

Bug: 16877477
Bug: 23343217

Changed root view from a LinearLayout to CoordinatorLayout, which is
required to build custom behavior.

Added a custom behavior on linear layout - this makes the left/right/fab
button slide up/down as snackbar visibility changes.

Replaced most toast to snackbar. When we show toast without a UI, we
can't use snack bar.

Change-Id: Icd0ffd58d3f211dbe7d861868e763f227941e455
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/SnackbarManager.java