Merge "Fix Voice shortcuts not working system-wide in R" into rvc-dev am: 2df7af78be am: 181ea0b394
Change-Id: I2a4e1bd1fcad19a56ffca87db3939fa4a8ed9efb
This commit is contained in:
@@ -283,8 +283,8 @@ public class SpeechRecognizer {
|
||||
} else {
|
||||
serviceIntent.setComponent(mServiceComponent);
|
||||
}
|
||||
|
||||
if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) {
|
||||
if (!mContext.bindService(serviceIntent, mConnection,
|
||||
Context.BIND_AUTO_CREATE | Context.BIND_INCLUDE_CAPABILITIES)) {
|
||||
Log.e(TAG, "bind to recognition service failed");
|
||||
mConnection = null;
|
||||
mService = null;
|
||||
|
||||
Reference in New Issue
Block a user