10295 Commits

Author SHA1 Message Date
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
Yorke Lee
49e2d46812 Change hasVoicemailNumber to getVoicemailNumber
Bug: 20223485

Change-Id: I67eb12e2030ec8f73326ade4eb750b0c2f6e52ad
2015-04-16 09:30:57 -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
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
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
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
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
Yorke Lee
f5d5840b66 Make defaultOutgoingPhoneAccount public
Bug: 20224972
Change-Id: I8bbf92258461d522ec57cfe610ca4c969bec75be
2015-04-15 12:53:53 -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
Jay Shrauner
773535cf04 Merge "Remove deprecated telecom APIs. Mark others final." 2015-04-15 18:03:24 +00:00
Eino-Ville Talvala
e9e5a162c0 Merge "Camera2: Add prepare method for output buffer pre-allocation" 2015-04-15 17:56:39 +00: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
Jay Shrauner
560a833806 Merge "Hide Voicemail APIs" 2015-04-15 16:40:33 +00:00
Yorke Lee
114b78bf1a Merge "Changes for TelecomManager API review" 2015-04-15 16:30:46 +00:00
Wale Ogunwale
8d90634aab @hide Binder#blockUntilThreadAvailable API
Bug: 19297165
Change-Id: I15f1139330830b95d7078a5eedd6def794cca6a7
2015-04-15 09:10:03 -07:00
Benjamin Franz
ea2ec97f37 Introduce device owner API to disable the status bar
Let the device owner disable the status bar to achieve multi-app single purpose
mode. When the status bar is disabled, quick settings, notifications and the
assist gesture are blocked.

Bug: 19533026
Change-Id: I72830798135136e5edc53e5e2221aebb9a7c7d57
2015-04-15 15:57:14 +01:00
Wale Ogunwale
cc3c34c967 Merge "Added watchdog monitor for Binder threads availability." 2015-04-15 12:35:34 +00:00
Martijn Coenen
fd70bb1367 Expose peer LLCP version in NDEF callbacks.
Change-Id: I98b9a9764b66345f842c1f845c8a386161d965f5
2015-04-15 12:33:37 +02:00
Chris Banes
5c1405e10c Merge "Unhide PopupWindow window layout type calls" 2015-04-15 07:05:51 +00:00
Erik Kline
8b66974758 Merge "multinetwork API: native implementation" 2015-04-15 06:50:25 +00:00
Jay Shrauner
d53f3634a3 Hide Voicemail APIs
Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
2015-04-14 23:44:37 -07:00
Erik Kline
25f3b7bb2d multinetwork API: native implementation
Bug: 19537384
Change-Id: I04f4a7de2b1e583989b67a853df6ab50289c2185
2015-04-15 15:32:08 +09:00
Jay Shrauner
164a0acf53 Remove deprecated telecom APIs. Mark others final.
Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
2015-04-14 22:57:30 -07:00
Jae Seo
b744e47959 Merge "TIF: Add pixel aspect ratio to TvTrackInfo" 2015-04-15 05:51:18 +00:00