Loading services/core/java/com/android/server/VibratorService.java +1 −1 Original line number Diff line number Diff line Loading @@ -593,7 +593,7 @@ public class VibratorService extends IVibratorService.Stub Vibration vib = new Vibration(token, effect, usageHint, uid, opPkg, reason); if (mProcStatesCache.get(uid, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND && vib.isHapticFeedback()) { && !vib.isNotification() && !vib.isRingtone()) { Slog.e(TAG, "Ignoring incoming vibration as process with uid = " + uid + " is background"); return; Loading Loading
services/core/java/com/android/server/VibratorService.java +1 −1 Original line number Diff line number Diff line Loading @@ -593,7 +593,7 @@ public class VibratorService extends IVibratorService.Stub Vibration vib = new Vibration(token, effect, usageHint, uid, opPkg, reason); if (mProcStatesCache.get(uid, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND && vib.isHapticFeedback()) { && !vib.isNotification() && !vib.isRingtone()) { Slog.e(TAG, "Ignoring incoming vibration as process with uid = " + uid + " is background"); return; Loading