10295 Commits

Author SHA1 Message Date
Robert Shih
b14e37cb37 Merge "MediaPlayer: initial timed id3 support" 2015-04-18 02:50:13 +00:00
Robert Shih
ac033f033d MediaPlayer: initial timed id3 support
Change-Id: Ibf2ea8fa1b44f2953bda49cdc6da979c2d3f6be2
2015-04-17 19:49:13 -07:00
Amith Yamasani
eab852cb34 Merge "Add isSystemUser API" 2015-04-18 02:01:18 +00:00
Amith Yamasani
5760e1786b Add isSystemUser API
Bug: 20348316
Bug: 19945747
Change-Id: Ibb81f0b2fccec621e26e4543bf9f26ffddfafb15
2015-04-17 18:52:26 -07:00
Svetoslav
6c589570c4 Remove unnecessary WRITE_SMS permission - framework
Currently only one app can write to the SMS provider and it has to
be set as the default SMS app by the user in the UI. The default
SMS app is set by enabling the write SMS app op for it and keeping
this op off for other SMS apps. Hence, this permission does not
guard anything and can be taken out. The API change is fine as if
an app refers to the permission in the manifest as string it will
be ignored and if it was referred in Java the value is statically
compiled in the source.

Change-Id: I1128c3b034e6c7dda4baa051500ac1ef46a53575
2015-04-18 00:18:53 +00:00
Doris Liu
b1b0aa58bf Merge "Revert "Use real screen size to scale duration"" 2015-04-18 00:14:38 +00:00
Doris Liu
7513aab4df Revert "Use real screen size to scale duration"
This reverts commit 5ed54c743c04e2bc349e12c31adb67cbc3094651.

Reverting to avoid build breakage.

Change-Id: Ib73056bb5a11e718cbc82db5917946bdf8db06dc
2015-04-18 00:14:14 +00:00
Doris Liu
14e317a33c Merge "Use real screen size to scale duration" 2015-04-17 23:40:55 +00:00
Doris Liu
5ed54c743c Use real screen size to scale duration
Duration scale based on screen size was using the area of the screen
excluding system bars to compare with our reference device's screen
size. This caused the following issues:
1) On baseline device (i.e N5) a scaling factor that is not 1 will be
   applied to the duration.
2) Scaling on the same device will be different in landscape vs.
   portrait, as the system bars take different amounts of space in
   different orienations.

This CL fixes both of the above issues.

Bug: 20309042

Change-Id: I9d1d0a471d968bee1330b80f0f69a0066d6a1860
2015-04-17 16:25:01 -07:00
Alan Viverette
b75de201db Merge "Restore windowMinWidthMajor/Minor in alert dialog overlay theme" 2015-04-17 22:16:08 +00:00
Alan Viverette
614b9563c8 Restore windowMinWidthMajor/Minor in alert dialog overlay theme
Bug: 20185630
Change-Id: Ic4a6b3d84a24c26846ea0fcc3ce32ca882e4dd95
2015-04-17 14:36:51 -07:00
Yorke Lee
f200406150 Merge "Set default values for VVM constants in CarrierConfigManager" 2015-04-17 21:26:21 +00:00
Yorke Lee
2850d7a599 Set default values for VVM constants in CarrierConfigManager
* Also hide the constants, they don't need to be @SystemApi
* Make VVM_PORT_NUMBER an Int

Bug: 20272209
Change-Id: I0d47afd7916d40f77ba5bf8e95306b46b27c15b3
2015-04-17 14:24:20 -07:00
Andy Hung
eaa388bc2c Merge "Add non-blocking writes to AudioTrack" 2015-04-17 20:38:24 +00:00
Eino-Ville Talvala
7b4e887390 Merge changes from topics 'add-depth-capability', 'add-highresolution-level'
* changes:
  Camera2: Add DEPTH_OUTPUT capability and DEPTH_DEPTH_IS_EXCLUSIVE field.
  Camera: Add HIGH_RESOLUTION hardware level.
2015-04-17 20:22:43 +00:00
Andy Hung
e354f5d580 Merge "Add non-blocking reads to AudioRecord" 2015-04-17 19:51:36 +00:00
Eino-Ville Talvala
0b7b03b35f Camera2: Add DEPTH_OUTPUT capability and DEPTH_DEPTH_IS_EXCLUSIVE field.
- Define DEPTH_OUTPUT capability and its requirements.
- Add DEPTH_IS_EXCLUSIVE to support devices that cannot produce color and depth
  for the same capture.

