mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Remove more SMS vestiges.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user