sanders: KeyHandler: Fix haptic on assistant
This commit is contained in:
@@ -672,7 +672,7 @@ public class KeyHandler implements DeviceKeyHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void fireGoogleNowOnTap() {
|
private void fireGoogleNowOnTap() {
|
||||||
doHapticFeedbackFP(false);
|
doHapticFeedbackFP(true);
|
||||||
mSearchManagerService = ISearchManager.Stub.asInterface(ServiceManager.getService(Context.SEARCH_SERVICE));
|
mSearchManagerService = ISearchManager.Stub.asInterface(ServiceManager.getService(Context.SEARCH_SERVICE));
|
||||||
if (mSearchManagerService != null) {
|
if (mSearchManagerService != null) {
|
||||||
try {
|
try {
|
||||||
@@ -680,7 +680,6 @@ public class KeyHandler implements DeviceKeyHandler {
|
|||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
doHapticFeedbackFP(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private int str2int(String str){
|
private int str2int(String str){
|
||||||
|
|||||||
Reference in New Issue
Block a user