Merge "Fix issue #28051399: API demos crashing on Remote service binding options" into nyc-dev
am: 14e56c1aa6
* commit '14e56c1aa6ca7555ccd996a73845a0b41abc791d':
Fix issue #28051399: API demos crashing on Remote service binding options
Change-Id: I99cca87200b9214d95d8d05965e776201a2da271
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