142444 Commits

Author SHA1 Message Date
Naveen Kumar Ponnusamy
ee64575cf7 Added a test for HEVC playback memory usage
Bug: 14571712
Change-Id: If5c4053dea23142b73aed77498c93e149b7ef9b2
2014-07-12 22:13:32 +00:00
Derek Tan
73a4b86596 Merge "Allow 1st party app to set Line 1 number for display purpose." 2014-07-11 23:25:18 +00:00
Lajos Molnar
b1a236b85f add utility methods to util.Range, Rational and Size
Bug: 12065651
Bug: 11990470
Change-Id: I0d0929ea0289ac5de5c17cca90f25abc4e9dfd7a
2014-07-12 14:12:27 -07:00
Derek Tan
818631b679 Allow 1st party app to set Line 1 number for display purpose.
After the number is set, TelephonyManager.getLine1Number will actually
return this one instead of the actual MSISDN/MDN.

Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf
2014-07-12 13:36:28 -07:00
dcashman
9726eeb2b0 Merge "Revert "Initial KeySet API."" 2014-07-11 23:25:18 +00:00
dcashman
5de7377fec Revert "Initial KeySet API."
This reverts commit 9a643fe02bc960e266484547dda5572b094a4c72.
2014-07-12 13:04:20 -07:00
dcashman
405912bce0 Initial KeySet API.
Bug: 6967056
Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae
2014-07-12 12:09:40 -07:00
Colin Cross
325503caef Merge "Revert "New SMS and MMS APIs and semantics (1/4)"" 2014-07-10 21:09:47 +00:00
Colin Cross
8bf8931d7d Revert "New SMS and MMS APIs and semantics (1/4)"
This reverts commit f0dff59af4a1566d8d8bd997d059fcb9dddf2cb4.

Change-Id: I6b9206d80ae72fdb42d48b173927e63e5742f1b2
2014-07-12 01:06:38 +00:00
Lajos Molnar
60fde9d254 media: add crop rectangle to Image
Bug: 10706245
Change-Id: I9c9150bdef418fd96228addaa7c35f16e5e1ccff
2014-07-12 01:04:03 +00:00
Jungshik Jang
97affee67b Start system audio initialization mode on new device discovery.
If a new device is avr and current tv setting is system audio mode,
we should launch SystemAudioAutoInitiationAction.

Bug: 15843140

Change-Id: I8db89e9be21572e304e6eebb5948a7981df14e90
2014-07-12 09:38:57 +09:00
Jinsuk Kim
09ffc846af Store active source/active port in HdmiControlService when disabled
This lets the service keep track of the latest change made by TV app
or TIF regarding active source/port.

Bug: 16222083
Change-Id: I0f1a4520eb3e52ca5024567b0f1fbe4fd59e8cbf
2014-07-12 00:34:28 +00:00
Jinsuk Kim
af2acf0447 Keep preferred address for HdmiControlService
Uses SystemProperties to store/retrieve preferred logical address

Bug: 15843075
Bug: 15844858
Change-Id: Ie1304805cbec4e11ef4b44a5cceb108121c60581
2014-07-12 00:29:07 +00:00
Ye Wen
8ee8d882ac New SMS and MMS APIs and semantics (1/4)
API changes for SMS and MMS AIDLs

b/14095333

Change-Id: I04f05c1952135cb4b5d422df060ca4054c14e5e5
2014-07-11 16:45:51 -07:00
Jeff Sharkey
4901d62f16 Merge "ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage." 2014-07-10 21:09:47 +00:00
Shishir Agrawal
56be215bcc ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage.
Fixes the build breakage due to overloading in the aidl.

Change-Id: Id3199bf2d21b1834183c90904417ed016d34e052
2014-07-11 16:33:37 -07:00
Etan Cohen
a4d88d1e6e IMS: Add Config interface to get/set IMS service/capabilities
Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573
2014-07-11 23:23:34 +00:00
Adam Powell
1c35b08c93 Add ViewGroup#getClipToPadding()
It's kind of silly that we've gone this long without a good way to
query this since it makes writing custom views that properly handle
EdgeEffects, etc. a real pain.

