Commit Graph

69340 Commits

Author SHA1 Message Date
TreeHugger Robot
a31f49a0df Merge "Add param javadoc to DevicePolicyManager.setBackupServiceEnabled" into oc-dev 2017-04-25 12:11:13 +00:00
TreeHugger Robot
2c20a6db28 Merge "Clarify time unit for StrongAuthTimeout APIs" into oc-dev 2017-04-25 12:02:07 +00:00
TreeHugger Robot
544cf7793f Merge "Set icon frame to invisible when iconSpaceReserved is set." into oc-dev 2017-04-25 09:52:59 +00:00
TreeHugger Robot
fc513f98d7 Merge "Added APIs that let AutofillService implementations set themselves as such." into oc-dev 2017-04-25 08:56:03 +00:00
TreeHugger Robot
f40d1cb773 Merge "Take new autofill structure for each partition" into oc-dev 2017-04-25 07:31:30 +00:00
TreeHugger Robot
07d2cec982 Merge "Add javadoc about APIs requiring uses-feature" into oc-dev 2017-04-25 06:42:06 +00:00
TreeHugger Robot
302ba2d3ab Merge "Continue to @hide freeform decor caption APIs" into oc-dev 2017-04-25 06:03:11 +00:00
TreeHugger Robot
59fe3108fa Merge "Hide deprecated APIs." into oc-dev 2017-04-25 05:09:27 +00:00
Wale Ogunwale
724ca14b20 Continue to @hide freeform decor caption APIs
Hiding the APIs for now since we're not releasing freeform yet and it's
better not to expose them now in case we'll decide to change them later.

May you make the P release!

Test: manual
Bug: 28774476
Change-Id: Ie4b4d1bdabef9b27d2eb1442ffc9f6c46ce7dfcb
2017-04-25 04:02:59 +00:00
Felipe Leme
db041188bc Added APIs that let AutofillService implementations set themselves as such.
Bug: 37576671
Test: manual verification
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I6fd61f8a2826dbf6b6fce831f3deadf6df025386
2017-04-24 18:44:09 -07:00
Svet Ganov
a3c4eb35b1 Move child package feature behind sys prop
Now one can do adb shell setprop/getptop to change
"persist.sys.child_packages_enabled" to true/false to
control whether child packages are supported.

Test: manual

bug:36107077

Change-Id: Ie60e255fd3c248905906cdd5b10adae074c0b717
2017-04-25 00:19:53 +00:00
Philip P. Moltmann
2f517c26d2 Take new autofill structure for each partition
Bug: 36481649
Test: CtsAutofillServiceTestCases (now with a test that has an autofill
      session over two full screen fragments)
Change-Id: I55f2f6203f3bd5a7082b4ce90500d2c16a260c7d
2017-04-24 16:50:14 -07:00
Felipe Leme
85d1c2d290 Minor fixes on Autofill Framework:
- Removed default implementation of onProvideAutofillVirtualStructure() that
  was using accessibility API (it's useless because without the View calling
  AutofillManager.notifyViewEntered(), it would never be triggered).
- Fixed obsolete TODOs.
- Removed obsolete service class name constant.
- Removed unused debug constant.

Fixes: 37078783
Fixes: 33197203
Bug: 33802548
Bug: 35956626

Test: CtsAutoFillServiceTestCases pass
Merged-In: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
Change-Id: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
2017-04-24 16:01:12 -07:00
TreeHugger Robot
06d84c3a86 Merge "camera: Update for enableZsl values in template" into oc-dev 2017-04-24 22:36:54 +00:00
TreeHugger Robot
13ba34bf37 Merge changes from topic 'virtual-display-api' into oc-dev
* changes:
  Add command line option to set compatibility display properties
  Make VR mode virtual display properties customizable
2017-04-24 21:33:59 +00:00
TreeHugger Robot
880f4f4cc2 Merge "Even more auto-doc work." into oc-dev 2017-04-24 21:33:18 +00:00
Kang Li
925d3cf211 Merge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure that ResolverRankerServices are from trust sources." into oc-dev 2017-04-24 21:21:42 +00:00
Felipe Leme
cb4dd8090b Hide deprecated APIs.
Test: CtsAutoFillServiceTestCases pass
Bug: 37563972

