Unblock Contact Android May 2026

The SMS/MMS app maintains its own blocked table: content://sms/blocked . This table is not automatically synced with the BlockedNumberProvider on unblock. Google Messages and Samsung Messages use a periodic sync job (run every 6-12 hours). Therefore, unblocking a contact does not immediately unblock SMS delivery.

fun fullyUnblockContact(context: Context, phoneNumber: String, subId: Int) val normalized = PhoneNumberUtils.normalizeNumber(phoneNumber) // 1. Delete from system blocked provider context.contentResolver.delete( BlockedNumbers.CONTENT_URI, "number = ?", arrayOf(normalized) ) unblock contact android

// 5. Reset local spam confidence for that number val pm = context.getSystemService(ProtectionManager::class.java) // Android 14+ pm.resetSpamFeedback(normalized) The SMS/MMS app maintains its own blocked table:



© 1999-2025 ETPlanet.com

Affiliate: TackTech


Powered by UBB.threads™ PHP Forum Software 7.7.5