Commit Graph

20958 Commits

Author SHA1 Message Date
Mihai Popa
8b3002e769 Merge "[Magnifier-62] Deprecate constructor" 2018-09-25 16:05:17 +00:00
Mihai Popa
b6ca909ed7 [Magnifier-62] Deprecate constructor
The CL deprecates the old constructor for Magnifier instances in favor
of the usage of builder Magnifier#Builder.

Bug: 116116502
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I3daa9f066c77144e9d5c62bc666ecd37041f4bbb
2018-09-25 11:35:52 +01:00
Yuzhou Jia
5d41bd2973 Merge "Add SHOW_SOURCE_NOTIFICATION to indicate that the interaction service was invoked by a notification." 2018-09-25 03:30:04 +00:00
Tyler Gunn
56479b1b9a Merge "Add support for network identified emergency calls." am: 108349f8d6 am: 6d400c7352
am: 2c52f8f90d

Change-Id: I518c7c1165d008485f0040b005a6055f2fe2126c
2018-09-24 16:39:41 -07:00
Tyler Gunn
108349f8d6 Merge "Add support for network identified emergency calls." 2018-09-24 22:50:50 +00:00
vichang
8956b44379 Merge "Expose android.icu.text.Bidi API" am: 0753bca090 am: 77841856d2
am: e5fc60a8f4

Change-Id: Ia704911a41b0116d817c6121f89c0e35670c2ee1
2018-09-24 03:41:31 -07:00
vichang
0753bca090 Merge "Expose android.icu.text.Bidi API" 2018-09-24 09:56:32 +00:00
Kevin Chyn
de92184b8c Merge changes from topic "biometric-manager"
* changes:
  3/n: Add BiometricManager, hasEnrolledBiometrics()
  2/n: Rename BiometricPromptService to BiometricService
  1/n: Rename BiometricService to BiometricServiceBase
2018-09-22 02:08:40 +00:00
Hui Yu
c35db561b8 Merge "Add RawContacts insert/update/delete notification URIs." 2018-09-22 01:16:49 +00:00
Kevin Chyn
05c21508fd 3/n: Add BiometricManager, hasEnrolledBiometrics()
Fixes: 112570477

Test: BiometricPromptDemo works
Test: Able to get/use BiometricManager
Test: Tested with enrolled and non-enrolled biometrics

Change-Id: I26231894eccc87c42b5b3007aa0b7c6f09830452
2018-09-21 17:08:49 -07:00
Jeffrey Vander Stoep
60871d841d Merge "Add ConnectivityManager.getConnectionOwnerUid()" am: f8529dc891 am: 6729107f22
am: 904252f7a3

Change-Id: I8b8f6e74abc47f94231f3b9a1ab0db1ad0903a10
2018-09-21 15:36:28 -07:00
Hall Liu
b50d26844d Merge "Propagates voice call radio technology to connection" am: 5405d09204 am: 8a456bad23
am: 7286d12eeb

Change-Id: Iaad156be361cbcc6da826404556238097b1d6094
2018-09-21 14:35:36 -07:00
Jeffrey Vander Stoep
f8529dc891 Merge "Add ConnectivityManager.getConnectionOwnerUid()" 2018-09-21 21:04:20 +00:00
Tyler Gunn
5bd90853a5 Add support for network identified emergency calls.
Add support for the IMS call profile to indicate that a call is an
emergency call.
Add supporting connection and call properties so that this can be
propagated to Telecom and ultimately the Dialer app.
Add System API to determine if the device is in a network IDed or dialed
emergency call (used in Telephony).

Test: Manual test using test intents and ecclist property.
Test: Added new telecom unit tests.
Bug: 77565333
Change-Id: I769e7b5000b10662c08fe53c91ef99edc685d2b1
2018-09-21 09:37:07 -07:00
Jeff Vander Stoep
0ac2c0945b Add ConnectivityManager.getConnectionOwnerUid()
Allow VPN apps to lookup the UID owner of a network connection.

Requires specifying the:
 - IP address and port for both the source and destination of a TCP
   connection.
 - IP address and port for either source and destination or just
   source for a UDP connection.
Only TCP and UDP protocols are supported. Only connections for UIDs
that apply to the calling VPN app will be resolved. This is intended
to replace direct app access to /proc/net/{tcp,tcp6,udp,udp6}.

The implementation uses netlink inet_diag sockets[1] to perform
the lookup on TCP sockets as well as UDP sockets when supported
(kernel has CONFIG_INET_UDP_DIAG=y).

[1] http://man7.org/linux/man-pages/man7/sock_diag.7.html

