From 2cc0377200b94b2f68f34e34554f2aa39e09cbce Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Fri, 11 Mar 2011 20:00:53 -0500 Subject: DO NOT MERGE: backport recent USB accessory changes from honeycomb Bug: 4082651 Change-Id: Ie7c2fc796dd3c64f803acbd14210e5949683f4ed Signed-off-by: Mike Lockwood --- core/java/android/app/ContextImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/app/ContextImpl.java') diff --git a/core/java/android/app/ContextImpl.java b/core/java/android/app/ContextImpl.java index fb9335b..46ad64c 100644 --- a/core/java/android/app/ContextImpl.java +++ b/core/java/android/app/ContextImpl.java @@ -1158,7 +1158,7 @@ class ContextImpl extends Context { if (mUsbManager == null) { IBinder b = ServiceManager.getService(USB_SERVICE); IUsbManager service = IUsbManager.Stub.asInterface(b); - mUsbManager = new UsbManager(service); + mUsbManager = new UsbManager(this, service); } } return mUsbManager; -- cgit v1.1