Messaging: Remove low storage handling

* SMS are the least of your storage issues, if you reach the limit
* Both Intent.ACTION_DEVICE_STORAGE_LOW and
  Intent.ACTION_DEVICE_STORAGE_LOW are not delivered to apps after O
* Remove all now unused strings from all languages - we don't sync those
  with crowdin (yet)

Change-Id: If01f937acdafbb34d5a9e792db54de4761ec4cc5
This commit is contained in:
Michael W
2024-12-26 14:55:12 +01:00
parent d43b6ff1c4
commit 7f22a3eea7
92 changed files with 2 additions and 2614 deletions
@@ -152,13 +152,6 @@ public class UIIntentsImpl extends UIIntents {
context.startActivity(intent);
}
/**
* Get an intent which shows the low storage warning activity.
*/
private Intent getSmsStorageLowWarningActivityIntent(final Context context) {
return new Intent(context, SmsStorageLowWarningActivity.class);
}
@Override
public void launchConversationActivity(final Context context,
final String conversationId, final MessageData draft, final Bundle activityOptions,
@@ -450,18 +443,6 @@ public class UIIntentsImpl extends UIIntents {
return resultPendingIntent;
}
@Override
public PendingIntent getPendingIntentForLowStorageNotifications(final Context context) {
final TaskStackBuilder taskStackBuilder = TaskStackBuilder.create(context);
final Intent conversationListIntent = getConversationListActivityIntent(context);
taskStackBuilder.addNextIntent(conversationListIntent);
taskStackBuilder.addNextIntentWithParentStack(
getSmsStorageLowWarningActivityIntent(context));
return taskStackBuilder.getPendingIntent(
0, PendingIntent.FLAG_UPDATE_CURRENT);
}
@Override
public PendingIntent getPendingIntentForSecondaryUserNewMessageNotification(
final Context context) {