Bug: 9496886
Bug: 109758967
Test: atest HostsideVpnTests
Test: atest InetDiagSocketTest on Taimen with CONFIG_INET_UDP_DIAG
    and on Sailfish without CONFIG_INET_UDP_DIAG.
Change-Id: I2bbc7072dd091e2e653dadf6dc05024c04180f34
2018-09-21 06:16:09 +00:00
Hall Liu
5405d09204 Merge "Propagates voice call radio technology to connection" 2018-09-20 22:16:50 +00:00
Hui Yu
ff88b14e62 Add RawContacts insert/update/delete notification URIs.
Change-Id: I985377b23c1f54f3b691b4ca9094cd55a056201d
Fix: 113696451
Test: atest ContactsContract_RawContactsTest.java
2018-09-20 15:16:14 -07:00
Shuo Qian
536c961460 Merge "Make SubscriptionManager.getSlotIndex public" 2018-09-20 20:24:01 +00:00
Victor Chang
14c4a6ecce Expose android.icu.text.Bidi API
- All API methods has coverage by existing CTS

Bug: 110093760
Test: m api-stubs-docs-update-current-api droid cts docs
Change-Id: Ifcd1b8c2d93393dd21c5c9a6a2f2a58c76854975
2018-09-20 17:47:46 +01:00
jiayuzhou
f9f565cee7 Add SHOW_SOURCE_NOTIFICATION to indicate that the interaction service
was invoked by a notification.

Bug: 112723657.
Test: build the AOSP without issue.

Change-Id: I9f372694b264bab97ef72eb22a39136d10a36090
2018-09-19 18:03:41 -07:00
Yuzhou Jia
35339498ef Merge "Make Changes to VoiceInteraction API for supporting System checking an assistant voice action availability on AAE." 2018-09-20 01:02:44 +00:00
Seigo Nonaka
16cd61459c Merge "Unhide getTextRunCursor APIs" 2018-09-19 20:18:32 +00:00
sqian
0e831f5781 Revision of CallRedirectionService API Review
- onBind should be final (I think also for onUnBind)
- Remove verbose logging
- Document redirectCall/placeCallUnmodified/cancelCall can only be
called from onPlaceCall

Bug: 112303670
Test: compile
Change-Id: I7d70a5ac3063a638d9383f69c99e4c1f822e8948
Merged-In: I7d70a5ac3063a638d9383f69c99e4c1f822e8948
(cherry picked from commit 4ec07dd68a)
2018-09-19 13:13:12 -07:00
TreeHugger Robot
9d96899455 Merge "Unhide getTextBounds for CharSequence" 2018-09-19 19:48:45 +00:00
Hall Liu
1eb5888091 Merge "Mark old APIs as @removed" am: 999be29822 am: bcc49768e2
am: 44cc3636d3

Change-Id: I05221a9ee2295c18954499e17b9154fc9d3ddad6
2018-09-19 12:13:27 -07:00
Hall Liu
999be29822 Merge "Mark old APIs as @removed" 2018-09-19 18:09:01 +00:00
jiayuzhou
21a353b701 Make Changes to VoiceInteraction API for supporting System checking
an assistant voice action availability on AAE.

Test: build and test on AAE.
Bug: 110587280

Change-Id: If37036e0dbe021fee9c95caf7e450330ca24ae32
2018-09-19 10:21:59 -07:00
Wei Huang
7f7f72e451 Propagates voice call radio technology to connection
This patch mainly takes below changes:
 1) Add new extra to indicates the call network technology.
 2) Provides basic function to set/get call radio technology.

Bug: 67856372
Test: Manual
Change-Id: I1a12382fdb589ce823fe7af025832db4cdc152c2
2018-09-19 18:51:52 +09:00
sqian
ccea7355fd Make SubscriptionManager.getSlotIndex public
- Make public
- Improved the documentation
- Rename subId to subscriptionId
- Make INVALID_SIM_SLOT_INDEX, SIM_NOT_INSERTED public

Test: Treehugger
Bug: 113072551
Change-Id: Idaf5ed3672be421568c3618cd94534c27f64f64c
2018-09-18 18:57:10 -07:00
Seigo Nonaka
fa95b83df7 Unhide getTextRunCursor APIs
This API is necessary for identifying the cursor locations.

