Fix issue #28051399: API demos crashing on Remote service binding options
Details, details. Change-Id: I43687a1a593b2c7bd176b33d4c9c9169be723d72
This commit is contained in:
@@ -587,7 +587,7 @@ public class RemoteService extends Service {
|
||||
mCurConnection = null;
|
||||
}
|
||||
ServiceConnection conn = new MyServiceConnection();
|
||||
if (bindService(new Intent(IRemoteService.class.getName()),
|
||||
if (bindService(mBindIntent,
|
||||
conn, Context.BIND_AUTO_CREATE | Context.BIND_ABOVE_CLIENT)) {
|
||||
mCurConnection = conn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user