History log of /frameworks/base/media/java/android/mtp/MtpEvent.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
399df701a16704b002475300a535683005d7af8b 13-Apr-2016 Daichi Hirono <hirono@google.com> Handle API review comments from the council.

* MtpEvent: Remove public constructor since properties cannot be set
directly.
* MtpEvent: Move event constants from MtpConstants to MtpEvent class.
* getPartialObject64: the byte[] must have indices of Integer.MAX_VALUE
at most. Document as such.
* sendObjectInfo: what happens if the transfer doesn’t succeed? How is
the app notified? If there is a reason for the failure communicated,
how does the app find this out? Add docs.
* Add isOperationSupported(int) and isEventSupported(int) helpers.

Change-Id: Ifd80016d2ddd3b66d5c45f6da76b6133f0c9a617
Fixes: 28146379
/frameworks/base/media/java/android/mtp/MtpEvent.java
2a9a43369b4717bcf6b372f6798f72e80e938e30 11-Jan-2016 Daichi Hirono <hirono@google.com> Reland "Add event parameters to MtpEvent."

The CL was previously reviewed at ag/842930.

> We can obtain detailed information of MtpEvent from devices. e.g. object
> handle of changed object. The CL adds the detailed information as
> properties of MtpEvent class.
>
> BUG=26480986

Change-Id: I93afad9caf118d74cd0923d70242133c4fb2a648
/frameworks/base/media/java/android/mtp/MtpEvent.java
cf62fdc0c9d7dfa443b10f4515145e36fad74d4e 06-Jan-2016 Daichi Hirono <hirono@google.com> Move MTP event code to MtpConstants class.

BUG=25128276

Change-Id: I49530c50d7889e1b04931b8ec61f5f92a1c7e68f
/frameworks/base/media/java/android/mtp/MtpEvent.java
85f7078f8bfde3d00494bbb09e78179e3239c9a5 07-Oct-2015 Daichi Hirono <hirono@google.com> Add constans for MTP event codes.

BUG=23368533

Change-Id: I922eb9a26812a44780ba81b8a391be45852cad08
/frameworks/base/media/java/android/mtp/MtpEvent.java
0b494663a4cb177fc6f05988c9bda2ef6277333d 10-Sep-2015 Daichi Hirono <hirono@google.com> Add readEvent method to MtpDevice.

BUG=23368533

Change-Id: Ibefff559fa7dd0bee17e2812bd7cdd129108d804
/frameworks/base/media/java/android/mtp/MtpEvent.java