Bug: 112327179
Test: atest android.graphics.cts.PaintTest
Change-Id: Ief6770bd622a296ae356094fe3ce58e9c4371088
2018-09-18 15:06:19 -07:00
TreeHugger Robot
5ad8521008 Merge "Deprecates WearableExtender methods not supported by Wear SysUI v3." 2018-09-18 21:40:30 +00:00
Seigo Nonaka
93890b2e2e Unhide getTextBounds for CharSequence
Bug: 112327179
Test: atest android.graphics.cts.PaintTest
Change-Id: I1d2c5c5710dbe15d0352735ce18d9bb9d6f4dbc7
2018-09-18 14:17:38 -07:00
Stanley Tng
ef31c4a72a Merge "Unhide the LE CoC APIs" am: 0677766615 am: ac723d7d62
am: af4189b8fa

Change-Id: I56f67e9e381c2ebe009405cf32bb78ed0ee50acd
2018-09-18 13:42:51 -07:00
Gus Prevas
d73637506d Deprecates WearableExtender methods not supported by Wear SysUI v3.
Test: doc/annotation changes only.
Bug: 116013034
Change-Id: Ida3f05d02c940bac42bbb01aece924524fd33d4b
2018-09-18 15:46:26 -04:00
Treehugger Robot
0677766615 Merge "Unhide the LE CoC APIs" 2018-09-18 18:31:26 +00:00
Philip P. Moltmann
08b171d0ff Merge "Allow mainline modules to set private window flags" 2018-09-18 16:46:13 +00:00
Philip P. Moltmann
192e1c6476 Merge changes from topic "SettingsLibRestrictedLockUtils"
* changes:
  Make methods used by PermissionController @SystemApi
  Make restricted lock icon system-api
2018-09-18 15:27:36 +00:00
Rhed Jao
7102a0dfcc Merge "Add text entry key property to a11y info node" 2018-09-18 06:06:31 +00:00
Hall Liu
78b57077d6 Mark old APIs as @removed
Remove deprecated SystemApis as a part of a refactor.

Bug: 115943523
Test: unit, manual
Change-Id: Ic8955be6f57411ba18b5f049c6519d1c1d01d937
2018-09-17 18:10:58 -07:00
vichang
0acf6237d7 Merge "Expose android.icu.text.CaseMap API" am: abb7b3d0e5 am: 1035fcf138
am: 0c85dfcc3d

Change-Id: I4417630e89181ee844e95cd5596c3418f4de3c85
2018-09-17 15:06:56 -07:00
Zimuzo Ezeozue
3bf9f76b88 Merge "Add privileged APIs to lock device and reset device password" 2018-09-17 19:27:18 +00:00
Philip P. Moltmann
d66dd99a9f Allow mainline modules to set private window flags
We need to prevent apps from trying to decorate the permission grant
requests. Hence the the permission controller app (which will become a
mainline module) will need to set the
PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS private window flag.

Test: Built
Bug: 110953302
Change-Id: I7dfed6aac8ec487ac0665ad33c2892cad416224a
2018-09-17 19:16:44 +00:00
Seigo Nonaka
14a081f271 Merge "Unhide Paint.getTextRunAdvances" 2018-09-17 18:55:54 +00:00
vichang
abb7b3d0e5 Merge "Expose android.icu.text.CaseMap API" 2018-09-17 18:10:31 +00:00
Rhed Jao
b11b75ac50 Merge "Spoken feedback when a11y shortcut dialog is shown" 2018-09-17 08:37:11 +00:00
Seigo Nonaka
eb749119e6 Unhide Paint.getTextRunAdvances
This is necessary for getting individual character advances.

The only char[] version of getTextRunAdvances is used, so removing
String/CharSequence versions.

Bug: 112327179
Test: atest android.graphics.cts.PaintTest#testGetTextRunAdvances
Change-Id: Ic49a4742cccb2a5155f6afacef3555e29c7a061c
2018-09-14 11:57:20 -07:00
Jeff Sharkey
34e3e68375 Merge "Mark deprecated APIs, support column greylisting." 2018-09-14 18:38:15 +00:00
Jeff Sharkey
7049e651fa Mark deprecated APIs, support column greylisting.
Update MediaStore APIs that are effectively no-ops, including
MiniThumbFile which is no longer used.

Add support for "greylisted" columns to SQLiteQueryBuilder, so that
we can support abusive columns that match specific regex patterns
while in "strict" mode, such as COUNT(*).

Bug: 111268862
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I364ef5bfa338ef8492b0b29c2a5c13c4189467ee
2018-09-13 17:14:27 -06:00
TreeHugger Robot
921f354c6c Merge "Allow listeners to reset their requested hints." 2018-09-13 21:21:32 +00:00
Jeff Sharkey
7da7681c6b Merge "Provide paths of interest to vendors." 2018-09-13 21:19:14 +00:00