sanders: KeyHandler: Fix haptic on assistant

This commit is contained in:
jhenrique09
2017-10-24 22:02:26 -02:00
committed by therootlord
parent 7117e8793f
commit c846e096a6

View File

@@ -672,7 +672,7 @@ public class KeyHandler implements DeviceKeyHandler {
}
private void fireGoogleNowOnTap() {
doHapticFeedbackFP(false);
doHapticFeedbackFP(true);
mSearchManagerService = ISearchManager.Stub.asInterface(ServiceManager.getService(Context.SEARCH_SERVICE));
if (mSearchManagerService != null) {
try {
@@ -680,7 +680,6 @@ public class KeyHandler implements DeviceKeyHandler {
} catch (RemoteException e) {
}
}
doHapticFeedbackFP(true);
}
private int str2int(String str){