3218 Commits

Author SHA1 Message Date
RoboErik
92e565f715 rename SERVICE_ACTION to SERVICE_INTERFACE
For API consistency this intent is suppose to be named SERVICE_INTERFACE.

bug:17390782
Change-Id: I4c3b1d8476dd6c939792f73615e92d7bfa6d5758
2014-09-04 14:06:34 -07:00
RoboErik
a4b9a191a8 Merge "Ensure there's a valid handler when registering a sessions listener" into lmp-dev 2014-09-04 20:52:56 +00:00
Eric Laurent
b6efa23adc Merge "AudioManager: only use main looper for AudioPort event handler" into lmp-dev 2014-09-04 20:47:44 +00:00
Lajos Molnar
a18b69f590 MediaCodecInfo: rename createFromProfileLevel
Bug: 17389380
Change-Id: I1d4dc8dff90deedab80aa1b03454b8554d66860a
2014-09-04 11:55:19 -07:00
RoboErik
8f7ac26a2f am 82f0f332: am dd22920f: am 11370544: Merge "Update VolumeProvider apis per feedback" into lmp-dev
* commit '82f0f332944acfe13d52a3099825d77edd4c9d4a':
  Update VolumeProvider apis per feedback
2014-09-04 18:10:00 +00:00
RoboErik
f85a08d30f Merge "Update VolumeProvider apis per feedback" into lmp-dev 2014-09-04 17:38:01 +00:00
Jae Seo
cdd7078427 am 4aaabe36: am 3dd7f2c7: am 9c723776: Merge "TIF: Add Quebec ratings for Canada and fix the XML example" into lmp-dev
* commit '4aaabe368ca16ead4a507adf83bc14965b2114e9':
  TIF: Add Quebec ratings for Canada and fix the XML example
2014-09-04 03:39:06 +00:00
Eric Laurent
5a7e9207f0 AudioManager: only use main looper for AudioPort event handler
Bug: 17336373.
Change-Id: I0a9a7012778f99acbf027ec2928ca222954ad0bd
2014-09-03 19:11:39 -07:00
RoboErik
8e1e84847e Ensure there's a valid handler when registering a sessions listener
Some legacy apps register a RemoteController on a thread without a
looper. This ensures a handler with a looper is used when it registers
the sessions listener.

bug:17357029
Change-Id: Ia3d98f5dcc331edd0c3a7e858db1d9e7e2749e14
2014-09-03 18:25:15 -07:00
Jae Seo
a90ae8bebb Merge "TIF: Add Quebec ratings for Canada and fix the XML example" into lmp-dev 2014-09-04 01:23:35 +00:00
Jungshik Jang
834f398290 am 9efde9ad: am e855cd67: am 5957c55c: Merge "Rename ro.config.music_vol_steps into ro.config.media_vol_steps." into lmp-dev
* commit '9efde9ad278794b4baea05823ff6edaab452d55f':
  Rename ro.config.music_vol_steps into ro.config.media_vol_steps.
2014-09-04 00:55:14 +00:00
Glenn Kasten
9de9f08540 am 624b985d: am c39dfd87: am 57d76e43: Merge "Fix regression in CTS for AudioTrack" into lmp-dev
* commit '624b985db885fddbaf33896fce0b66bc1dacbdaa':
  Fix regression in CTS for AudioTrack
2014-09-03 23:59:37 +00:00
Jae Seo
0a514c0a87 TIF: Add Quebec ratings for Canada and fix the XML example
Bug: 17332911, Bug: 17321648
Change-Id: Ice884ecdeda246e978ab235913e3e92d0c1e6ec2
2014-09-03 16:42:39 -07:00
Jungshik Jang
9ed982d42d Rename ro.config.music_vol_steps into ro.config.media_vol_steps.
Bug: 17342612
Change-Id: I77b08a606d26e3d3fd909e28c5ecb9898d214be0
2014-09-04 08:36:21 +09:00
RoboErik
0d0f67f5ee Update VolumeProvider apis per feedback
Added currentVolume to constructor.
Removed onGetCurrentVolume and notifyVolume changed.
Added setCurrentVolume and getCurrentVolume.
Updated javadoc to make it clear how they're used.

bug:17258168
Change-Id: I24388aab38824b101ccc18810caa09d46aa7afe0
2014-09-03 16:29:15 -07:00
David Smith
005038abda Merge "Add RGBA8888 to MediaCodecInfo.CodecCapabilities" 2014-09-03 23:18:14 +00:00
David Smith
5576620c13 Add RGBA8888 to MediaCodecInfo.CodecCapabilities
Change-Id: I0604aea94702dc81c903b7f5d2715dd078c41ca6
2014-09-03 15:06:18 -07:00
Glenn Kasten
49367a367c Merge "Fix regression in CTS for AudioTrack" into lmp-dev 2014-09-03 18:31:59 +00:00
Youngsang Cho
92d4addf70 am 11fe15a2: am 5c674006: am 797b2b0d: Merge "Add a warning log when it takes long time to handle a message in TIS" into lmp-dev
* commit '11fe15a214c4981dd03f4fa6109ed2d28e2f9598':
  Add a warning log when it takes long time to handle a message in TIS
