ThemePickerLeaf: Don't setEnabledExclusiveInCategory for default icon pack

 * Not need, only introduced IllegalStateException:

05-11 00:02:51.194 22139 22139 E AndroidRuntime: FATAL EXCEPTION: main
05-11 00:02:51.194 22139 22139 E AndroidRuntime: Process: com.android.wallpaper, PID: 22139
05-11 00:02:51.194 22139 22139 E AndroidRuntime: java.lang.IllegalStateException: setEnabledExclusiveInCategory failed
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.content.om.OverlayManager.setEnabledExclusiveInCategory(OverlayManager.java:141)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.model.theme.OverlayManagerCompat.setEnabledExclusiveInCategory(OverlayManagerCompat.java:56)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.model.iconpack.IconPackManager.lambda$apply$1$IconPackManager(IconPackManager.java:77)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.model.iconpack.IconPackManager$$ExternalSyntheticLambda1.accept(Unknown Source:6)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at java.util.HashMap.forEach(HashMap.java:1292)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.model.iconpack.IconPackManager.apply(IconPackManager.java:77)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.picker.iconpack.IconPackFragment.applyIconPackOption(IconPackFragment.java:133)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.picker.iconpack.IconPackFragment.lambda$onBottomActionBarReady$1$IconPackFragment(IconPackFragment.java:128)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.customization.picker.iconpack.IconPackFragment$$ExternalSyntheticLambda1.onClick(Unknown Source:2)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.wallpaper.widget.BottomActionBar.lambda$setActionClickListener$3$BottomActionBar(BottomActionBar.java:342)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.wallpaper.widget.BottomActionBar$$ExternalSyntheticLambda3.onClick(Unknown Source:6)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.view.View.performClick(View.java:7455)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.view.View.performClickInternal(View.java:7432)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.view.View.access$3700(View.java:835)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.view.View$PerformClick.run(View.java:28810)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.os.Handler.handleCallback(Handler.java:938)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.os.Handler.dispatchMessage(Handler.java:99)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.os.Looper.loopOnce(Looper.java:201)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.os.Looper.loop(Looper.java:288)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at android.app.ActivityThread.main(ActivityThread.java:7870)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at java.lang.reflect.Method.invoke(Native Method)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
05-11 00:02:51.194 22139 22139 E AndroidRuntime:  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Change-Id: I841df2c167ce2a156b62996b79525b3f0095770a
Signed-off-by: Dmitrii <bankersenator@gmail.com>
1 file changed