Merge "Remove vibration from framework's emergency action"

This commit is contained in:
TreeHugger Robot
2021-01-06 17:50:11 +00:00
committed by Android (Google) Code Review

View File

@@ -4037,10 +4037,6 @@ public class StatusBar extends SystemUI implements DemoMode,
return;
}
if (mVibrator != null && mVibrator.hasVibrator()) {
mVibrator.vibrate(500L);
}
emergencyIntent.setComponent(new ComponentName(resolveInfo.activityInfo.packageName,
resolveInfo.activityInfo.name));
emergencyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);