2014-09-03 17:42:18 +00:00
Youngsang Cho
9df2c1be32 Add a warning log when it takes long time to handle a message in TIS
Bug: 17291092
Change-Id: If14ff467ac81d4f8d33febd57dd414dc5f4d3558
2014-09-03 23:18:20 +09:00
RoboErik
057e9e6be0 am b263500a: am 42da57f1: am d4c2499c: Merge "Allow empty strings in playFromSearch" into lmp-dev
* commit 'b263500a1368bf1865106c437b0cd2add94d65ae':
  Allow empty strings in playFromSearch
2014-09-03 13:49:36 +00:00
RoboErik
b2f57cfd04 am a241a83d: am 720c772a: am d5ceabd3: Merge changes Id38bcf7c,I54f156d9 into lmp-dev
* commit 'a241a83d18530d3bb9010a36f8cc89e50ad20c7b':
  Update MediaController comment to mention notification listeners
  Don't play a sound when adjusting volume while telephony is active
2014-09-03 13:49:21 +00:00
Jungshik Jang
d6aefa5515 am 8271173e: am 4a948322: am befc4c11: Merge "Make stream_music volume configurable." into lmp-dev
* commit '8271173e44340d4c67044c60cf908dba56fab8e8':
  Make stream_music volume configurable.
2014-09-03 09:14:03 +00:00
Jean-Michel Trivi
6ae6b11e51 am f2bdd3fc: am 22a14cd2: am 73db0682: Merge "Restore permission check for mic muting" into lmp-dev
* commit 'f2bdd3fcbbfade395c0a7de19f63a79e2e590f72':
  Restore permission check for mic muting
2014-09-03 05:03:35 +00:00
RoboErik
bcd20f850c Merge "Allow empty strings in playFromSearch" into lmp-dev 2014-09-03 00:40:21 +00:00
RoboErik
4b253d2bcd Allow empty strings in playFromSearch
This allows empty strings to be passed to playFromSearch to indicate
something should be chosen for the user and played. This makes it
consistent with INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH.

bug:17316566
Change-Id: I00ce8d252efa940e05568629e35198450c224a92
2014-09-02 17:39:46 -07:00
RoboErik
42f0a36ece Merge changes Id38bcf7c,I54f156d9 into lmp-dev
* changes:
  Update MediaController comment to mention notification listeners
  Don't play a sound when adjusting volume while telephony is active
2014-09-03 00:26:10 +00:00
RoboErik
f2133474af Update MediaController comment to mention notification listeners
Forgot to update the comment to specify that notification listeners
may also get a MediaController from the manager.

Change-Id: Id38bcf7cb38185bfe4f99bcf8889a6415320dd36
2014-09-02 17:22:08 -07:00
Jungshik Jang
e8f8bc0ad6 Merge "Make stream_music volume configurable." into lmp-dev 2014-09-02 23:20:32 +00:00
Jean-Michel Trivi
859f4f7272 Merge "Restore permission check for mic muting" into lmp-dev 2014-09-02 20:23:00 +00:00
Glenn Kasten
c56b808591 Fix regression in CTS for AudioTrack
Bug: 17160316
Change-Id: Id1828f6684cdd410ee315c8b313d64785d786e1d
2014-09-02 11:48:27 -07:00
Michael Wright
2993c30a33 am ac0f5a46: am 6e0bd93a: am b1ff74c9: Merge "VirtualDisplay.Callbacks -> Callback" into lmp-dev
* commit 'ac0f5a4616dab78a4216d826219379a663cc1139':
  VirtualDisplay.Callbacks -> Callback
2014-09-02 18:36:06 +00:00
Jean-Michel Trivi
b129930398 am dbb72302: am 26f51de0: am cd46ad98: Merge "Move *_AUDIO_PLUG actions from Intent to android.media.AudioManager" into lmp-dev
* commit 'dbb723022367174662a49aa4080286d454e2e0e4':
  Move *_AUDIO_PLUG actions from Intent to android.media.AudioManager
2014-09-02 18:36:01 +00:00
Ronghua Wu
98f883f8de am 50ac3f3c: am eaa9befb: am e4999af8: Merge "API: Document android-allow-cross-domain-redirect in MediaPlayer and VideoView" into lmp-dev
* commit '50ac3f3c994e9a825f6f84445ce44ce8b4451c20':
  API: Document android-allow-cross-domain-redirect in MediaPlayer and VideoView
