summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Koh <justinkoh@google.com>2014-05-05 22:38:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-05 22:38:06 +0000
commit9cb3b162ebf2c85b2b34d399623ff68427b2cdca (patch)
tree5a018bee07c36f4bcf3cc50eb21f16e292d230be
parent3caf92582498bad8fe79f6e3235be218e82b7f68 (diff)
parente647dd354e3bc3cca6767d8b3b30498d52c922ce (diff)
downloadframeworks_base-9cb3b162ebf2c85b2b34d399623ff68427b2cdca.zip
frameworks_base-9cb3b162ebf2c85b2b34d399623ff68427b2cdca.tar.gz
frameworks_base-9cb3b162ebf2c85b2b34d399623ff68427b2cdca.tar.bz2
Merge "Hide UsbDevice changes in KKWT DO NOT MERGE" into klp-modular-dev
-rw-r--r--api/current.txt3
-rw-r--r--core/java/android/hardware/usb/UsbDevice.java3
2 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt
index 6bf83c0..a495e36 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -11230,10 +11230,7 @@ package android.hardware.usb {
method public int getDeviceSubclass();
method public android.hardware.usb.UsbInterface getInterface(int);
method public int getInterfaceCount();
- method public java.lang.String getManufacturerName();
method public int getProductId();
- method public java.lang.String getProductName();
- method public java.lang.String getSerialNumber();
method public int getVendorId();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator CREATOR;
diff --git a/core/java/android/hardware/usb/UsbDevice.java b/core/java/android/hardware/usb/UsbDevice.java
index d1e63f6..320ccfe 100644
--- a/core/java/android/hardware/usb/UsbDevice.java
+++ b/core/java/android/hardware/usb/UsbDevice.java
@@ -91,6 +91,7 @@ public class UsbDevice implements Parcelable {
* Returns the manufacturer name of the device.
*
* @return the manufacturer name
+ * @hide
*/
public String getManufacturerName() {
return mManufacturerName;
@@ -100,6 +101,7 @@ public class UsbDevice implements Parcelable {
* Returns the product name of the device.
*
* @return the product name
+ * @hide
*/
public String getProductName() {
return mProductName;
@@ -109,6 +111,7 @@ public class UsbDevice implements Parcelable {
* Returns the serial number of the device.
*
* @return the serial number name
+ * @hide
*/
public String getSerialNumber() {
return mSerialNumber;