Change-Id: Ia5f33c5624b7a6be3c152e126c99800914d23cbd
2017-04-24 14:04:56 -07:00
TreeHugger Robot
ffef2ad2b0 Merge "Replaced getUrl() by getWebDomain()." into oc-dev 2017-04-24 20:45:58 +00:00
Eugene Susla
b0f9740057 Add javadoc about APIs requiring uses-feature
Bug: 37629514
Test: Ensure no compilation error; proofread
Change-Id: Ia250c95da1edb20017bc13a4504ead092eb24fff
2017-04-24 13:31:31 -07:00
Rubin Xu
5d39ea769e Clarify time unit for StrongAuthTimeout APIs
Bug: 37624569
Test: make -j32 docs
Change-Id: I9bdf191697e698fcc38b279c471a8ce6566927c8
2017-04-24 20:26:30 +01:00
Jeff Sharkey
30e06bb668 Even more auto-doc work.
Update docs based on what new lint detector found.  Add new @IntDef
to parameters or methods returning constants or flags, and add
@RequiresPermission to methods mentioning permissions.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I7f640f7883fcb66b911a52ae93b83f77306571ec
2017-04-24 13:20:46 -06:00
Rubin Xu
0367f07791 Add param javadoc to DevicePolicyManager.setBackupServiceEnabled
Bug: 37624668
Test: make -j32 docs
Change-Id: Ie3457f4f5eba63365ed7920431037759475fa30b
2017-04-24 20:17:16 +01:00
Amith Yamasani
ad8f086912 Add link to class with constants
Addresses api-council feedback

Change-Id: I2dcd526a266a2320b34c714fd91fb4a83d382d9c
Fixes: 37536012
Test: make update-api
2017-04-24 11:01:20 -07:00
Fan Zhang
c1caca1458 Set icon frame to invisible when iconSpaceReserved is set.
Bug: 37572025
Test: manual
Change-Id: I843bbf329a04964ddeccd17ed71e02f2264a5068
2017-04-24 10:05:12 -07:00
Felipe Leme
4711ed9f9f Replaced getUrl() by getWebDomain().
Bug: 37566507
Test: CtsAssistTestCases pass

Change-Id: I1b4dfa7259040b3b8bf1014ebb806eb7a3b36c58
2017-04-24 09:43:08 -07:00
TreeHugger Robot
8a4ff5edb5 Merge "Fix ChangeClipBounds to set final clip to null." into oc-dev 2017-04-24 16:14:17 +00:00
TreeHugger Robot
4eaeb91e42 Merge "fix service binding" into oc-dev 2017-04-24 15:37:51 +00:00
TreeHugger Robot
1ab9119f50 Merge "Remove @TestApi annotation" into oc-dev 2017-04-24 15:35:51 +00:00
Abodunrinwa Toki
3f3354e087 Undeprecate WebView.findAddress
Reverts I772961bd20bff4817a060f14a843abeceb55ac92
Until we bring back TextClassifier.getLinks
See I275a9d055ef0ab68f3ca339c37ee939257c4bd54

Test: none
Bug: 22362008
Bug: 37565246
Change-Id: I2948f22cf4c3462491f47376af48624697703969
2017-04-24 14:41:14 +00:00
Abodunrinwa Toki
e70ce27c44 Merge changes from topic 'langdet' into oc-dev
* changes:
  Hide TextClassifier.getLinks API.
  Hide TextClassificationManager.detectLanguages API
2017-04-24 14:39:51 +00:00
Nicolas Geoffray
9cea1d28dd Drop REASON_FORCED_DEXOPT.
This can already be configured with the default compiler filter.

Also remove unused performDexOptIfNeeded.

