Add bindServiceAsUser(..., Handler) to ContextWrapper.

This was added to Context/ContextImpl but is missing from
ContextWrapper, which causes it to fail unless you're using a
ContextImpl directly.

Bug: 33057511
Test: Build/manual test in associated change from same topic
Change-Id: I84913614dad2cc22a70a4191c2512a44b1dc8834
This commit is contained in:
Jeff Davidson
2017-01-09 10:55:53 -08:00
parent 51d34bf06a
commit 6192bff1fc

View File

@@ -653,6 +653,13 @@ public class ContextWrapper extends Context {
return mBase.bindServiceAsUser(service, conn, flags, user);
}
/** @hide */
@Override
public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags,
Handler handler, UserHandle user) {
return mBase.bindServiceAsUser(service, conn, flags, handler, user);
}
@Override
public void unbindService(ServiceConnection conn) {
mBase.unbindService(conn);