OSDN Git Service

Annotate RemoteInput#SOURCE_* with @IntDef
authorPetr Cermak <petrcermak@google.com>
Fri, 16 Mar 2018 10:23:00 +0000 (10:23 +0000)
committerPetr Cermak <petrcermak@google.com>
Fri, 23 Mar 2018 15:51:12 +0000 (15:51 +0000)
commit8e2731bfeffeba32345f8b14d70dae3b8ba17353
treee9f234133ad8c1b1cceebe3ada1386b8794a98a6
parenta63484c0d6fb076218f825bae04765fa44356394
Annotate RemoteInput#SOURCE_* with @IntDef

This patch addresses a request from the API Council (http://b/74409378).
It defines a new RemoteInput.Source annotation for RemoteInput source
constants.

Bug: 74409378
Test: atest RemoteInputTest
Change-Id: I78a006b6a600ea0c0603b2591d1a29596074a44e
core/java/android/app/RemoteInput.java