bug:35794392
Test: device boots, forced dexopt works.
Change-Id: I14fc86c4783b2d7ac9cf8972b6619ba303e79659
(cherry picked from commit e103256c1f)
2017-04-24 10:44:31 +00:00
Jeff Sharkey
6bc03748a7 Merge "More auto-doc work." into oc-dev 2017-04-22 19:11:34 +00:00
TreeHugger Robot
7bb113566f Merge "Clarify the meaning of ViewNodes methods used for Autofill purposes." into oc-dev 2017-04-22 04:20:42 +00:00
TreeHugger Robot
1939550fba Merge "Fix a spelling." into oc-dev 2017-04-22 02:32:39 +00:00
Andrii Kulian
b216d0f09f Merge "Don't put non-resizeable activities on secondary displays" into oc-dev 2017-04-22 00:59:39 +00:00
Dianne Hackborn
e3cc9287ac Merge "Address various JobScheduler API feedback." into oc-dev 2017-04-22 00:33:47 +00:00
TreeHugger Robot
afe32d2fb1 Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" into oc-dev 2017-04-22 00:17:29 +00:00
TreeHugger Robot
08c90805b4 Merge "Bluetooth: improve getLeMaximumAdvertisingDataLength comment" into oc-dev 2017-04-21 23:40:28 +00:00
Doris Liu
4d72cd9550 Merge "Behavior compat for child being manipulated outside Animatorset" into oc-dev 2017-04-21 23:14:34 +00:00
TreeHugger Robot
5be3647a9e Merge "Propagate density through AdaptiveIconDrawable and BitmapDrawable" into oc-dev 2017-04-21 22:35:57 +00:00
Jeff Sharkey
910e081216 More auto-doc work.
Add support for AnyThread, CallSuper, and UiThread.

Another related CL started documenting @RequiresPermission, so remove
duplicated information in existing APIs.

Suppress auto-doc on a handful of classes that are already
well-documented.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
2017-04-21 16:35:08 -06:00
Stanley Tng
dd749b0f61 Allow the Bluetooth MAC address to be updated asynchronously (2/3)
There are intermittent issues where either the returned Bluetooth
MAC address to Java framework is uninitialized or this address update
arrives too late. This fix will do 2 things:
(1) Returns error when MAC address is unavailable in the native code.
(2) Updates the MAC address later by adding a new broadcast event.

Test: Check address for these cases: factory reset, system reboot, and
Bluetooth re-enable.
Bug: 36709382

Change-Id: I09720193e38fdf9139e1bb146f8e1847e2b65b1a
(cherry picked from commit ad4d1d8e28)
2017-04-21 22:19:57 +00:00
Dianne Hackborn
28d1b66134 Address various JobScheduler API feedback.
- New sample code.
- Fix/improve some docs.
- Hide JobWorkItem Parcl constructor.

Also:

- Add new JobWorkItem API to get the number of times it has been
delivered.
- Do a bit more optimization of checking if a job is ready.

Bug: 37534393  API Review: JobInfo.Builder
Bug: 37544057  API Review: JobServiceEngine
Bug: 37544153  API Review: JobWorkItem

Test: bit CtsJobSchedulerTestCases:*
Change-Id: I66891a038fba752f45dcaed43e615fa9209b71fc
2017-04-21 15:02:10 -07:00
Todd Kennedy
46b4f2b795 fix service binding
there were cases where we wouldn't bind when we should. also, add
some additional debug to better track potential connection issues.

Change-Id: I381da24f490e3102817a14428ef1a63982f33d19
Fixes: 37122153
Test: kill/upgrade GMS to ensure we re-bind in a timely manner
2017-04-21 14:43:52 -07:00
TreeHugger Robot
31eeb08bdb Merge "Introduce TextView attribute for control justification." into oc-dev 2017-04-21 21:31:20 +00:00
TreeHugger Robot
f277ccbca6 Merge "Renaming intent action for unknown sources" into oc-dev 2017-04-21 21:22:09 +00:00
Seigo Nonaka
4cbb441425 Introduce TextView attribute for control justification.
Bug: 37447278
Test: am instrument -w -e class android.widget.cts.TextViewTest
      android.widget.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: I7946f460ad8a6c2423b464c27225411d155d4d8d
2017-04-21 21:17:58 +00:00
Doris Liu
5fb129c2ab Behavior compat for child being manipulated outside Animatorset
When a child animator is being manipulated outside of the AnimatorSet,
such as when the child animator is running before the AnimatorSet gets
started, we need to make sure we maintain the behavoir on N:
The child animator will be re-started at its scheduled start time in
the AnimatorSet.

BUG: 37507882
Test: Repro steps in comment #1 & ag/2144081/
Change-Id: Ib97e85706f01d18a2e72fb4d1d678e22cf959894
2017-04-21 21:13:52 +00:00
Jakub Pawlowski
76cceb1189 Bluetooth: improve getLeMaximumAdvertisingDataLength comment
Bug: 37534792
Test: none
Change-Id: Ieff71356aceb0e2a4c6e81d9053f854448e0c927
(cherry picked from commit 4634b5cd27)
2017-04-21 13:41:37 -07:00