Change-Id: I08e1cdf9ec7b8ec3c287c22a5aa19d07a166a4e0
2014-07-11 16:12:53 -07:00
Alan Viverette
4d065a04ce Remove old listener when rebinding SwitchPreference
Also fixes switch animation during scrolling, unnecessary call to
requestLayout() on drawable invalidate, and potential NPE.

BUG: 16225972
BUG: 4312303
Change-Id: I015d1f03206dd2c812592b0abfa4214a3de73d3f
2014-07-11 23:03:52 +00:00
destradaa
a4fa3b5aa5 Add support in the platform for Activity Recognition Hardware.
Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
2014-07-11 15:58:36 -07:00
Yuncheol Heo
2c1d7b3b9f Merge "Handle TODO in SystemAudioActionFromTv." 2014-07-10 21:52:20 +00:00
Yuncheol Heo
c516d65fd9 Handle TODO in SystemAudioActionFromTv.
- Added onFinishedCallback to handle the deferred starting of FeatureAction.

Bug: 15843078, Bug: 15841546
Change-Id: I6cb5fba91d6115e8bb02c38601a72ed315c22e2f
2014-07-12 08:09:33 +09:00
John Spurlock
dfd6b4e9f4 Merge "Volume: Extend the volume dialog timeout for notifications." 2014-07-10 21:35:02 +00:00
John Spurlock
ea9938ca5f Volume: Extend the volume dialog timeout for notifications.
Even when the condition panel is collapsed, increase the timeout
a bit to aid readability.

Bug:16237299
Change-Id: I36d01300a94f17e02ee35b5a6f549ed180532ad8
2014-07-11 18:51:32 -04:00
Yohei Yukawa
ca249dc634 Merge "Fix SDK build breakage" 2014-07-10 21:52:20 +00:00
Jean-Michel Trivi
998ff75484 fix build: hide AudioAttributes.usageToString() method
Change-Id: I1041d9bf530df45878dd61e30e32f5a2f4f9d1a1
2014-07-11 10:01:00 -07:00
Yohei Yukawa
69684533cd Fix SDK build breakage
This should have been included in I3c6b69bd9d79b199afe68d838f25effa6

BUG: 15812658
BUG: 16118603
Change-Id: I298206008fc28faa4f6576a77d56251f873f233c
2014-07-12 01:59:07 +09:00
Svetoslav
15cbc8a032 Addressing comments for the print preview feature.
Change-Id: Ib72140a912e22f859258d970e0d1c4ef06e807d5
2014-07-11 16:46:46 +00:00
Narayan Kamath
398b6c26c3 Fix an abi <-> instructionSet mixup.
We should be calling is64BitInstructionSet and
not is64BitAbi.

Change-Id: I5b099af19f1d7409f65f63493d3f13a830f4fb5d
2014-07-11 16:38:20 +00:00
Amith Yamasani
6b58d328b7 Merge "Fix apparent delay in removing a managed profile" 2014-07-10 21:14:09 +00:00
Amith Yamasani
70fcf0c75f Fix apparent delay in removing a managed profile
Bug: 15268575

When returning the list of profiles, don't include dying users.

Change-Id: Ifeaed5c7c2b93922cddea22057dd890a1b3750fc
2014-07-11 08:41:52 -07:00
Narayan Kamath
4d8c132609 Allow 3 letter language codes in InputMethodUtils.
Replace locale.substring(0, 2) with a function that always
returns the first component of the locale (assumed to be the
language).

