TreeHugger Robot
d80c1716ee
Merge "Add some logs to help debug a NotificationAssistant issue"
2019-03-11 22:21:30 +00:00
TreeHugger Robot
fc444873f9
Merge "To avoid stale data in logs, and avoid risk of race conditions, have StatusBarNotification create a new LogMaker each time it is requested, instead of trying to keep and reuse one."
2019-03-11 20:43:33 +00:00
Tony Mak
180a9c4474
Add some logs to help debug a NotificationAssistant issue
...
Found a droidfood device has smart suggestions missing.
The issue seems like NMS is not calling into NAS's
onNotificationEnqueued for some reasons. Adding more log around it,
the logs can be enabled by running
setprop log.tag.notification_assistant VERBOSE.
Also, use Slog rather than log, so that it is written to system log
ring buffer.
Test: check logcat
Change-Id: I157c94cdfbccbf6b274c246302999a5820781e28
2019-03-11 20:00:38 +00:00
Will Brockman
0ed07caf22
To avoid stale data in logs, and avoid risk of race conditions, have
...
StatusBarNotification create a new LogMaker each time it is requested,
instead of trying to keep and reuse one.
Bug: 124924850
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification frameworks/base/core/tests/coretests/src/android/service/notification SystemUITests
Change-Id: I0fe3c17b5c9534fd486575b6a3c20fdd43cc28f5
2019-03-11 09:12:47 -04:00
Zak Cohen
4b2e80c918
ContentSuggestionsService - fix deprecation messages.
...
Bug: build fix
Test: compile
Change-Id: I77e91ee2302310b645747019682781d8e3204bd0
2019-03-08 13:06:07 -08:00
Zak Cohen
c35546c0dd
Merge "ContentSuggestionsSevice - rename methods with on* prefixes."
2019-03-08 19:33:57 +00:00
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
Zak Cohen
a78076e710
ContentSuggestionsSevice - rename methods with on* prefixes.
...
Bug: 126702561
Test: CTS
Change-Id: I85b300a8fbd0989bfaaf7a4062b3ea58949a2350
2019-03-06 22:27:47 +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