Do not persist the media button event receiver.
Do not restore the media button event receiver on behalf of the
application that registered. Prevents reported vulnerability.
Bug 15428797
Change-Id: I7ca3e7fccb165c55b23f471c00e0ed77436f7dc1
Expand the javadoc for AudioManager.generateAudioSessionId() to
describe what audio session IDs are used for.
Bug 17059255
Change-Id: I7a8764fd12fa332af747c4d584b0079e80bacf44
Complete javadoc for android.media.SoundPool.Builder to document
what the default values are.
Bug 17059255
Change-Id: I966e9ed00ed75a78c9b4741b7f68bae996442cdf
Use MediaProjectionManager to determine whether or not
screencasting is active, when it changes, and to stop
casting.
Also:
- Implement hashCode/equals on MediaProjectionInfo
- Fix unintentional recursion in the service.
Bug:16488053
Change-Id: Icd1a88f23bbdf1d4c1915b30cb2508f8fe9d6d7e
PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both
Bug: 16960458
Change-Id: I7d573e27ed093f2ddb7849703cc62f9916835393
This sets the current volume when a session is switched over to
remote playback. Otherwise it won't be current until it changes and
sends an update.
Change-Id: Iabedb24a34e88308e7e3c56a2b1ab279a17b466b
Notification messages are posted through a handler with a main thread.
When a caller of TIS.notifyXXX runs also in a main thread, the notification
is delivered after the method including the caller is finished.
So we added runOnMainThread and made notification messages sent through
runOnMainThread.
Change-Id: Ieb2c5c04ff031e42a532acfc45e0174563265c6b
TvContentRating:
- The XML file: attributes should have android: prefix and should allow
string resource references for labels.
Bug: 17114406
Change-Id: Ife2f4dc6c2c8a5a1714cdeedb27aab40fce73e2b
Some apps only set the transport control flags once when their service
starts. This was leading to them not getting set when a session is
created on their behalf in RCC. This sets the flags when a session
is created if needed.
bug:16822064
Change-Id: Iea1ebf7747b3059101eb3c36b143b594cc51e114
-renames get/setBufferPosition to get/setBufferedPosition
-renames getLaunchActivity to getSessionActivity
-adds doc link to setVolumeTo flags param
-renames setLaunchActivity to setSessionActivity
-hides setMediaRouter
-moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo
-adds addOnActiveSessionsChangedListener version with a handler parameter
-renames AudioInfo to PlaybackInfo
bug:17114404
Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5
TvView:
- Instead of ERROR_INPUT_DISCONNECTED, a separate callback
onDisconnected; change onError to onConnectionFailed.
Bug: 17114406
Change-Id: I9457ac81c883610f96954494bf75a4e78e53383f
setDataSource can be called with URI-s as well as with file paths.
Check file-existence only for file:// URI-s as well as URI-s
without scheme (which are assumed to be paths).
Bug: 17109022
Change-Id: I70f16a4f614dcef0b47fa264cf708473036cef4e
-Changes MediaSessionManager.SessionsListener to OnActiveSessionsChangedListener
and makes it an interface.
-Renames MediaController.VolumeInfo to MediaController.AudioInfo
-Renames MediaSession.Track to MediaSession.Item
bug:17059552
Change-Id: I3a0b4371700ad6657972c312a5ab89ddfac6df5b