Remove vibration from framework's emergency action

Allows control over vibration to be handled by the responding app.

Bug: 175401642
Test: None
Change-Id: Ifc61d278a6672659426f31b9cbc4ac9e970b23d2
This commit is contained in:
Matthew Fritze
2021-01-05 14:43:46 -08:00
parent 7365a93174
commit 220446caf9

View File

@@ -4044,10 +4044,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);