Chen Xu
556f2721d9
Merge "rename precise carrier id to specific carrier id"
2019-03-08 17:57:16 +00:00
Julia Reynolds
6570d94901
Merge "Address api council feedback"
2019-03-08 15:17:00 +00:00
TreeHugger Robot
06ff48f856
Merge "New API: ContentCaptureService.onActivityEvent()"
2019-03-07 23:35:34 +00:00
Julia Reynolds
cbc45e7164
Address api council feedback
...
Fixes: 127282522
Fixes: 126702741
Fixes: 126699773
Test: make, cts
Change-Id: I06e78d4c7067835017c5326f1d53923776d3fc42
2019-03-07 16:43:40 -05:00
Felipe Leme
141864d610
New API: ContentCaptureService.onActivityEvent()
...
This API is needed for high-level events that happened on activities that are
not whitelisted for Content Capture.
Test: atest CtsContentCaptureServiceTestCases:android.contentcaptureservice.cts.LoginActivityTest#testSimpleLifecycle_defaultSession
Test: atest CtsContentCaptureServiceTestCases # sanity check
Test: m update-api
Bug: 126262658
Change-Id: Id2d4ccfb04d56eba561200d6875374a932c526ae
2019-03-07 13:06:21 -08:00
TreeHugger Robot
a936b91ae9
Merge "Removed some deprecated APIs that use List instead of Set."
2019-03-07 18:41:42 +00:00
chen xu
45f6621391
rename precise carrier id to specific carrier id
...
Bug: 126727010
Test: atest CtsTelephonyTestCases
Change-Id: I4561ae8c15c429912695e0753b2ab3137a4e1e44
2019-03-06 17:54:01 -08:00
Julia Reynolds
a3e9952ee5
Merge "API changes for NAS"
2019-03-07 00:59:56 +00:00
Felipe Leme
528e092b1f
Removed some deprecated APIs that use List instead of Set.
...
Test: m update-api
Fixes: 124402439
Change-Id: Iba1bd6236ab49d3917db22512c18a929dd7b0773
2019-03-06 10:45:13 -08:00
TreeHugger Robot
8e7a12edce
Merge "Make ZenPolicy.Builder a final static inner class"
2019-03-06 17:59:50 +00:00
Beverly
4c9a4cdc04
Make ZenPolicy.Builder a final static inner class
...
Fixes: 126698794
Test: atest ZenPolicyTest
Change-Id: I847831136fa017419eba3a00ce31091cfdb08d45
2019-03-06 10:37:19 -05:00
Julia Reynolds
d0ceefa989
API changes for NAS
...
- make NAS @SystemApi and guard with permission
- Add missing Nullable/NonNull annotations
Fixes: 126699678
Fixes: 127146476
Test: make, gts
Change-Id: Ie024983f7c440d5b4d3065af031b27958395f2f1
2019-03-06 09:40:36 -05:00
chen xu
c3d7707d90
Merge "add missing annotation for CarrierIdentifier" am: fd46a0aaeb am: 26fa24bf4f
...
am: d5a7fd1ec2
Change-Id: Id5e9745d43184a8dce70775f1fe811e05688b6ef
2019-03-05 17:29:11 -08:00
chen xu
d5a7fd1ec2
Merge "add missing annotation for CarrierIdentifier" am: fd46a0aaeb
...
am: 26fa24bf4f
Change-Id: I3f19f615f5a042c4e041430fc94f3b3d918e6388
2019-03-05 16:43:50 -08:00
TreeHugger Robot
20a4d2d04f
Merge "Add javadoc for the SOURCE_ constants."
2019-03-05 23:26:31 +00:00
Treehugger Robot
fd46a0aaeb
Merge "add missing annotation for CarrierIdentifier"
2019-03-05 19:07:19 +00:00
TreeHugger Robot
33d1c7047c
Merge "Adds android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE."
2019-03-05 17:04:08 +00:00
Tony Mak
9f4e084822
Add javadoc for the SOURCE_ constants.
...
FIX: 126190185
Test: m
Change-Id: I393646987b6aba75bfbdfc32c2bb4d7e45a78c0d
2019-03-05 16:24:48 +00:00
TreeHugger Robot
5c73d2a82d
Merge "Refactoring and some fixes around TextClassifierService"
2019-03-05 12:20:38 +00:00
TreeHugger Robot
1cfb214c96
Merge "Add annotations to new APIs"
2019-03-05 09:08:40 +00:00
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
Beverly
b0989653b6
Add annotations to new APIs
...
Test: atest ZenPolicyTest
Test: atest AutomaticZenRuleTest
Fixes: 126698794
Fixes: 126700812
Change-Id: Ifed34452faed6de3330663cec8ef19ea002b90ff
2019-03-04 14:41:17 -05:00
Zak Cohen
969d39d430
Adds android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE.
...
Adds permission required for being bound as a ContentSuggestionsService.
Bug: 126596331
Test: CTS test
Change-Id: Idf211f11dfb2addc348a46974e79cf1f5c21dc6b
2019-03-04 19:37:46 +00:00
chen xu
bc8411cf3a
add missing annotation for CarrierIdentifier
...
Bug: 126702740
Test: Build
Change-Id: I4e1be23ed2d9f016c9c2b71812bbeba24fd090f0
2019-03-03 15:15:30 -08: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
Tony Mak
9920dbbadf
Refactoring and some fixes around TextClassifierService
...
This change is mainly to address the comment
"TextClassifierService.onDetectLanguage receives a callback but
immediately calls callback.onSuccess before method returns, that is
unexpected behavior. Method should either have a return value or post
callback. Same for onSuggestConversationActions" from API council.
1. Like other services that allows developers to extend,
APIs in TextClassifierService are now delivered in the main thread.
2. The default implementation of onDetectLanguage and
onSuggestConversationActions now run local textclassifier in a worker
thread. So it won't block the main thread and make sure the callback
is called after the function returns.
3. Refactor the code so that fewer boilerplate codes around the callback.
We are now using ITextClassifierCallback to replace all the existing
I*Callback. This allows us to write template code easily.
BUG: 120841922
Test: Enable system textclassifier tests and run atest TextClassifierTest.java
Test: Manual. Try out smart selection and related features.
Change-Id: I33b2cc80f968fb8b5d5007a153b6e50041e57ce6
2019-02-21 12:15:10 +00: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