Remove more SMS vestiges.

This commit is contained in:
Greyson Parrelli
2024-03-12 13:47:18 -04:00
parent 6754fef164
commit 825ca0d737
94 changed files with 60 additions and 8017 deletions

View File

@@ -1,25 +0,0 @@
package org.thoughtcrime.securesms.logsubmit
import android.content.Context
import org.thoughtcrime.securesms.keyvalue.SignalStore
import org.thoughtcrime.securesms.util.Util
/**
* Prints off the current SMS settings
*/
class LogSectionSMS : LogSection {
override fun getTitle(): String = "SMS"
override fun getContent(context: Context): CharSequence {
val isDefaultSMS = Util.isDefaultSmsProvider(context)
val settings = SignalStore.settings()
val output = StringBuilder()
output.append("Default SMS : ${isDefaultSMS}\n")
output.append("SMS delivery reports : ${settings.isSmsDeliveryReportsEnabled}\n")
output.append("WiFi SMS : ${settings.isWifiCallingCompatibilityModeEnabled}\n")
return output
}
}

View File

@@ -86,7 +86,6 @@ public class SubmitDebugLogRepository {
add(new LogSectionNotificationProfiles());
add(new LogSectionExoPlayerPool());
add(new LogSectionKeyPreferences());
add(new LogSectionSMS());
add(new LogSectionStories());
add(new LogSectionBadges());
add(new LogSectionPermissions());