[XDA-University] and2:
Hello friends,

again i need some help.

The background:

i have a S6 edge 5.0.2 port running on my Note Edge and could enable the note edge panel on the 5.0.2 cocktailbarservice. I decided to try the 5.1.1 people stripe and cocktailbarservice. The people stripe is from a S6 edge with task and circle and the cocktailbarservice from a note edge.

After some changes in the framework.jar the people stripe runs great but the cocktailbarservice still fc´s.

I guess this is the error:

E/ActivityThread( 3992): [COLOR="Red"]Failed to find provider info for com.sec.providers.settingsearch[/COLOR]

I/art ( 382): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 39% free, 18MB/31MB, paused 290us total 11.328ms

I/LoadedApk( 4950): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/system/app/IWlanContentProvider/IWlanContentProvider.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]

E/AndroidRuntime( 3992): FATAL EXCEPTION: main

E/AndroidRuntime( 3992): Process: com.samsung.android.app.cocktailbarservice, PID: 3992

E/AndroidRuntime( 3992): [COLOR="red"]java.lang.RuntimeException: Unable to start service com.samsung.android.app.cocktailbarservice.CocktailBarService@206ba9d6 with Intent { act=android.intent.action.MAIN cmp=com.samsung.android.app.cocktailbarservice/.CocktailBarService }: java.lang.IllegalArgumentException: Unknown URL content://com.sec.providers.settingsearch/searchinfo[/COLOR]

E/AndroidRuntime( 3992):	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java)

E/AndroidRuntime( 3992):	at android.app.ActivityThread.access$2200(ActivityThread.java)

E/AndroidRuntime( 3992):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java)

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

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

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

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

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

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

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

E/AndroidRuntime( 3992):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)

E/AndroidRuntime( 3992): [COLOR="red"]Caused by: java.lang.IllegalArgumentException: Unknown URL content://com.sec.providers.settingsearch/searchinfo[/COLOR]

E/AndroidRuntime( 3992):	at android.content.ContentResolver.insert(ContentResolver.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.settings.SettingsSearchReceiver.setStyledClockSettingsVisibleInSFinder(SettingsSearchReceiver.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.ui.view.cover.CoverModeController.addStyledClockToSFinder(CoverModeController.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.ui.view.cover.CoverModeController.registerSCoverStateReceiver(CoverModeController.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.policy.CocktailBarImmersivePolicy.registerSCoverStateReceiver(CocktailBarImmersivePolicy.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.policy.CocktailBarImmersivePolicy.init(CocktailBarImmersivePolicy.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.policy.CocktailBarImmersivePolicy.callOnStartCommand(CocktailBarImmersivePolicy.java)

E/AndroidRuntime( 3992):	at com.samsung.android.app.cocktailbarservice.CocktailBarService.onStartCommand(CocktailBarService.java)

E/AndroidRuntime( 3992):	... 11 more

I compared the ContentResolver in framework.jar but it's the same. I don't know what's wrong with the provider and could not find anything related in the internet.

May be someone knows this error and how to fix it.

http://pastebin.com/wtd93ytx

(from the attachment delete the.zip)