Change-Id: I6e511b7b8625907d9fc751fe8a73a443edeeb2ab
2015-04-17 10:52:42 -07:00
Eino-Ville Talvala
86ea32a68c Camera: Add HIGH_RESOLUTION hardware level.
For camera devices that support very high resolutions, add
a level that allows for those resolutions to operate at lower
capture rates, while ensuring that a reasonable resolution is
still available for high-rate capture.

Change-Id: I4a0d904504ac8a976bd02fba89b238048d55a268
2015-04-17 10:52:41 -07:00
Chris Craik
66b4139d6a Hide transient view API
bug:18621099

Change-Id: I25f64bc50bbbcf9fbbd8a4cdf81cacb61fa256f0
2015-04-17 10:09:05 -07:00
Chet Haase
8a2c92c834 Merge "Add transient views to ViewGroup" 2015-04-17 12:34:11 +00:00
Martijn Coenen
4598c375df am 14e24b4b: am cb477625: am e386f7f5: Merge "Expose peer LLCP version in NDEF callbacks."
* commit '14e24b4b4495484c05f38cab1b5b3ae8443394a6':
  Expose peer LLCP version in NDEF callbacks.
2015-04-17 07:47:00 +00:00
Martijn Coenen
cb4776254c am e386f7f5: Merge "Expose peer LLCP version in NDEF callbacks."
* commit 'e386f7f5108e9c2aa7547394f23d5936d7993cfe':
  Expose peer LLCP version in NDEF callbacks.
2015-04-17 07:25:27 +00:00
Andy Hung
4aacc903e3 Add non-blocking writes to AudioTrack
Change-Id: I4ff47c2851be1b085f4e758f67e391932371027d
2015-04-17 00:16:17 -07:00
Martijn Coenen
e386f7f510 Merge "Expose peer LLCP version in NDEF callbacks." 2015-04-17 07:02:59 +00:00
Andy Hung
0e9e2f3724 Add non-blocking reads to AudioRecord
Change-Id: I63d5345129f197f96f9a13696996071c96551efe
2015-04-16 23:57:13 -07:00
Adrian Roos
94e15a59b7 Allow dismissing Keyguard from TrustAgentService
Bug: 19900313
Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
2015-04-17 01:12:30 +00:00
Chet Haase
c633d2f2b8 Add transient views to ViewGroup
This change allows clients to add temporary (transient) views to a
list of such views in any layout container. These views will be drawn at
the specified index when the container is being rendered, but will otherwise
not participate in the normal events of child views, such as focus,
input, and accessibility. The purpose of this functionality is to
enable better animations when views have been removed, such that clients
can add them back into containers temporarily while an animation runs,
then remove them when the animation finishes. This functionality is similar,
albeit a subset, of the what ViewGroupOverlay provides, but this API
allows clients to interleave these views with the other children in
the container, which allows correct drawing order. ViewGroupOverlay,
and the older internal mechanism used by the old animation package,
draw all of their views after a container is drawn, which pops
these temporary views on top of the other children in the container.

Issue #18621099 Enable View overlay to respect elevation and shadows

Change-Id: I530df69b406aa27b9f551f5724384f4dd1215a6f
2015-04-17 00:30:21 +00:00
Eric Laurent
71a9cfc08c Merge "Adding explicit routing API to AudioTrack" 2015-04-17 00:30:03 +00:00
Andrew Lee
84a264004d Remove deprecated VideoCallListener methods.
These shouldn't be needed because the video call APIs were never
previously made public.

Bug: 20160491
Change-Id: Ic9c5d0d1e8618bfe61f8905d4afaeaa37f51c915
2015-04-16 17:07:12 -07:00
Santos Cordon
223a80d7c6 Merge "Unfinal getPhone." 2015-04-16 23:42:01 +00:00
Santos Cordon
29886d8571 Unfinal getPhone.
The change to make it final was breaking existing apps.

...and other changes.