2014-09-02 18:02:52 +00:00
RoboErik
5652066479 am 5728c18a: am c9942120: am b7d24c75: Merge "Update MediaBrowser to use String ids instead of Uris" into lmp-dev
* commit '5728c18ac5a248bab36f7fefbf89c12ec0284fbb':
  Update MediaBrowser to use String ids instead of Uris
2014-09-02 17:57:16 +00:00
Michael Wright
02aa75a083 Merge "VirtualDisplay.Callbacks -> Callback" into lmp-dev 2014-09-02 17:54:45 +00:00
Jean-Michel Trivi
5f4cfd3ab7 Merge "Move *_AUDIO_PLUG actions from Intent to android.media.AudioManager" into lmp-dev 2014-09-02 17:52:46 +00:00
Jae Seo
6203ec7bb3 am a49159c5: am 88a6ada7: am 746a550b: Merge "TIF: Allow ISO 639-1 code for Channels.COLUMN_AUDIO_LANGUAGE" into lmp-dev
* commit 'a49159c53f258a62afdd6ebe1e156e907b01ced4':
  TIF: Allow ISO 639-1 code for Channels.COLUMN_AUDIO_LANGUAGE
2014-09-02 17:45:27 +00:00
Jae Seo
6036d6e8dc am 74052580: am 057043e7: am e42eaea7: Merge "TIF: Fix the Singapore content ratings" into lmp-dev
* commit '74052580f4427c7f747aa59ee0e1d3b6c589eca3':
  TIF: Fix the Singapore content ratings
2014-09-02 17:45:21 +00:00
Sungsoo Lim
dca9cb2436 am ff1f473c: am 9586eaa4: am d15591a7: Merge "Do not show the input icon when it\'s not available." into lmp-dev
* commit 'ff1f473c8e87cab72ab9ea5c9fc77fbed7fd18b0':
  Do not show the input icon when it's not available.
2014-09-02 17:45:06 +00:00
Wonsik Kim
3a0ff1302e am 49420725: am 53cb1592: am 3366cb62: Merge "TIF: add SystemApi\'s for ITvInputHardware related methods" into lmp-dev
* commit '49420725db5c1d03758e7f34e0afea2c5e06fdd0':
  TIF: add SystemApi's for ITvInputHardware related methods
2014-09-02 17:43:13 +00:00
Jean-Michel Trivi
4a4fea0752 Restore permission check for mic muting
The implementation for AudioManager.setMicrophoneMute() used to
 call directly into AudioSystem which called directly into
 AudioFlinger and the mediaserver process, where the check for
 the MODIFY_AUDIO_SETTINGS is performed.
A regression was introduced by Ib32138bcc256cfbac4fe21a090d5ba34f5c641fc
 which calls first into AudioService which runs in system_process
 before calling into AudioSystem, which granted the permission.
This CL adds a permission check in this code path when calling
 AudioService.

Bug 17259652

Change-Id: I4ac5269262eb90df80ee81db6ec3d96977ee53be
2014-09-02 10:38:27 -07:00
Ji-Hwan Lee
49078c88a0 am 007ac9cd: am 669ad493: am 3b5096be: Merge "Add missing checks for the current session callback" into lmp-dev
* commit '007ac9cd0053e2696cd65679389600f68a090626':
  Add missing checks for the current session callback
2014-09-02 17:35:11 +00:00
Rachad
a588d175cd am f38342e8: am ff09c60d: am ba5fd177: Merge "Tunneled Video Playback: Fixed missing AudioHwSync for provided Audio session ID" into lmp-dev
* commit 'f38342e8af1533009fb5011b7c551989ba332f27':
  Tunneled Video Playback: Fixed missing AudioHwSync for provided Audio session ID
2014-09-02 17:34:11 +00:00
Jae Seo
0c2d782a76 am 2277a066: am 4525b6f7: am 8a8afdfa: Merge "TIF: Fix comment on TvContentRating" into lmp-dev
* commit '2277a0661e0b600621a86c9cfa2a09d19cbceb63':
  TIF: Fix comment on TvContentRating
2014-09-02 17:33:46 +00:00
Ronghua Wu
a7118c9bb2 Merge "API: Document android-allow-cross-domain-redirect in MediaPlayer and VideoView" into lmp-dev 2014-09-02 17:27:26 +00:00
RoboErik
17a1b48629 Merge "Update MediaBrowser to use String ids instead of Uris" into lmp-dev 2014-09-02 16:58:30 +00:00
Jae Seo
65899b1092 Merge "TIF: Allow ISO 639-1 code for Channels.COLUMN_AUDIO_LANGUAGE" into lmp-dev 2014-09-02 16:20:28 +00:00
Jae Seo
9e85408f12 Merge "TIF: Fix the Singapore content ratings" into lmp-dev 2014-09-02 16:20:10 +00:00
Sungsoo Lim
75f903e123 Merge "Do not show the input icon when it's not available." into lmp-dev 2014-09-02 16:16:02 +00:00