7473 Commits

Author SHA1 Message Date
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
Santos Cordon
a2492810df Move Phone.java APIs into InCallService
This change is one step in the right direction of getting rid of
Phone.java.

Phone.java was deemed superfluous and this change moves the methods
previously exposed in Phone.java into InCallService.  This was done by
having InCallService listen to Phone and pipe the calls as appropriate.
However, state still lives in Phone and we eventually want to move that
code into InCallService.  That will be done in a later CL.

Bug: 20160495
Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
2015-04-16 10:54:12 -07:00
Chris Watkins
56d16568c0 Merge "Unhide the android.media.[Media]DataSource interface." 2015-04-16 17:06:46 +00:00
Yorke Lee
a22a09666b Merge "Change hasVoicemailNumber to getVoicemailNumber" 2015-04-16 17:05:19 +00:00
Mady Mellor
8d572dd1e2 Merge "New listener to recognize stylus button press gesture in GestureDetector" 2015-04-16 16:55:07 +00:00
Paul Jensen
25a217c0fb Add captive portal API.
This API allows apps other than the system's CaptivePortalLogin
to handle signing in to captive portals.

bug:19416463
Change-Id: I27fce5856b635233e6ff66396d50ccabedd76cf5
2015-04-16 16:53:10 +00:00
Yorke Lee
49e2d46812 Change hasVoicemailNumber to getVoicemailNumber
Bug: 20223485

Change-Id: I67eb12e2030ec8f73326ade4eb750b0c2f6e52ad
2015-04-16 09:30:57 -07:00
Joseph Cooper
55b9ed42d3 Introduces navigation keycodes.
These four new navigation keycodes are intended to be used to
navigate a tree hierarchy or list of items.  They should be used to
allow the user to advance forward or backward within a list of
sibling items, expand the currently selected item to navigate the
item's children, or back out from the current item to its parent
item or state.

Change-Id: Ie2b85b3e4c682b0698599d7bcf64a53f6a52d776
2015-04-16 09:27:00 -07:00
Casper Bonde
2a5f608e7a Add support for Bluetooth Sim Access Profile (2/4)
Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
2015-04-15 23:45:51 -07:00
Vinit Deshpande
dae67ef343 Merge "TelephonyManager Carrier Network Change Notification" 2015-04-16 04:43:21 +00:00
Jay Shrauner
e14bbcc0e2 DO NOT MERGE Hide getUserSelectedOutgoingPhoneAccount
Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
2015-04-15 20:49:15 -07:00
Vinit Deshpande
cb43ebb360 Merge "am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release" 2015-04-16 02:36:30 +00:00
Raph Levien
e319d5a362 Add left and right indent arrays to TextView
In support of layout of paragraphs to non-rectangular regions, add
arrays for left and right indents to TextView, along with supporting
StaticLayout builder setters.

Bug: 20182243
Change-Id: I015bcef8f258c89001fcf8a54c179d2dfc0d7943
2015-04-15 18:57:53 -07:00
John Spurlock
a419dd1616 Merge "Zen: Add notification policy management api." 2015-04-16 01:19:27 +00:00
Andres Morales
4062c69d9a Merge "Make CryptoObject constructor public" 2015-04-16 01:08:44 +00:00
Craig Mautner
556a4d2397 Merge "Fix build." 2015-04-16 00:37:38 +00:00
Jason Sams
a217d69d05 Merge "Hide array allocation" 2015-04-16 00:35:23 +00:00
Jorim Jaggi
9e682ee383 Make CryptoObject constructor public
Change-Id: I9bfedd5113af7b4717194d99c7c9898753ea2ebd
2015-04-15 17:32:42 -07:00
Jason Sams
d016266de2 Hide array allocation
Not done for feature complete

Change-Id: I79c8da2c7e64d6feb660c9652688f971535c1f92
2015-04-15 17:18:10 -07:00
Jay Shrauner
596b8899af Merge "Hide getUserSelectedOutgoingPhoneAccount" 2015-04-16 00:16:46 +00:00
Craig Mautner
a8af4ab2b2 Fix build.
Change-Id: I46173df41fcfe44e44e030893bf60a8398c2c7f0
2015-04-15 17:15:35 -07:00
Chris Watkins
4eaa293808 Unhide the android.media.[Media]DataSource interface.
This allows apps to implement MediaDataSource, which is modeled on
stagefright's DataSource, to supply media data to the framework. This
was already implemented for MediaExtractor, but it was renamed from
DataSource.

MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new
overload: #setDataSource(android.media.MediaDataSource)

Only NuPlayer supports this new data source.

The change introduces:
 * IDataSource:        The binder interface for DataSource.
 * JMediaDataSource:   The native counterpart to the java interface. It
                       implements IDataSource.
 * CallbackDataSource: A stagefright DataSource that wraps an IDataSource.

