summaryrefslogtreecommitdiff
path: root/core/java/android/app/DirectAction.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix two typos on comment.wilsonshih2021-09-271-2/+1
| | | | | | | | | Update some comments. Fixes: 201111278 Fixes: 201111766 Test: TH pass Change-Id: I20b6eb1b9bd6e47f9e94ee0ab13b3e4be9d09ec4
* Add @Nullable annotation to the parameter of Object.equals() methods.Roman Kalukiewicz2020-10-151-1/+1
| | | | | | | | | | | | | | | | | | Those annotations could be inferred by some tools (like Kotlin), but the https://checkerframework.org/ doesn't check inherited annotations complaining about all equals() invocations that get nullable argument. The change was generated by running find . -name \*.java | xargs sed -i 's/public boolean equals(Object /public boolean equals(@Nullable Object /' in the frameworks/base directory and by automatically adding and formatting required imports if needed. No manual edits. Bug: 170883422 Test: Annotation change only. Should have not impact. Exempt-From-Owner-Approval: Mechanical change not specific to any component. Change-Id: I5eedb571c9d78862115dfdc5dae1cf2a35343580
* Replace com.android.internal.util.Preconditions.checkNotNull withDaulet Zhanguzin2019-12-301-1/+1
| | | | | | | | | java.util.Objects.requireNonNull Bug: 126528330 Test: Treehugger Change-Id: I42117ebfb640e3b0b133183e5e146860bed8471a
* Address API conucil feedbackSvet Ganov2019-04-301-7/+41
| | | | | | | | Test: compiles bug:131683068 Change-Id: I02afd0cc392e4fadd60de0d9802748452262543b
* [DO NOT MERGE] Adding API for defining and invoking DirectActionsSunny Goyal2019-04-251-0/+188
DirectActions are abstract actions defined by an Activtiy. The actual definition of these actions will be available through the support lib. This API provides a secure channel for system or assistant to interact with a running app using these Actions. Test: atest CtsVoiceInteractionTestCases Test: added android.voiceinteraction.cts.DirectActionsTest Bug: 129705716 Change-Id: I0ce568e0d8f41e0fe46306052016a74c7b394efa