bug: 10090157
Change-Id: Ibb9eb9f65323795d139b16d76b7e7e36a4e0568c
2014-07-11 15:37:08 +00:00
Jorim Jaggi
fb98a5023e Fix weird state when tracking and pressing back
Bug: 10934514
Change-Id: I60bbd6005e664033ed22c87b404ddc918e5f2c0e
2014-07-11 15:28:58 +00:00
John Spurlock
be8df5aea8 Merge "Volume: delay dismissing panel when starting settings." 2014-07-10 21:35:02 +00:00
John Spurlock
1dad272337 Volume: delay dismissing panel when starting settings.
Bug:16211952
Change-Id: I067721d932076dafb35c6afd99583301acff9bea
2014-07-11 11:07:53 -04:00
Junda Liu
61c9ba0de8 Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)." 2014-07-10 21:02:07 +00:00
Svetoslav
000f88c9e8 Adding back accidentally removed constants
Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1
2014-07-11 22:54:28 +00:00
Junda Liu
142529702d Add hidden systemapi hasCarrierPrivileges(pkgname).
Change-Id: I153f5c7cff1734c87587c3741051177ce54ba654
2014-07-11 15:54:17 -07:00
Sreeram Ramachandran
c344f9b800 Merge "Delete unused APIs in NetworkManagementService." 2014-07-11 21:38:19 +00:00
Svetoslav
39afc200f2 Remove commented out dead code
Change-Id: I3e59d0ee55fd864ea0d8bc5f99cdb74d9b0e49bb
2014-07-11 22:49:59 +00:00
Fabrice Di Meglio
dfaa6c7439 Fix TimePicker behavior
- use Alert Theme and make the TimePickerDialog show its done button
in the legacy mode
- if targetSdkVersion < L or if TV UI show the legacy TimePicker

Change-Id: I19ca6dbbcb50599c7e230262a23956c185f53a5c
2014-07-11 22:48:26 +00:00
Sreeram Ramachandran
31ab41726b Delete unused APIs in NetworkManagementService.
Change-Id: Idc6c0ac0d3a4149821fc7820b7f37d4209fc55d3
2014-07-11 15:47:51 -07:00
Lajos Molnar
82fa0e7f78 MediaCodec: update documentation on buffer metadata.
- Deprecated BUFFER_FLAG_SYNC_FRAME (as it actually marks key
  frames).
- Clarified that BUFFER_FLAG_KEY_FRAME is used for encoded output
  buffers.
- Clarified that presentationTimeUs is not an actual render
  timestamp (as opposed to releaseOutputBuffer's render timestamp).

Bug: 12006531
Change-Id: Ia27b9f606a9d7eef9c0c2900cd864a4421c7cf31
2014-07-11 15:43:36 -07:00
Svetoslav
1710e0318d Fix print preview rendered page preloading.
After the preview list is scrolled we are preloading the
pages around the ones that are shown, so now if the user
does a slight adjustment (expected after a scroll) the
pages around are rendered. There was an off by one error
and one of the bitmaps of the shown pages was reused and
as a result the wrong content was shown.

Change-Id: If04aebf46bcc637491221c6218005ecc1a7253d2
2014-07-11 22:23:58 +00:00
Svetoslav
53912d07d2 Fix the print button appearance.
Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b
2014-07-11 21:42:06 +00:00
Deepanshu Gupta
c5a58437e6 Style improvements to LayoutLib create.
This change doesn't change the functionality but removes dead code and
simplifies various places to remove warnings.

Change-Id: I371e06bfbd587dbf0eeafc69787b9805f7008f62
2014-07-11 21:40:46 +00:00
Deepanshu Gupta
26e32ea559 Update delegates
Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a
2014-07-11 21:40:27 +00:00
Vinit Deshpande
c078502633 Merge "Unhide WifiAdapter APIs" 2014-07-11 17:04:34 +00:00
Craig Mautner
a228ae95ea Add task affiliation
Introduces new flag Intent.FLAG_ACTIVITY_LAUNCH_BEHIND which
causes the newly launched task to affiliate with the launching task.
(Later this flag will also launch the task behind the current task).
This shows up in a new member of the RecentTaskInfo class. This also
causes the recents list returned by getRecentsInfo to be rearranged
so that affiliated tasks are together.

Fixes bug 16157517.

Change-Id: Ia1386af50da2f01809278b62d249f05c6a0de951
2014-07-11 21:18:27 +00:00
Vinit Deshpande
81e32da98f Unhide WifiAdapter APIs
Change-Id: Ia19ab4cfddddd3285ae9e0c5804f2cceda4cf063
2014-07-11 21:12:36 +00:00