Merge "Fix Voice shortcuts not working system-wide in R" into rvc-dev am: 2df7af78be am: 6a50238497 am: f95b801270 am: f321edd5c5
Change-Id: Icd55b4ebe68c539e7d95f2d60f21beb24034dd42
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