History log of /frameworks/base/core/java/android/preference/SeekBarVolumizer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96d4a9ec394975818b073b537ccb6220ef0949ba 10-Jun-2015 John Spurlock <jspurlock@google.com> Volume: Disable seekbar prefs when zen muted.

- And display the last audible value.

Bug: 21267436
Change-Id: I667d0680811b48a51eab22c837933e493f1d5c44
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
721d457685cc83785d0d0aad259e3218af899fc9 16-Apr-2015 John Spurlock <jspurlock@google.com> Volume: Automute in seek bar volumizer.

Never disable the slider, allow mutebusting and syncing mute to 0
value.

Also add new framework icon for media.

Bug: 20096341
Change-Id: I9db1671c3442365866a49c9d6f7becf0b2e05435
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
bbfd31a5d4f126167e20fa8bd256c810cf8c2c85 18-Feb-2015 John Spurlock <jspurlock@google.com> AudioAttributes: introduce new flags to bypass audio restrictions.

- New @hidden @SystemApi FLAG_BYPASS_INTERRUPTION_POLICY, request
to ignore any current audio restrictions, such as zen mode
content-based notification filtering.
- Wire up FLAG_BYPASS_INTERRUPTION_POLICY to the existing
audio restriction checks in the framework.

- New @hidden @SystemApi FLAG_BYPASS_MUTE, request to play
audibly, even if the underlying stream is muted.
- Wiring up to audio framework TBD.

- Use both of these new flags on the inline volume slider
controls used in Settings, ensuring playback is heard
regardless of the current device filter state.

Bug: 19407114
Change-Id: I3d44394931592ccbc1b61ddd9a4d1cc984da17cc
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
bcc1087af40a0e1bb35dbe8a39c830ecdea8280b 28-Nov-2014 John Spurlock <jspurlock@google.com> Volume: Improve inline volume controls used in settings.

- Make the system internal ringer mode change signal available to
other system components via a standard intent, instead of a
volume-controller-only binder call.
- Update sysui to use new intent for icon policy.
- Add proper muting state to the volumizer, to look more like
the associated volume panel slider.
- Add basic ringer mode state tracking for the notification-ring
slider setting.

Bug: 17899613
Change-Id: Ie2df52edb070055ef59c74039162a0e785d2fdbb
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
735f9ebc188e1cb225533e1f5f9ef925d1f0b20e 21-Oct-2014 John Spurlock <jspurlock@google.com> Settings: Make SeekBarVolumizer more null-resilient.

Now that the instances are reusable, ensure all "post" methods
do a handler check, and ensure they are all internal.

Bug: 18063070
Change-Id: Idc478c636686f666f5656f3d07bf2738ba3e9a5a
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
0e588ea8e1746f3335b2b5c8a51fdd9a96167b59 08-Oct-2014 John Spurlock <jspurlock@google.com> Make SeekBarVolumizer restartable.

Decouple start from constructor, making it possible to restart
once stopped.

Bug:17898190
Change-Id: I2f860864161f818d5a62a28331ef1c47051fb39f
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
351346092acdfbfcc1d9ebf98d539d2a1196c5e8 25-Jul-2014 John Spurlock <jspurlock@google.com> Volume: Show safe media warning in settings.

If the safe media warning is enabled, make sure
we display it from the new inline slider preference in
Settings (without showing the volume dialog itself).

Also:
- Update the warning dialog to the new sysui theme.
- Separate the warning sentences with an additional line.
- Fix the auto-dismiss timeout.
- Add a system property to additionally enable the safe
media warning for testing
- Add more information to audio service dumpsys.

Bug:15434662
Change-Id: I95fec12c9049bbfdb7ebdf246160e4b12c0c5be3
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
0dbf1a6be21bb8947aa716fc40c6e288178b1803 01-Jun-2014 John Spurlock <jspurlock@google.com> Settings: Keep SeekBarVolumizer in sync with audio stream.

Use AudioManager.VOLUME_CHANGED_ACTION instead of relying
on obsolete settings.

Bug:15343543
Change-Id: Ia95237bb455268314ec985affe92b0cec6b52e29
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
95caba127051845ff1e26d7e64909db89408e8e7 27-May-2014 John Spurlock <jspurlock@google.com> frameworks/base: Performance tweaks for SeekBarVolumizer.

Move ringtone init to the worker thread. Allow the volumizer
instance to be reused by making the seekbar settable.

Bug:15091992
Change-Id: Ib616ae0fbb9a45c63391f8335e48ec2754dbdcd5
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java
74a2e06d831432f27ebd17cf6f1d0086356e7ee0 17-May-2014 John Spurlock <jspurlock@google.com> VolumeZen: frameworks changes to support Settings.

- Pull SeekBarVolumizer out into a separately reusable class.
- Make register/unregisterOnActivityStopListener avail to system code.
- Add new setting for displaying suppressed notifications in zen mode.

Change-Id: Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d
/frameworks/base/core/java/android/preference/SeekBarVolumizer.java