[Samsung Galaxy S 5 Unified Development] travisnj:
FC - SMS (App) and Settings UI (Blacklist Enabled - Private Number)

BugReport Compliant (Post1)

Proceedure: Clean Wipe, Gapps Installed (Post 2)

ROM: CM12-1125

Steps to reproduce:

1.) Settings>Security>Blacklist

2) Settings

3) Configure Blacklist - Private Number Enabled

4) Receive {any} SMS

5) Crash

V/BlacklistProvider(15631): Query uri=content://blacklist/bynumber/%2BXXXXXXXXXX, match=2

W/SMSListener(21207): Got SMS broadcast...

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

V/Mms (23224): onStart: #1 resultCode: -1 = Activity.RESULT_OK

W/ActivityManager( 667): Permission Denial: opening provider com.android.providers.telephony.BlacklistProvider from ProcessRecord{1247806 23224:com.android.mms/u0a9} (pid=23224, uid=10009) requires android.permission.READ_PHONE_BLACKLIST or android.permission.CHANGE_PHONE_BLACKLIST

E/AndroidRuntime(23224): FATAL EXCEPTION: Mms

E/AndroidRuntime(23224): Process: com.android.mms, PID: 23224

E/AndroidRuntime(23224): java.lang.SecurityException: Permission Denial: opening provider com.android.providers.telephony.BlacklistProvider from ProcessRecord{1247806 23224:com.android.mms/u0a9} (pid=23224, uid=10009) requires android.permission.READ_PHONE_BLACKLIST or android.permission.CHANGE_PHONE_BLACKLIST

E/AndroidRuntime(23224):	at android.os.Parcel.readException(Parcel.java:1540)

E/AndroidRuntime(23224):	at android.os.Parcel.readException(Parcel.java:1493)

E/AndroidRuntime(23224):	at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3278)

E/AndroidRuntime(23224):	at android.app.ActivityThread.acquireProvider(ActivityThread.java:4589)

E/AndroidRuntime(23224):	at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2446)

E/AndroidRuntime(23224):	at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1442)

E/AndroidRuntime(23224):	at android.content.ContentResolver.query(ContentResolver.java:462)

E/AndroidRuntime(23224):	at android.content.ContentResolver.query(ContentResolver.java:422)

E/AndroidRuntime(23224):	at com.android.internal.telephony.util.BlacklistUtils.isListed(BlacklistUtils.java:121)

E/AndroidRuntime(23224):	at com.android.mms.transaction.SmsReceiverService.isBlacklisted(SmsReceiverService.java:658)

E/AndroidRuntime(23224):	at com.android.mms.transaction.SmsReceiverService.insertMessage(SmsReceiverService.java:645)

E/AndroidRuntime(23224):	at com.android.mms.transaction.SmsReceiverService.saveMessageToPhone(SmsReceiverService.java:541)

E/AndroidRuntime(23224):	at com.android.mms.transaction.SmsReceiverService.handleSmsReceived(SmsReceiverService.java:536)

E/AndroidRuntime(23224):	at com.android.mms.transaction.SmsReceiverService.access$100(SmsReceiverService.java:87)

E/AndroidRuntime(23224):	at com.android.mms.transaction.SmsReceiverService$ServiceHandler.handleMessage(SmsReceiverService.java:255)

E/AndroidRuntime(23224):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(23224):	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(23224):	at android.os.HandlerThread.run(HandlerThread.java:61)

W/ActivityManager( 667): Force finishing activity com.android.mms/.ui.ConversationList

W/Adreno-EGL( 255): <qeglDrvAPI_eglDupNativeFenceFDANDROID:6684>: EGL_BAD_PARAMETER

W/SurfaceFlinger( 255): captureScreen: failed to dup sync khr object

I/art (15631): Explicit concurrent mark sweep GC freed 35240(2MB) AllocSpace objects, 7(112KB) LOS objects, 40% free, 18MB/30MB, paused 1.045ms total 31.875ms

I/OpenGLRenderer( 667): Initialized EGL, version 1.4

I/Timeline( 1427): Timeline: Activity_idle id: android.os.BinderProxy@2747a09 time:5601961

I/Timeline( 667): Timeline: Activity_windows_visible id: ActivityRecord{247f618 u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t41} time:5602231

W/OpenGLRenderer( 1427): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...

W/OpenGLRenderer( 1427): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...

I/Process (23224): Sending signal. PID: 23224 SIG: 9

I/ActivityManager( 667): Process com.android.mms (pid 23224) has died

W/ActivityManager( 667): Scheduling restart of crashed service com.android.mms/.transaction.SmsReceiverService in 1000ms

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

D/PhoneApp(15631): getPhone phoneId:0

Additional Crash in Settings UI:

1.) Settings>Security>Blacklist

2) Settings

3) Crash

D/AndroidRuntime(24631): Shutting down VM

E/AndroidRuntime(24631): FATAL EXCEPTION: main

E/AndroidRuntime(24631): Process: com.android.settings, PID: 24631

E/AndroidRuntime(24631): java.util.MissingFormatArgumentException: Format specifier: 2$s

E/AndroidRuntime(24631):	at java.util.Formatter.getArgument(Formatter.java:1111)

E/AndroidRuntime(24631):	at java.util.Formatter.doFormat(Formatter.java:1076)

E/AndroidRuntime(24631):	at java.util.Formatter.format(Formatter.java:1042)

E/AndroidRuntime(24631):	at java.util.Formatter.format(Formatter.java:1011)

E/AndroidRuntime(24631):	at java.lang.String.format(String.java:1803)

E/AndroidRuntime(24631):	at android.content.res.Resources.getString(Resources.java:389)

E/AndroidRuntime(24631):	at android.app.Fragment.getString(Fragment.java:823)

E/AndroidRuntime(24631):	at com.android.settings.blacklist.PreferenceFragment.updateSelectListSummary(PreferenceFragment.java:142)

E/AndroidRuntime(24631):	at com.android.settings.blacklist.PreferenceFragment.onResume(PreferenceFragment.java:65)

E/AndroidRuntime(24631):	at android.app.Fragment.performResume(Fragment.java:2096)

E/AndroidRuntime(24631):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:928)

E/AndroidRuntime(24631):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)

E/AndroidRuntime(24631):	at android.app.BackStackRecord.run(BackStackRecord.java:833)

E/AndroidRuntime(24631):	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)

E/AndroidRuntime(24631):	at android.app.FragmentManagerImpl$1.run(FragmentManager.java:447)

E/AndroidRuntime(24631):	at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime(24631):	at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime(24631):	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(24631):	at android.app.ActivityThread.main(ActivityThread.java:5221)

E/AndroidRuntime(24631):	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(24631):	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(24631):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)

E/AndroidRuntime(24631):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

W/ActivityManager( 667): Force finishing activity com.android.settings/.SubSettings

I/OpenGLRenderer( 667): Initialized EGL, version 1.4

W/ActivityManager( 667): Activity pause timeout for ActivityRecord{173dfe88 u0 com.android.settings/.SubSettings t99 f}

W/BroadcastQueue( 667): Skipping deliver [background] BroadcastRecord{3359a394 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{9f87b34 24631 com.android.settings/1000/u0 remote:252cfe07}: process crashing

D/HeadsetStateMachine( 1818): Disconnected process message: 10, size: 0

Disable "Blacklist" and both do not occur: