Jordan Liu
5c76cae6a6
Merge "Add NonNull and Nullable annotations" am: 56bd70db86 am: 808b57db7f
...
am: d83e34413d
Change-Id: I9aafeef3ecb26ec24ccd3c68affdb47b0ac53133
2019-03-04 12:49:46 -08:00
Jordan Liu
d83e34413d
Merge "Add NonNull and Nullable annotations" am: 56bd70db86
...
am: 808b57db7f
Change-Id: Icd0be937c76db55d2950af8ae44f7501899be849
2019-03-04 12:39:59 -08:00
Jordan Liu
56bd70db86
Merge "Add NonNull and Nullable annotations"
2019-03-04 20:18:50 +00:00
Julia Reynolds
10b6c6d10e
Merge "Add @Nullable and @NonNull to new Notification API"
2019-03-03 21:07:47 +00:00
Felipe Leme
8e156a6480
BUILDER, Y U @NON NULL?
...
Test: m update-api
Fixes: 126702481
Fixes: 126702856
Fixes: 126702855
Fixes: 126702736
Bug: 126702560
Change-Id: I480d519551335f8b915bc470313e6e3d20b3e6b9
2019-03-01 17:30:24 -08:00
Patrick Huang
97d67dff39
Merge "Add euicc privileged actions and extras." am: 9886350a69
...
am: 292d7a3692
Change-Id: I813de31e3a086d05d0a9ec29bbccc70df5a76497
2019-03-01 10:04:05 -08:00
Jeff Sharkey
9e8f83db6d
All Parcelable CREATOR fields are @NonNull.
...
If they were null, then the Parcelable would fail to work.
Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations
2019-02-28 23:29:04 -07:00
Patrick Huang
3b3a74436c
Add euicc privileged actions and extras.
...
Bug: 122769846
Test: Test on phone
Change-Id: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
Merged-In: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
2019-02-28 19:51:10 -08:00
Felipe Leme
50a8c75b49
Merge "Autofill, Content Capture, and Augmented Autofill API fixes:"
2019-03-01 02:04:30 +00:00
TreeHugger Robot
9e730436c5
Merge "FillRequest provides AutofillId of view tapped in FillContext."
2019-02-28 23:31:50 +00:00
Jordan Liu
260189ceab
Add NonNull and Nullable annotations
...
Fixes: 126700810
Fixes: 126699781
Fixes: 126701115
Fixes: 126701034
Fixes: 126702858
Test: No behavior change
Change-Id: Ia590d660fbf5ed261ca2c44eed390397fe1ffba2
2019-02-28 13:48:02 -08:00
Adam He
2dfc869ded
FillRequest provides AutofillId of view tapped in FillContext.
...
Fixes: 126381515
Test: atest CtsAutoFillServiceTestCases
Change-Id: I10c30d545d9a3166aad8c71d5b14d5bb83b9693f
2019-02-28 13:26:03 -08:00
Fabian Kozynski
867550ead5
Add @Nullable and @NonNull to new Notification API
...
Test: build
Fixes: 126699221
Fixes: 126700928
Fixes: 126701530
Change-Id: Ia06731cae10f5dbdf57d9557a797ccfe6aa460d7
2019-02-28 14:48:33 -05:00
Makoto Onuki
da79fb6018
Add nullability annotations.
...
Change-Id: I33f7420d3e2c6e1ff1cb69edc84478b0a2153188
Fix: 126699241
Test: build
2019-02-28 11:37:49 -08:00
Zak Cohen
3db9087823
Merge "ContentSuggetionsService, don't try and wrap a null graphics buffer."
2019-02-28 17:47:53 +00:00
Felipe Leme
ce6877b0e4
Autofill, Content Capture, and Augmented Autofill API fixes:
...
- Added @Nullable / @NonNull on some returned values.
- Removed APIs that won't be implemented for Q.
- Made Builders final.
Test: m update-api
Bug: 123100695
Fixes: 126702168
Fixes: 126701052
Fixes: 126702191
Fixes: 126700602
Fixes: 126700135
Fixes: 126700413
Fixes: 126698817
Fixes: 126698792
Change-Id: I20710537c02051361da18370bc5cc642cc3c26e1
2019-02-28 09:25:12 -08:00
Zak Cohen
47b581d4ef
ContentSuggetionsService, don't try and wrap a null graphics buffer.
...
Test: Ran CTS test
Change-Id: I93143f752e8d0b8a79fdbee038785dd20d26896d
2019-02-27 22:15:57 +00:00
Andrei Onea
4aa2a2015b
Add @UnsupportedAppUsage annotations
...
For packages:
android.security
android-service.dreams
android.service.euicc
android.service.vr
android.service.wallpaper
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I1c8ae08f8d3b4b2f5bf365468f22155f8def09fe
2019-02-27 16:28:07 +00:00
TreeHugger Robot
9a9e8d0d09
Merge "Fix the second augmented autofill request timed out issue by setting the right callback in the AutofillProxy"
2019-02-26 02:47:45 +00:00
Feng Cao
70a75c9014
Fix the second augmented autofill request timed out issue by setting the right callback in the AutofillProxy
...
Fixes: 123045011
Test: atest CtsAutoFillServiceTestCases
Change-Id: I8fa7f4fdea0c20b9b6ddaec22c9d27bfb8f19892
2019-02-25 16:35:32 -08:00
TreeHugger Robot
a6cc562629
Merge "Fix fillwindow destory() throwing IllegalStateException if update is never called."
2019-02-25 23:16:16 +00:00
Feng Cao
cb9c96ae96
Fix fillwindow destory() throwing IllegalStateException if update is never called.
...
Fixes: 126118917
Test: atest android.autofillservice.cts.augmented.AugmentedLoginActivityTest
Change-Id: I87d0436e0aa2088a3272eadb26e7d69777612320
2019-02-25 11:54:25 -08:00
Felipe Leme
a7de402a17
Trigger augmented autofill when the app is not important for autofill.
...
Test: atest AugmentedLoginNotImportantForAutofillActivityTest
atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Bug: 123099842
Change-Id: I628c82cef0a87892ebf78059ffbe35998e8ef979
2019-02-21 10:49:45 -08:00
Felipe Leme
5cb9cb529b
Removed deprecated ContentCaptureEventsRequest
...
Test: m update-api
Test: atest CtsContentCaptureServiceTestCases
Fixes: 121051220
Change-Id: Ica14c64e59f82628c2cbe46853aa09be897d1ace
2019-02-20 22:46:24 -08:00
TreeHugger Robot
3ffadce8b9
Merge "Optimized Content Capture workflow by caching some state at the application level."
2019-02-21 05:34:34 +00:00
Felipe Leme
326f15a392
Optimized Content Capture workflow by caching some state at the application level.
...
Content Capture for an activity and/or package is only available when the Content Capture service
explicitly whitelists it. As the whitelist is kept at system-server level, it's better to fetch that
info when the application is started and cache it locally, so we can optimize the
ContentCaptureManager APIs to return quickly when it's disabled.
This CL also caches other values such as the buffer parameters.
Test: atest CtsContentCaptureServiceTestCases
Bug: 120494182
Bug: 121202151
Change-Id: I9d5211bca496ffa85ba9efc2a7bb32411834b787
2019-02-20 18:44:05 -08:00
Adam He
ae93a0111d
Permanently and immediately binds the augmented autofill service.
...
Fixes: 124456706
Test: manual verification
Change-Id: I01a2035f405b9ed659412828de9ff08937bc673d
2019-02-20 17:13:02 -08:00
Beverly
0a9b851293
Merge "Override old alarms in zen schedule" into pi-dev
...
am: 2ab75b2b2e
Change-Id: I8db691e85b738d2d7821de715e124c1e3ce3b913
2019-02-20 12:29:58 -08:00
TreeHugger Robot
4cac1f42f0
Merge "Move TextClassifier.getLocalTextClassifier() API."
2019-02-20 16:40:21 +00:00
TreeHugger Robot
e5fbef5273
Merge "Add API comment for new API in WallpaperService."
2019-02-20 15:22:58 +00:00
Fabian Kozynski
8e804ef686
Merge "Fix Adjustment for API review"
2019-02-20 14:01:53 +00:00
TreeHugger Robot
c3ace54919
Merge "Changed ContentCaptureManager API so service can only disable itself."
2019-02-20 06:54:10 +00:00
TreeHugger Robot
9a71920b02
Merge "New Augmented Autofill APIs: onConnected() and onDisconnected()"
2019-02-20 04:04:18 +00:00
Beverly
7ee646771b
Override old alarms in zen schedule
...
Change-Id: I371a586d470e3e341a42fb5ae3b8f32929214c18
Merged-in: I371a586d470e3e341a42fb5ae3b8f32929214c18
Fixes: 112493468
Test: ScheduleCalendarTest
(cherry picked from commit 4e76191a9f )
2019-02-19 20:18:01 +00:00
Fabian Kozynski
1d051c273c
Fix Adjustment for API review
...
Bug: 124448813
Test: passes existing System tests
Test: CTS test
Change-Id: I86b765e32427639d43768bde9b2c6c8637902115
2019-02-19 13:36:07 -05:00
Felipe Leme
72e83d8c3d
Changed ContentCaptureManager API so service can only disable itself.
...
To re-enable, it will need to launch a Settings intent
(Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE).
Bug: 123286662
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I0dd03013aba645c188af4034e530492d8294180e
2019-02-19 09:29:14 -08:00
wilsonshih
fd058f6121
Add API comment for new API in WallpaperService.
...
Supplement some comment to let developer know how to use new API
WallpaperInfo#supportsMultipleDisplays.
Also add a nullability annotation and comment for
WallpaperService.Engine#getDisplayContext.
Fix: 124302009
Fix: 123661589
Test: Build pass and read comment.
Change-Id: Id6040eff12495838f21f539b7c68d6743c9baf74
2019-02-19 20:57:21 +08:00
Felipe Leme
e8eae9d420
Initial implementation of ContentCaptureService.setContentCaptureWhitelist()
...
For now it only whitelists packages, not activities.
Test: atest CtsContentCaptureServiceTestCases
Bug: 122595322
Change-Id: I5beb9b027eb704510e68f3af15e84e14bda07eb2
2019-02-15 20:00:49 -08:00
Julia Reynolds
fd2ec469ed
Merge "Fix API errors"
2019-02-15 18:47:06 +00:00
Julia Reynolds
79f0277f29
Fix API errors
...
APIs that were @SystemApi in the last release cannot be changed.
Test: atest CtsSystemApiSignatureTestCases
Bug: 124209375
Change-Id: I631b7dea09e723f509581f82a85da99344b42a09
2019-02-15 11:38:48 -05:00
TreeHugger Robot
3a5211e744
Merge "Changed ContentCaptureService.setContentCaptureWhitelist() to use Set instead of List."
2019-02-15 04:20:23 +00:00
Felipe Leme
f3d317c80d
New Augmented Autofill APIs: onConnected() and onDisconnected()
...
Test: m update-api # they're not implemented yet
Bug: 124456706
Change-Id: Ia313b093178204bf7ddc2c6bd664c3c840b0ed5a
2019-02-14 14:30:02 -08:00
Felipe Leme
7a3c9f5324
Changed ContentCaptureService.setContentCaptureWhitelist() to use Set instead of List.
...
(Same for Augmented Autofill)
Bug: 122595322
Test: m update-api
Change-Id: I6753ce2567801da148682c0ccbad7f6abc4d1ecc
2019-02-14 14:13:56 -08:00
Xin Li
07ec9dbec5
Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
2019-02-14 22:11:32 +00:00
James O'Leary
08211297cf
Merge "Encapsulate state & transcription in hints bundle"
2019-02-14 21:25:24 +00:00
Xin Li
0e71b4f19b
DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into
...
stage-aosp-master
Bug: 124234733
Change-Id: Ic4f67fde0835da0b1c363906cccef0d244e38393
2019-02-14 09:48:06 -08:00
TreeHugger Robot
1df6e435b0
Merge "Removed unused APIs."
2019-02-14 16:51:29 +00:00
Felipe Leme
0552f41c4e
Merge "Add new ContentCapture APIs to let apps change the ContentCaptureContext."
2019-02-14 15:26:27 +00:00
James O'Leary
9c9dd98ee0
Encapsulate state & transcription in hints bundle
...
Continuation of ag/6226654; edits made per Svetoslav's last comments.
Bug: 122740752
Bug: 123080754
Test: blueline-userdebug build completes successfully.
Change-Id: I3e43137eb6e0d8cae77e14d331150d5a05ede07c
2019-02-14 15:24:08 +00:00
Jordan Liu
7a39287ca0
Merge "Add UNINITIALIZED and rename INVALID" am: b8493ac5eb
...
am: aa20ef0836
Change-Id: I2ad19b617f0165e7bcabac567463dfe8f4b175c6
2019-02-13 16:52:32 -08:00