commit | 6cb667cb12eb040f0a7f68ee48f2adb39250c1ef | [log] [tgz] |
---|---|---|
author | Petr Cermak <petrcermak@google.com> | Tue Jan 16 15:28:02 2018 +0000 |
committer | Petr Cermak <petrcermak@google.com> | Wed Jan 17 16:48:28 2018 +0000 |
tree | ae94f532addb75add7b14a7a6f072e1e50bd480f | |
parent | dd7edac5510f5d2e35af16176f8e7fca79b5f08e [diff] |
Add "results source" parameter to RemoteInput This CL adds the following methods to RemoteInput: * setResultsSource(Intent intent, int source) * getResultsSource(Intent intent) where source can be one of: * RemoteInput.SOURCE_FREE_FORM_INPUT * RemoteInput.SOURCE_CHOICE Rationale: This will allow apps to distinguish direct and smart replies for logging purposes. Bug: 67765414 Test: atest RemoteInputTest (http://ag/3469835) Change-Id: Ie30416640df4b2cd0424f9c75b235fc124be87a3