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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user