Bug: 20283873
Change-Id: I8db4243850ad15f688dbca59ff5427b4799cbd1b
2015-04-16 16:12:20 -07:00
Wei Jia
402d7ca70c Merge "MediaSync: get original sample rate from audio track." 2015-04-16 22:39:47 +00:00
Wale Ogunwale
2c1d9652fa Merge "Return more information when getAppTasks#getTaskInfo is called." 2015-04-16 22:36:54 +00:00
Wale Ogunwale
6041cc1a07 Merge "Added attribute showForAllUsers that deprecates showOnLockScreen" 2015-04-16 22:35:35 +00:00
Alex Klyubin
1a02a53cf4 Merge "Unhide KeyStoreKeyProperties.Origin.UNKNOWN." 2015-04-16 22:31:31 +00:00
Wei Jia
ba5997e574 MediaSync: get original sample rate from audio track.
Bug: 19666434
Change-Id: I787b7b06fc5bbff038fb6d06b6f0b869d744ebb3
2015-04-16 15:30:51 -07:00
Alex Klyubin
ed7a218592 Unhide KeyStoreKeyProperties.Origin.UNKNOWN.
Bug: 18088752
Change-Id: Idaed45d7e84f5f3eb4f623552b60206c504e967a
2015-04-16 15:26:50 -07:00
Andrew Lee
843b327ae2 Merge "Rename Call*Listener to Call*Callback." 2015-04-16 22:18:39 +00:00
Andrew Lee
da80c870a8 Rename Call*Listener to Call*Callback.
Deprecate the existing Listener methods and interfaces so that they
can be replaced.

Bug: 20160491
Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
2015-04-16 15:17:20 -07:00
Nancy Chen
5c86e922dd Add keys for visual voicemail carrier configuration values
Each carrier has its own set of visual voicemail configuration values
to be retrieved from the carrier config manager API.

Bug:19236241
Change-Id: Ic1d59a13d2203c70aba178c315c47ec2661ea56e
2015-04-16 13:55:21 -07:00
Tim Murray
33d930ad96 Merge "Unhide BLAS intrinsics." 2015-04-16 20:13:53 +00:00
Junda Liu
eaacd1e937 Merge "Adding Carrier Config API." 2015-04-16 20:13:52 +00:00
Alan Viverette
d19512bbfa Merge "Colored button should be using inverse primary text color" 2015-04-16 20:03:27 +00:00
Paul McLean
88e1d86a87 Adding explicit routing API to AudioTrack
Change-Id: Iee7e1ce79e3efd3f8aafd0a5899fe037d314e1be
2015-04-16 14:02:16 -06:00
Jonathan Basseri
9a1c9b67c4 Adding Carrier Config API.
UICC privileged carrier apps will extend CarrierConfigService to provide
carrier-specific configuration. Apps/services will use
CarrierConfigManager to read the current configuration.

CarrierConfigManager also defines the set of configuration variables and
their default values.

Bug: b/19483786
Change-Id: I027211b43276afd6fe893ae50048c52f2aed5cf5
2015-04-16 11:40:33 -07:00
Tim Murray
ef0e1c6a0c Unhide BLAS intrinsics.
Change-Id: I3006d878e68cce833d8f26cb5d8a1a660a6f5565
2015-04-16 11:15:43 -07:00
Wale Ogunwale
6035e0198b Return more information when getAppTasks#getTaskInfo is called.
The RecentTaskInfo object returned when getAppTasks#getTaskInfo
is called now contains baseActivity, topActivity, and numActivities.

Bug: 18723935
Change-Id: Ifc0cd68a57ed2c0823c23ac8d27e3b6ea6bc95e2
2015-04-16 11:14:46 -07:00
Wale Ogunwale
6dfdfd6741 Added attribute showForAllUsers that deprecates showOnLockScreen
The new name is more meaningful to what the attribute actually does.

Also, force the FLAG_SHOWN_WHEN_LOCKED flag for windows that belong
to acitivties with the showForAllUsers attribute set.

Bug: 20227306
Change-Id: Ifd49166c3ec0e67ae43addc0fb30038523332ea5
2015-04-16 10:59:16 -07:00
Hiroshi Yamauchi
2052907d02 Merge "Unhide Debug.getRuntimeStat()." 2015-04-16 17:58:40 +00:00
Santos Cordon
0d4e216665 Merge "Move Phone.java APIs into InCallService" 2015-04-16 17:58:16 +00:00