Merge "Fix issue #28051399: API demos crashing on Remote service binding options" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
14e56c1aa6
@@ -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