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