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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user