Change-Id: I6d9c1167b4a7384c469b1e928f31791a7ebed716
2015-04-15 16:33:15 -07:00
Jonathan Basseri
3031bf9611 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-15 16:06:51 -07:00
Jorim Jaggi
053dee7928 Merge "More fingerprint API's for 3rd party apps" 2015-04-15 22:56:09 +00:00
Jay Shrauner
225ccadc03 Hide getUserSelectedOutgoingPhoneAccount
Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
2015-04-15 15:51:15 -07:00
Craig Mautner
41014801d1 Merge "Introduce android:lockTaskMode" 2015-04-15 22:45:46 +00:00
Jorim Jaggi
2aad7ee245 More fingerprint API's for 3rd party apps
- Make isHardwareAvailable public
- Add hasEnrolledFingerprints so apps can check whether to show
fingerprint UI or not.

Change-Id: Iaefd5e9e68bf3bee8305574dc1477ea9bc72b30a
2015-04-15 14:55:43 -07:00
Jay Shrauner
1cf9b6bec1 DO NOT MERGE Make Telecom/InCallUI APIs public
Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-04-15 14:42:24 -07:00
Craig Mautner
15df08abd8 Introduce android:lockTaskMode
The ability for tasks to be started in locktask mode or pinned is
dependent on the value of android:lockTaskMode for the root activity
of the task.

For bug 19995702

Change-Id: I514a144a3a0ff7dbdd4987da5361b94bdfe9a437
2015-04-15 14:27:56 -07:00
Yorke Lee
1a8727b7cd Merge "Make defaultOutgoingPhoneAccount public" 2015-04-15 21:25:55 +00:00
Yorke Lee
383932ad8e DO NOT MERGE Make defaultOutgoingPhoneAccount public
Bug: 20224972
Change-Id: Ided1aab01d5014bd608d0d139975f933f64341c5
2015-04-15 14:24:36 -07:00
Paul McLean
55787399c9 Merge "Audio Devices Enumeration/Notification API" 2015-04-15 21:08:27 +00:00
John Spurlock
1fc476d512 Zen: Add notification policy management api.
- Allow apps to read and modify notification policy (currently
   which items are prioritized in "priority only" mode), but only
   after they've been granted access by noman.
 - Access to read/modify notification policy requires a token provided
   by noman.  Enabled notification listeners are automatically given
   tokens (new getter on NLS), but any other app can also request them.
 - Currently, all requests are granted.
 - Also add a new change intent when the public policy changes.

Bug: 18541928
Change-Id: I482d1c39852d0d961931515e0f0e059a8faee4ed
2015-04-15 16:58:30 -04:00
Wale Ogunwale
500c1b8177 Merge "Added TYPE_APPLICATION_ABOVE_SUB_PANEL window type." 2015-04-15 20:50:53 +00:00
Alan Viverette
88111f7bef Colored button should be using inverse primary text color
Bug: 20227868
Change-Id: I4c3ea4cd5b1dc36014dfff4ae63b085e2268a4fa
2015-04-15 13:44:05 -07:00
Jay Shrauner
870edddcbe DO NOT MERGE Hide Voicemail APIs
Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
2015-04-15 13:17:11 -07:00
Yorke Lee
f5d5840b66 Make defaultOutgoingPhoneAccount public
Bug: 20224972
Change-Id: I8bbf92258461d522ec57cfe610ca4c969bec75be
2015-04-15 12:53:53 -07:00
Jay Shrauner
62ad27e864 DO NOT MERGE Hide Voicemails.{insert, deleteAll, setStatus}
Bug:20162722
Change-Id: Idbd9a643c4870b48ee1230e344717f50507936d8
2015-04-15 12:38:20 -07:00
Jay Shrauner
cd1bbf2941 Merge "Make Telecom/InCallUI APIs public" 2015-04-15 19:25:32 +00:00
Ruben Brunk
93f593fdef Merge "camera: Add eviction errorcode to Camera1 API." 2015-04-15 19:16:39 +00:00
Ruben Brunk
e91b92546e camera: Add eviction errorcode to Camera1 API.
Bug: 19186859
Change-Id: Ie46150d130e769feb62935ebee8e32e96c0821fd
2015-04-15 12:13:26 -07:00
Jay Shrauner
55b97525f0 Make Telecom/InCallUI APIs public
Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-04-15 12:03:48 -07:00
Eino-Ville Talvala
e9e5a162c0 Merge "Camera2: Add prepare method for output buffer pre-allocation" 2015-04-15 17:56:39 +00:00
Casper Bonde
d05bd467ba Add support for Bluetooth Sim Access Profile (2/4)
Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
2015-04-15 10:54:08 -07:00
Wale Ogunwale
ad83f87bcf Merge "@hide Binder#blockUntilThreadAvailable API" 2015-04-15 17:38:17 +00:00
Benjamin Franz
47af53ed95 Merge "Introduce device owner API to disable the status bar" 2015-04-15 17:22:40 +00:00
Paul McLean
a33be211e7 Audio Devices Enumeration/Notification API
Change-Id: I4eecfa43e4fecfe309ddd805ed193d078b10d5e6
2015-04-15 10:56:49 -06:00
Yorke Lee
114b78bf1a Merge "Changes for TelecomManager API review" 2015-04-15 16:30:46 +00:00