OSDN Git Service
Lajos Molnar [Wed, 24 Sep 2014 23:48:22 +0000 (23:48 +0000)]
Merge "stagefright: return encrypted input buffer for secure codecs" into lmp-dev
Chong Zhang [Wed, 24 Sep 2014 17:41:08 +0000 (17:41 +0000)]
Merge "NuCachedSource2: more fixes for source read hang" into lmp-dev
Ronghua Wu [Wed, 24 Sep 2014 15:39:31 +0000 (15:39 +0000)]
Merge "stagefright: add adaptive playback support to SoftHEVC decoder." into lmp-dev
Chong Zhang [Wed, 24 Sep 2014 05:22:30 +0000 (22:22 -0700)]
NuCachedSource2: more fixes for source read hang
- Do not try to read from HTTP source if already disconnecting
- Let NuCachedSource2::readAt() return immediately when disconnecting
Bug:
17613805
Change-Id: Ibca4d3a4288ae9a9e2f5658a4240ace54efeb220
Wei Jia [Wed, 24 Sep 2014 01:39:53 +0000 (01:39 +0000)]
Merge "NuPlayer will notify SeekComplete only when requested so." into lmp-dev
Eric Laurent [Wed, 24 Sep 2014 01:21:16 +0000 (01:21 +0000)]
Merge "audio policy: add hw hotword flag for inputs" into lmp-dev
Lajos Molnar [Wed, 24 Sep 2014 00:49:02 +0000 (17:49 -0700)]
stagefright: return encrypted input buffer for secure codecs
Bug:
17630446
Change-Id: I8a9352bcd00a3f4eb6fd2797d6809a8c1edc8482
Wei Jia [Tue, 23 Sep 2014 17:55:35 +0000 (10:55 -0700)]
NuPlayer: change assert to conditional check.
Bug:
17491050
Change-Id: I657866c5342c227d57617eb89955897171eb5976
Ronghua Wu [Fri, 12 Sep 2014 18:57:27 +0000 (11:57 -0700)]
stagefright: add adaptive playback support to SoftHEVC decoder.
Bug:
17326758
Change-Id: I245e2bd1490e810094ca550fdddfa87075bc2056
Ronghua Wu [Tue, 23 Sep 2014 18:31:26 +0000 (18:31 +0000)]
Merge "NuPlayer: add pause timeout event for offload audio." into lmp-dev
Wei Jia [Tue, 23 Sep 2014 18:25:37 +0000 (18:25 +0000)]
Merge "NuPlayer: use generation to filter out stale message from renderer." into lmp-dev
Zhijun He [Tue, 23 Sep 2014 17:47:01 +0000 (17:47 +0000)]
Merge "Camera2Client: log an error when autoFocus is called in wrong state" into lmp-dev
Zhijun He [Tue, 23 Sep 2014 06:52:54 +0000 (23:52 -0700)]
Camera2Client: log an error when autoFocus is called in wrong state
Bug:
17555612
Change-Id: Ife33da712fbc8dc44d81e1e869fc75fb21026204
Wei Jia [Mon, 22 Sep 2014 22:21:11 +0000 (15:21 -0700)]
NuPlayer will notify SeekComplete only when requested so.
Bug:
17596535
Change-Id: I6b744fdcf80f11d521d26c7c8b45f7de70aa0dc3
Wei Jia [Tue, 23 Sep 2014 00:58:20 +0000 (00:58 +0000)]
Merge "MyHandler: set ip address to an invalid one when getsockname() returns error." into lmp-dev
Wei Jia [Mon, 22 Sep 2014 23:52:49 +0000 (16:52 -0700)]
MyHandler: set ip address to an invalid one when getsockname() returns error.
Bug:
17556472
Change-Id: I0387c78727d9a18abddcfdb4b480f4b1412bbc9f
Chong Zhang [Mon, 22 Sep 2014 22:17:30 +0000 (22:17 +0000)]
Merge "fix crash when makeHTTPConnection fails with null pointer" into lmp-dev
Chong Zhang [Mon, 22 Sep 2014 19:25:36 +0000 (12:25 -0700)]
fix crash when makeHTTPConnection fails with null pointer
Bug:
17608108
Change-Id: I4bdf6d09ae565418be3d6677b5ccac9072fb9b2c
Andy Hung [Mon, 22 Sep 2014 19:01:38 +0000 (19:01 +0000)]
Merge "MediaCodec: Fix deallocated pointer reference when calling reset()" into lmp-dev
Ronghua Wu [Tue, 9 Sep 2014 17:11:08 +0000 (10:11 -0700)]
NuPlayer: add pause timeout event for offload audio.
Bug:
17375249
Change-Id: Ie59c6b372e9ad2aace3d1e27b9896d79de35d722
Andy Hung [Thu, 18 Sep 2014 21:45:57 +0000 (14:45 -0700)]
MediaCodec: Fix deallocated pointer reference when calling reset()
The name pointer argument in MediaCodec::init() was being
implicitly deallocated.
Bug:
17499622
Change-Id: If9409f95674e52d1478f969f77693c4d27ff1ff2
Wei Jia [Mon, 22 Sep 2014 17:16:29 +0000 (10:16 -0700)]
NuPlayer: use generation to filter out stale message from renderer.
Clean up generation number for decoders.
Bug:
17507846
Change-Id: Ibd2cfe11f89f404882d66c384b5198dc641f5e71
Wei Jia [Mon, 22 Sep 2014 16:03:02 +0000 (16:03 +0000)]
Merge "MediaBuffer: ABuffer will release MediaBuffer when it's destructed." into lmp-dev
Robert Shih [Mon, 22 Sep 2014 15:42:49 +0000 (15:42 +0000)]
Merge "NuPlayer HLS: better subtitle toggling" into lmp-dev
Wei Jia [Fri, 19 Sep 2014 00:36:20 +0000 (17:36 -0700)]
MediaBuffer: ABuffer will release MediaBuffer when it's destructed.
Bug:
17454455
Change-Id: Ia423bcc2e1fa39137f114eac44912ed15357bb99
Eric Laurent [Sat, 20 Sep 2014 02:04:57 +0000 (19:04 -0700)]
audio policy: add hw hotword flag for inputs
Audio input profiles can indicate flag AUDIO_INPUT_FLAG_HW_HOTWORD
meaning they allow capture from the same source as HW hotword
detection.
When a client requests capture with this flag, the policy will
try to find an input profile matching this request first and
fallback to a regular input if not found.
Bug:
17575019.
Change-Id: Ia463211597d7fa363527d776389f2257f0ced9a2
Lajos Molnar [Sat, 20 Sep 2014 02:00:29 +0000 (02:00 +0000)]
Merge "mediaplayer: smooth out videoplayback based on framerate" into lmp-dev
Zhijun He [Sat, 20 Sep 2014 01:06:54 +0000 (01:06 +0000)]
Merge "API1: ZSL buffers should be skipped for manual AF mode" into lmp-dev
Lajos Molnar [Thu, 18 Sep 2014 21:14:29 +0000 (14:14 -0700)]
mediaplayer: smooth out videoplayback based on framerate
Bug:
14659809
Change-Id: I73f6c7224c51ac06487475f9ed395379111ad71f
Marco Nelissen [Sat, 20 Sep 2014 00:41:15 +0000 (00:41 +0000)]
Merge "Make prepare properly report failure again" into lmp-dev
Zhijun He [Fri, 19 Sep 2014 22:51:04 +0000 (15:51 -0700)]
API1: ZSL buffers should be skipped for manual AF mode
ZSL counts on good auto focus (CAF). It is really tricky to enable ZSL for
manual focus mode. as it is bascically a locked focus mode, you can not tell
if the focus is good or not by reading the afstate.
Bug:
17577928
Change-Id: I68ff7d143e7d56f942bb00a8da6a9faea57b52a0
Marco Nelissen [Fri, 19 Sep 2014 22:14:37 +0000 (15:14 -0700)]
Make prepare properly report failure again
Bug:
17583084
Bug:
17548451
Change-Id: I759d28eaafb520c206d54740c2c0a857b534d23c
Robert Shih [Fri, 19 Sep 2014 21:52:30 +0000 (14:52 -0700)]
NuPlayer HLS: better subtitle toggling
Bug:
17310061
Change-Id: Iacee1816285425aaad08c32b28591bb0162d5a85
Lajos Molnar [Wed, 7 May 2014 22:33:04 +0000 (15:33 -0700)]
mediaplayer: schedule video frames in VSYNC valleys
Bug:
14659809
Change-Id: Ic340ac61ad4778b493625c79c2cb4f747ff54ede
Marco Nelissen [Fri, 19 Sep 2014 19:12:35 +0000 (19:12 +0000)]
Merge "Fix ringbuffer handling" into lmp-dev
Marco Nelissen [Fri, 19 Sep 2014 18:46:44 +0000 (11:46 -0700)]
Fix ringbuffer handling
Explicitly keep track of the number of samples in the ring buffer,
rather than inferring it from the difference between the read and
write pointer, since the latter cannot distinguish between a
completely full and a completely empty buffer.
Bug:
17582331
Change-Id: I24d16ce96710209b7457ffad7c4c60201451980f
Eino-Ville Talvala [Fri, 19 Sep 2014 18:30:13 +0000 (18:30 +0000)]
Merge "CameraService: Add client name/pid to device open/close logging." into lmp-dev
Glenn Kasten [Fri, 19 Sep 2014 16:05:05 +0000 (09:05 -0700)]
Reduce log spam from getTimestamp errors
Bug:
17576481
Change-Id: I07d99e7c42b7d4f0994b5a6d9c9fe8eb29fbbe40
Eino-Ville Talvala [Fri, 19 Sep 2014 00:24:22 +0000 (17:24 -0700)]
CameraService: Add client name/pid to device open/close logging.
Bug:
15672812
Change-Id: I1162c6d9d0a1eea1dd32949a04c295b4941d2602
Marco Nelissen [Fri, 19 Sep 2014 00:20:08 +0000 (00:20 +0000)]
Merge "Always consider first buffer to be config" into lmp-dev
Eino-Ville Talvala [Thu, 18 Sep 2014 23:57:49 +0000 (23:57 +0000)]
Merge "CameraService: Fix dump methods for two clients" into lmp-dev
Eino-Ville Talvala [Thu, 18 Sep 2014 22:52:02 +0000 (15:52 -0700)]
CameraService: Fix dump methods for two clients
Actually write dump text into the provided FD, and add a bit more
dump data into CameraDeviceClient.
Bug:
17570762
Change-Id: I37b1db85188855d4e89c8050c4b13f0d22e07e0c
Marco Nelissen [Thu, 18 Sep 2014 22:09:28 +0000 (15:09 -0700)]
Always consider first buffer to be config
for backwards compatibility. Also fix a problem where writing 0
bytes to an empty ringbuffer would treat it as overflowed.
Bug:
17567501
Change-Id: I8019da76466576e1b2984e9eccf09bdec593038a
Phil Burk [Thu, 18 Sep 2014 22:37:13 +0000 (22:37 +0000)]
Merge "mediaplayer: fix buffer aggregation when video has offloaded audio" into lmp-dev
Jean-Michel Trivi [Thu, 18 Sep 2014 22:14:00 +0000 (22:14 +0000)]
Merge "AudioEffect acquires session" into lmp-dev
Jean-Michel Trivi [Thu, 18 Sep 2014 21:07:18 +0000 (14:07 -0700)]
AudioEffect acquires session
Currently, users of audio sessions, AudioTrack and AudioRecord,
are acquiring and releasing audio sessions according to their
life-cycle. AudioEffect instances were not counting as users
of an audio session. This caused an effect used on a session
to be purged by AudioFlinger::purgeStaleEffects_l() whenever
the last user of that session went away.
This CL makes AudioEffect acquire and release a session when
created and destroyed.
Bug
15432115
Change-Id: I922532150009988d43872f9b5928044a830ae0b3
Robert Shih [Thu, 18 Sep 2014 00:05:43 +0000 (00:05 +0000)]
Merge "PlaylistFetcher:don't signal a/v eos on subttitle eos" into lmp-dev
Andy Hung [Wed, 17 Sep 2014 23:31:37 +0000 (23:31 +0000)]
Merge "NuPlayer: update timestamp handling" into lmp-dev
Lajos Molnar [Wed, 17 Sep 2014 23:15:59 +0000 (23:15 +0000)]
Merge "NuPlayer: use getTimestamp instead of getPosition" into lmp-dev
Lajos Molnar [Wed, 17 Sep 2014 23:15:27 +0000 (23:15 +0000)]
Merge "Fix AudioTrack offloaded timestamp handling." into lmp-dev
Andy Hung [Fri, 12 Sep 2014 21:43:11 +0000 (14:43 -0700)]
Fix AudioTrack offloaded timestamp handling.
getTimestamp for offloaded tracks now returns WOULD_BLOCK for
situations where the timestamp is unavailable due to the
previous track still flushing or the timestamp is stale.
It is fixed for normal playback conditions.
Bug:
14659809
Bug:
17428188
Change-Id: Ic9ec07ccabc604236979769db5c4ea2dec252660
Andy Hung [Fri, 12 Sep 2014 22:12:16 +0000 (15:12 -0700)]
NuPlayer: update timestamp handling
Use getTimestamp WOULD_BLOCK error return code to clean up
initial playback/start timestamp handling.
Account for pause time and seeks.
Only send notification from driver when the media time changes.
Bug:
14659809
Bug:
17428188
Change-Id: I051bb5e2dd4fd5990474f8fb635615ad8d18eb2c
Phil Burk [Wed, 17 Sep 2014 23:03:47 +0000 (16:03 -0700)]
mediaplayer: fix buffer aggregation when video has offloaded audio
Change conditional test so we don't accidentally do buffer aggregation
on video buffers.
Bug:
17553847
Change-Id: I746452b2e62db664315732a38f982ce7faf26212
Signed-off-by: Phil Burk <philburk@google.com>
Lajos Molnar [Thu, 28 Aug 2014 14:27:44 +0000 (07:27 -0700)]
NuPlayer: use getTimestamp instead of getPosition
Bug:
14659809
Bug:
16985287
Change-Id: I59ec72fbd40a9b8d28fe548ddad082c03000c045
Eric Laurent [Wed, 17 Sep 2014 22:45:02 +0000 (22:45 +0000)]
Merge "audioflinger: remove debug log." into lmp-dev
Marco Nelissen [Wed, 17 Sep 2014 22:08:31 +0000 (22:08 +0000)]
Merge "Add support for ANDROID_LOOP to NuPlayer" into lmp-dev
Marco Nelissen [Wed, 17 Sep 2014 22:08:10 +0000 (22:08 +0000)]
Merge "Fix null pointer dereference" into lmp-dev
Marco Nelissen [Wed, 17 Sep 2014 19:38:33 +0000 (12:38 -0700)]
Fix null pointer dereference
Bug:
17544813
Change-Id: I6c94cd3056a99bb42fc71ee583938a2e3806fdc7
Eric Laurent [Wed, 17 Sep 2014 19:30:19 +0000 (12:30 -0700)]
audioflinger: remove debug log.
Remove debug log left by commit
ab5cdbaf.
bug:
17537746.
Change-Id: I10f672f607f8e87caaa8228fc05eff8aee7dfa15
Lajos Molnar [Wed, 17 Sep 2014 19:08:24 +0000 (19:08 +0000)]
Merge "mediaplayer: reset flags when pre-reading multiple buffers" into lmp-dev
Eric Laurent [Wed, 17 Sep 2014 18:59:43 +0000 (18:59 +0000)]
Merge "audio policy: fix attached devices validation" into lmp-dev
Robert Shih [Mon, 15 Sep 2014 20:36:30 +0000 (13:36 -0700)]
PlaylistFetcher:don't signal a/v eos on subttitle eos
Bug:
17310061
Change-Id: Ifbca3c12f21171a6e429dca51a250a41051fdd34
Marco Nelissen [Tue, 16 Sep 2014 22:43:44 +0000 (15:43 -0700)]
Add support for ANDROID_LOOP to NuPlayer
Bug:
17518139
Change-Id: I9355ddd4c998d967013dd8bd32d670a9a83dea31
Marco Nelissen [Wed, 17 Sep 2014 04:32:33 +0000 (21:32 -0700)]
mediaplayer: reset flags when pre-reading multiple buffers
Bug:
17521470
Change-Id: I15ee9b1d3dd4ad29f4961a642f7fadafd9fe5b24
Robert Shih [Wed, 17 Sep 2014 03:23:34 +0000 (03:23 +0000)]
Merge "HLS: fix freezes when toggling between a/v streams" into lmp-dev
Robert Shih [Wed, 17 Sep 2014 02:01:57 +0000 (02:01 +0000)]
Merge "NuPlayerDriver: restart after eos pause" into lmp-dev
Robert Shih [Wed, 17 Sep 2014 00:07:22 +0000 (17:07 -0700)]
NuPlayerDriver: restart after eos pause
Bug:
17512187
Change-Id: I204ce83790bf98bc7ffebcb76d5df1e56a6a3f66
Eric Laurent [Tue, 16 Sep 2014 23:38:20 +0000 (16:38 -0700)]
audio policy: fix attached devices validation
Consider all supported devices in an io profile and
not only the first one when looking for a match with attached
devices.
Failing to do so would cause the device validation to fail
if supported devices are not declared in a specific order
in the io profile descriptor in audio_policy.conf
Bug:
17532764.
Change-Id: Id27c9192e21de7f075076e17eb8c48e7e42847f6
Chong Zhang [Tue, 16 Sep 2014 22:29:52 +0000 (22:29 +0000)]
Merge "Disconnect HTTP-based data source upon reset" into lmp-dev
Robert Shih [Tue, 16 Sep 2014 18:34:08 +0000 (11:34 -0700)]
GenericSource: fix selectTrack parameter
Bug:
17512187
Change-Id: I19a0915fb0fb1b1ae036bf5df85b9c9e7657a7ea
Chong Zhang [Sun, 14 Sep 2014 21:28:45 +0000 (14:28 -0700)]
Disconnect HTTP-based data source upon reset
Bug:
17425250
Change-Id: Ieb4c93fd9848489f9dbf35a36474376924fd8eb9
Wei Jia [Tue, 16 Sep 2014 02:26:43 +0000 (02:26 +0000)]
Merge "ASessionDescription: allow open-ended NTP range." into lmp-dev
Robert Shih [Sat, 30 Aug 2014 01:22:44 +0000 (18:22 -0700)]
HLS: fix freezes when toggling between a/v streams
Bug:
17412740
Change-Id: Iacaf2fa1d20584056375803e1782ad6761c56fc5
Robert Shih [Tue, 16 Sep 2014 01:12:02 +0000 (01:12 +0000)]
Merge "ESQueue: do not merge aac packets" into lmp-dev
Wei Jia [Tue, 16 Sep 2014 00:34:19 +0000 (17:34 -0700)]
ASessionDescription: allow open-ended NTP range.
Bug:
17435211
Change-Id: I450d512abdc4368f5180d9859f3b4e207e3b5591
hkuang [Mon, 15 Sep 2014 23:56:40 +0000 (23:56 +0000)]
Merge "Optimize the YUV buffer copy a little bit to skip unnecessary operation." into lmp-dev
Robert Shih [Mon, 15 Sep 2014 23:56:04 +0000 (23:56 +0000)]
Merge "PlaylistFetcher: find the correct sequence number to start fetching" into lmp-dev
Robert Shih [Tue, 2 Sep 2014 23:51:37 +0000 (16:51 -0700)]
ESQueue: do not merge aac packets
Bug:
17310061
Change-Id: Ie0fb0702b0af1c4094415190fdfdf132d5fcd511
Lajos Molnar [Mon, 15 Sep 2014 23:37:50 +0000 (23:37 +0000)]
Merge "mediaplayer: handle surface dis/connection errors" into lmp-dev
hkuang [Fri, 12 Sep 2014 20:38:04 +0000 (13:38 -0700)]
Optimize the YUV buffer copy a little bit to skip unnecessary operation.
Bug:
17326758
Change-Id: I2505751cb40a53242ceeb3be8f362c3754c2ee3f
Robert Shih [Sat, 30 Aug 2014 02:01:29 +0000 (19:01 -0700)]
PlaylistFetcher: find the correct sequence number to start fetching
- skip over bad segemnts
- if we skipped too far into the future when adapting in live streams,
adjust back
Bug:
17141635
Bug:
17416657
Change-Id: I0877ceaf6e69cab751bf9e92579071f9e61643eb
Yin-Chia Yeh [Mon, 15 Sep 2014 22:11:20 +0000 (22:11 +0000)]
Merge "Camera2: handle one more videosnapshot failure" into lmp-dev
Yin-Chia Yeh [Mon, 15 Sep 2014 21:50:06 +0000 (14:50 -0700)]
Camera2: handle one more videosnapshot failure
Handle one more corner case.
Also remove redundant re-try path.
Bug:
17484683
Change-Id: I0b3e1223f4f28022e7ec6abe028ca3c2623829de
Eric Laurent [Mon, 15 Sep 2014 18:36:48 +0000 (18:36 +0000)]
Merge "audioflinger: fix pre processing effect leak" into lmp-dev
Phil Burk [Mon, 15 Sep 2014 18:26:36 +0000 (18:26 +0000)]
Merge "mediaplayer: optimize buffer queue management" into lmp-dev
Eino-Ville Talvala [Mon, 15 Sep 2014 18:11:13 +0000 (18:11 +0000)]
Merge "Camera3Device: Treat failure to idle as an error" into lmp-dev
Lajos Molnar [Mon, 15 Sep 2014 18:04:44 +0000 (11:04 -0700)]
mediaplayer: handle surface dis/connection errors
Bug:
17408008
Change-Id: I752d5372086772b79b1300a2d3fabbc4985954a8
Eric Laurent [Mon, 15 Sep 2014 17:40:22 +0000 (17:40 +0000)]
Merge "audioflinger: send mic mute command to all audio HALs" into lmp-dev
Eric Laurent [Sat, 13 Sep 2014 00:41:50 +0000 (17:41 -0700)]
audioflinger: fix pre processing effect leak
When a capture thread was closed, the effects attached to this thread
were left dangling and the associated effect chain destroyed.
When their last client was disconnected, the effects were not released
properly from the effect library because the destruction process could
not be completed without the effect being attached to a thread.
A similar problem prevented a RecordTrack to be properly released if
its client was destroyed after the capture thread.
The fix consists in allowing the effect or record track to be properly
released even if its parent thread cannot be promoted.
Also save any effect chain still present on a closed capture thread
in case a new client wants to reuse the effects on the same session later.
Bug:
17110064.
Change-Id: I5cd644daa357afd1f3548f9bcb28e6152d95fdb8
Eric Laurent [Sun, 14 Sep 2014 19:11:52 +0000 (12:11 -0700)]
audioflinger: send mic mute command to all audio HALs
Mic mute should be sent to all audio HALs, not
only the primary HAL as telephony can use
capture devices on other HALs (e.g USB)
Bug:
17321604.
Change-Id: I658f6084d5b5cdc5a70784661d5cea0b6f81c3a9
Eino-Ville Talvala [Sun, 14 Sep 2014 22:01:52 +0000 (22:01 +0000)]
Merge "Camera1: Validate scene mode override AF mode" into lmp-dev
Eino-Ville Talvala [Sun, 14 Sep 2014 21:52:19 +0000 (14:52 -0700)]
Camera3Device: Treat failure to idle as an error
Bug:
16899526
Change-Id: Ia995aac6360c9c41ed654af5a7052480f23903d8
Zhijun He [Sun, 14 Sep 2014 19:44:20 +0000 (12:44 -0700)]
Camera3: Update ZSL post-processing tags
Update ZSL processing tags according the still capture template
Also cache the request template to avoid extra cost of querying
into HAL every time.
Bug:
17463102
Change-Id: I2eeffefb0a4131c99a85dd3e4484cc6f0f025efa
Eric Laurent [Sun, 14 Sep 2014 18:47:10 +0000 (18:47 +0000)]
Merge "audio policy: fix relative priorities of PHONE and ENFORCED_AUDIBLE" into lmp-dev
Eino-Ville Talvala [Sat, 13 Sep 2014 20:34:55 +0000 (13:34 -0700)]
Camera1: Validate scene mode override AF mode
Don't allow uncalibrated cameras to list a fixed focus mode for
variable-focus cameras, since uncalibrated cameras cannot do INFINITY
focus.
Bug:
17492043
Change-Id: I5835efd6f21be0ebb74a9b7ea3ef5b2e7cf63e7a
Eino-Ville Talvala [Sat, 13 Sep 2014 21:16:11 +0000 (21:16 +0000)]
Merge "Camera: Allow larger preview resolutions in API1 for >= HALv2 devices" into lmp-dev
Eino-Ville Talvala [Sat, 13 Sep 2014 00:15:24 +0000 (17:15 -0700)]
Camera: Allow larger preview resolutions in API1 for >= HALv2 devices
Limit preview resolutions to a max of 1920x1920 instead of 1920x1080p,
so that any aspect ratio with a 1920 as the larger dimension can be used.
Also improve the initial preview/video size selection logic, to ensure
that the selected size is both a valid preview and video size, and not
too large.
Bug:
17458832
Change-Id: Iea006fadb5fbf0f03d23c3c5babb5b3611469688
Zhijun He [Sat, 13 Sep 2014 18:58:02 +0000 (18:58 +0000)]
Merge "Camera2: fix 4K recording" into lmp-dev
Yin-Chia Yeh [Fri, 12 Sep 2014 21:50:27 +0000 (14:50 -0700)]
Camera2: fix 4K recording
Bug:
17484683
Change-Id: I09bb12698057555329286c777102b9b310452fb3
Jon Eklund [Tue, 9 Sep 2014 20:39:49 +0000 (15:39 -0500)]
audio policy: fix relative priorities of PHONE and ENFORCED_AUDIBLE
ENFORCED_AUDIBLE should only be highest priority if system tones
are being forced. Otherwise it should behave like SONIFICATION.
Bug:
17474485.
Change-Id: Ia651779870d51100cc3179c96fa09694bc691ba7