Dear All

I found that when I connect to bluetooth device, Bluetooth app will be crash.

Reproduce step
  1. connect to bluetooth device
  2. clase bluetooth app
  3. open bluetooth app (crash)

Bluetooth app path : settings->connected devices


OS:Android 9.0 (release time: 2018 W51)

Platform:NUC6CAYH


Bluetooth App crash logcat log :

01-30 02:49:10.506 31387 31420 I bt_vendor: bt_vendor_op op 7
01-30 02:49:10.506 31387 31420 I bt_vendor: bt_vendor_op op 7 retval 0
01-30 02:49:10.506 31387 31420 I android.hardware.bluetooth-hci-h4: 2b 20 7
01-30 02:49:10.510 31387 31420 I android.hardware.bluetooth-hci-h4: 16 20 2
01-30 02:49:10.514 31387 31420 I android.hardware.bluetooth-hci-h4: 2d 20 1
01-30 02:49:11.101 31387 31420 I android.hardware.bluetooth-hci-h4: 1d 4 2
01-30 02:49:11.251 31387 31423 W bt_smp  : smp_br_connect_callback is called on unexpected transport 2
01-30 02:49:11.251 31387 31423 W bt_btif : bta_dm_acl_change info: 0x0
01-30 02:49:11.251 31387 31409 D bt_btif_dm: remote version info [de:b9:d2:df:d7:8f]: 0, 0, 0
01-30 02:49:11.251 31387 31420 I android.hardware.bluetooth-hci-h4: 13 20 e
01-30 02:49:11.252 31387 31423 I bt_stack: [INFO:bta_gattc_cache.cc(915)] bta_gattc_rebuild_cache 42
01-30 02:49:11.256 31387 31420 I android.hardware.bluetooth-hci-h4: 19 20 1c
01-30 02:49:12.223 31387 31423 E bt_stack: [ERROR:bta_gattc_api.cc(722)] BTA_GATTC_DeregisterForNotifications registration not found bd_addr=de:b9:d2:df:d7:8f
01-30 02:49:12.223 31387 31423 E bt_stack: [ERROR:bta_gattc_api.cc(722)] BTA_GATTC_DeregisterForNotifications registration not found bd_addr=de:b9:d2:df:d7:8f
01-30 02:49:12.223 31387 31423 W bt_btif : bta_hh_co_open: Found an existing device with the same handle dev_status = 2
01-30 02:49:12.223 31387 31423 W bt_btif : bta_hh_co_open:     bd_addr = [DE:B9:D2:DF:D7:]
01-30 02:49:12.223 31387 31423 W bt_btif : bta_hh_co_open:     attr_mask = 0x0000, sub_class = 0x00, app_id = 255
01-30 02:49:12.224 31387 31409 W bt_btif : btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=16, status =0
01-30 02:49:12.224 31387 31409 W bt_btif : BTA_HH_OPEN_EVT: Found device...Getting dscp info for handle ... 16
01-30 02:49:12.224 31387 31409 I bt_btif_dm: get_cod remote_cod = 0x00000580
01-30 02:49:12.224 31387 31409 I bt_btif_dm: get_cod remote_cod = 0x00000580
01-30 02:49:12.224 31387 31409 W bt_btif : btif_hh_upstreams_evt: name = MX Master 2S
01-30 02:49:12.224 31387 31409 W bt_btif : bta_hh_co_send_hid_info: fd = 196, name = [MX Master 2S], dscp_len = 140
01-30 02:49:12.224 31387 31409 W bt_btif : bta_hh_co_send_hid_info: vendor_id = 0x046d, product_id = 0xb019, version= 0x0111,ctry_code=0x00
01-30 02:49:12.224 31387 31409 W bt_btif : bta_hh_co_send_hid_info: wrote descriptor to fd = 196, dscp_len = 140, result = 0
01-30 02:49:12.224 31387 31409 W bt_stack: [WARNING:btif_hh.cc(430)]  Device de:b9:d2:df:d7:8f already added
01-30 02:49:12.224 31387 31409 W bt_btif : btif_hh_upstreams_evt: Device already added
01-30 02:49:12.224 31387 31387 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@4f847f4
01-30 02:49:12.224 31387 31387 D BluetoothAdapterService: isQuetModeEnabled() - Enabled = false
01-30 02:49:12.225  2366  2401 D THERMALD: poll exit 1 polls_fd event 0 1
01-30 02:49:12.226  2366  2401 D THERMALD:  energy 2:0:73817195 mj: 604 mw
01-30 02:49:12.227  2366  2401 D THERMALD:  energy 1:0:241087653 mj: 1232 mw
01-30 02:49:12.227  2366  2401 D THERMALD: poll exit 1 polls_fd event 0 1
01-30 02:49:12.227  2366  2401 I chatty  : uid=1000(system) /system/vendor/bin/thermal-daemon identical 5 lines
01-30 02:49:12.227  2366  2401 D THERMALD: poll exit 1 polls_fd event 0 1
01-30 02:49:12.228 31387 31387 D BluetoothHidHostService: Connection state DE:B9:D2:DF:D7:8F: 0->2
01-30 02:49:12.229  3146  3223 D EventHub: No input device configuration file found for device 'MX Master 2S Keyboard'.
01-30 02:49:12.231  3354  3630 D CachedBluetoothDevice: onProfileStateChanged: profile HID newProfileState 2
01-30 02:49:12.231 31387 31387 D AdapterProperties: PROFILE_CONNECTION_STATE_CHANGE: profile=4, device=DE:B9:D2:DF:D7:8F, 0 -> 2
01-30 02:49:12.231 31387 31387 W AdapterProperties: PROFILE_CONNECTION_STATE_CHANGE: unexpected transition for profile=4, device=DE:B9:D2:DF:D7:8F, 0 -> 2
01-30 02:49:12.232 31387 31387 D AdapterProperties: ADAPTER_CONNECTION_STATE_CHANGE: DE:B9:D2:DF:D7:8F: 0 -> 2
01-30 02:49:12.232 31387 31387 W AdapterProperties: ADAPTER_CONNECTION_STATE_CHANGE: unexpected transition for profile=4, device=DE:B9:D2:DF:D7:8F, 0 -> 2
01-30 02:49:12.232  3146  3223 I EventHub: wakeMechanism=EPOLLWAKEUP, usingClockIoctl=true
01-30 02:49:12.232  3146  3223 I EventHub: New device: id=21, fd=222, path='/dev/input/event18', name='MX Master 2S Keyboard', classes=0x80000003, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false,
01-30 02:49:12.233  3146  3223 I InputReader: Device added: id=21, name='MX Master 2S Keyboard', sources=0x00000101
01-30 02:49:12.233  3146  3223 E EventHub: could not get driver version for /dev/input/mouse1, Not a typewriter
01-30 02:49:12.244  3146  3223 D EventHub: No input device configuration file found for device 'MX Master 2S Mouse'.
01-30 02:49:12.244  3146  3223 I EventHub: wakeMechanism=EPOLLWAKEUP, usingClockIoctl=true
01-30 02:49:12.244  3146  3223 I EventHub: New device: id=22, fd=248, path='/dev/input/event19', name='MX Master 2S Mouse', classes=0x80000008, configuration='', keyLayout='', keyCharacterMap='', builtinKeyboard=false,
01-30 02:49:12.244  3146  3223 I InputReader: Device added: id=22, name='MX Master 2S Mouse', sources=0x00002002
01-30 02:49:17.022 31387 31409 D AdapterProperties: Discoverable Timeout:120
01-30 02:49:17.022 31387 31420 I android.hardware.bluetooth-hci-h4: 1a c 1
01-30 02:49:17.023 31387 31409 D AdapterProperties: Scan Mode:21
01-30 02:49:17.025 31387 31420 I android.hardware.bluetooth-hci-h4: 1a c 1
01-30 02:49:17.033  2416 31964 I iahwcomposer: handle (3), fb (151)
01-30 02:49:17.040  2402  3036 E TrafficController: Failed to set the counterSet: Bad file descriptor, fd: -1
01-30 02:49:17.043 31808 31838 I DeviceIndex: Skipping: device index is not enabled
01-30 02:49:17.046 31808 31978 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
01-30 02:49:17.050  2425 31314 D audio_route: Apply path: speaker
01-30 02:49:17.050  2425 31314 D audio_route: Apply path: main-mic
01-30 02:49:17.055 31808 31808 D DashboardSummary: Listening for condition changes
01-30 02:49:17.055 31808 31808 D DashboardSummary: onConditionsChanged
01-30 02:49:17.055 31808 31808 D DashboardAdapter: adapter setConditions called
01-30 02:49:17.056 31808 31808 D DashboardSummary: conditions refreshed
01-30 02:49:17.056 31808 31808 D APM_Condition: APM condition refreshed
01-30 02:49:17.056 31808 31808 D APM_Condition: setActive was called with false
01-30 02:49:17.060 31808 31979 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-30 02:49:17.060  2425 31314 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
01-30 02:49:17.060 31840 31855 D SuggestionParser: Day 18 for com.android.settings.suggested.category.DEFERRED_SETUP
01-30 02:49:17.061 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.061 31840 31855 D SuggestionParser: Day 18 for com.android.settings.suggested.category.HIGH_PRIORITY
01-30 02:49:17.062 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.062 31840 31855 D SuggestionParser: Day 18 for com.android.settings.suggested.category.FIRST_IMPRESSION
01-30 02:49:17.065 31808 31835 D BatteryInfo: time to make batteryStatsHelper: 1ms
01-30 02:49:17.066  3146  3165 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
01-30 02:49:17.067  3146  3165 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
01-30 02:49:17.067  3429  3429 E PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response
01-30 02:49:17.068 31840 31855 I FeatureEligibility: com.android.settings/com.android.settings.fingerprint.FingerprintEnrollSuggestionActivity requires unavailable feature android.hardware.fingerprint
01-30 02:49:17.069  3146  3165 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
01-30 02:49:17.070  3146  3165 W BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
01-30 02:49:17.071 31840 31855 I FeatureEligibility: com.android.settings/com.android.settings.fingerprint.FingerprintSuggestionActivity requires unavailable feature android.hardware.fingerprint
01-30 02:49:17.074 31808 31822 D SugstStatusProvider: Suggestion com.android.settings/com.android.settings.notification.ZenSuggestionActivity complete: true
01-30 02:49:17.075 31840 31981 D CandidateSuggestionFilter: Suggestion state result Bundle[{candidate_is_complete=true}]
01-30 02:49:17.075 31808 31823 D SugstStatusProvider: Suggestion com.android.settings/com.android.settings.wallpaper.WallpaperSuggestionActivity complete: true
01-30 02:49:17.075 31840 31982 D CandidateSuggestionFilter: Suggestion state result Bundle[{candidate_is_complete=true}]
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg: Cannot find the package: com.google.android.apps.tips
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg: android.content.pm.PackageManager$NameNotFoundException: com.google.android.apps.tips
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:181)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:152)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at com.android.settings.support.NewDeviceIntroSuggestionActivity.isTipsInstalledAsSystemApp(NewDeviceIntroSuggestionActivity.java:146)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at com.android.settings.support.NewDeviceIntroSuggestionActivity.isSuggestionComplete(NewDeviceIntroSuggestionActivity.java:71)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at com.android.settings.dashboard.suggestions.SuggestionFeatureProviderImpl.isSuggestionComplete(SuggestionFeatureProviderImpl.java:91)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at com.android.settings.dashboard.suggestions.SuggestionStateProvider.call(SuggestionStateProvider.java:87)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at android.content.ContentProvider$Transport.call(ContentProvider.java:401)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:272)
01-30 02:49:17.078 31808 31823 W NewDeviceIntroSugg:  at android.os.Binder.execTransact(Binder.java:731)
01-30 02:49:17.078 31808 31823 D SugstStatusProvider: Suggestion com.android.settings/com.android.settings.support.NewDeviceIntroSuggestionActivity complete: true
01-30 02:49:17.078 31840 31983 D CandidateSuggestionFilter: Suggestion state result Bundle[{candidate_is_complete=true}]
01-30 02:49:17.079 31808 31822 D SugstStatusProvider: Suggestion com.android.settings/com.android.settings.wifi.calling.WifiCallingSuggestionActivity complete: true
01-30 02:49:17.079 31840 31984 D CandidateSuggestionFilter: Suggestion state result Bundle[{candidate_is_complete=true}]
01-30 02:49:17.079 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 8
01-30 02:49:17.082 31808 31822 D SugstStatusProvider: Suggestion com.android.settings/com.android.settings.password.ScreenLockSuggestionActivity complete: false
01-30 02:49:17.083 31840 31984 D CandidateSuggestionFilter: Suggestion state result Bundle[{candidate_is_complete=false}]
01-30 02:49:17.083 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 2
01-30 02:49:17.086 31840 31855 D CandidateSuggestion: Metadata null or has no info about summary_uri
01-30 02:49:17.087 31808 31808 W SummaryLoader: type=1400 audit(0.0:52688): avc: denied { search } for name="/" dev="bpf" ino=1 scontext=u:r:system_app:s0 tcontext=u:object_r:fs_bpf:s0 tclass=dir permissive=0
01-30 02:49:17.089 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.090 31840 31855 I chatty  : uid=10024(com.android.settings.intelligence) Binder:31840_3 identical 2 lines
01-30 02:49:17.091 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.092 31808 31835 D BatteryInfo: time for getStats: 27ms
01-30 02:49:17.092 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.093 31808 31978 D BatteryInfo: time for regular BatteryInfo: 1ms
01-30 02:49:17.093 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.094 31808 31838 D DashboardSummary: Suggestion NOT loaded, delaying setCategory by 3000ms
01-30 02:49:17.094 31840 31855 D CandidateSuggestionFilter: filterCandidates duration: 0
01-30 02:49:17.095 31808 31978 D BatteryInfo: time for getBatteryInfo: 1ms
01-30 02:49:17.095 31808 31980 D SuggestionLoader: data size 1
01-30 02:49:17.101 31808 31808 D BatteryInfo: time for callback: 1ms
01-30 02:49:17.102 31808 31808 D DashboardSummary: Category has loaded, setting category from suggestionReady
01-30 02:49:17.102 31808 31808 D DashboardAdapter: adapter setCategory called
01-30 02:49:17.117  2416 31964 I iahwcomposer: handle (5), fb (152)
01-30 02:49:17.117  2416 31964 I iahwcomposer: RBC enabled. Create frame buffer with css modifier successfully.
01-30 02:49:17.117  2416 31964 I iahwcomposer: handle (8), fb (156)
01-30 02:49:17.151  2416 31964 I iahwcomposer: RBC enabled. Create frame buffer with css modifier successfully.
01-30 02:49:17.151  2416 31964 I iahwcomposer: handle (10), fb (157)
01-30 02:49:17.184  2416 31964 I iahwcomposer: RBC enabled. Create frame buffer with css modifier successfully.
01-30 02:49:17.184  2416 31964 I iahwcomposer: handle (12), fb (158)
01-30 02:49:17.517  2416 31964 I iahwcomposer: handle (9), fb (144)
01-30 02:49:17.517  2416 31964 I iahwcomposer: handle (1), fb (152)
01-30 02:49:17.518  2416 31964 I iahwcomposer: RBC enabled. Create frame buffer with css modifier successfully.
01-30 02:49:17.518  2416 31964 I iahwcomposer: handle (5), fb (153)
01-30 02:49:17.552  2416 31964 I iahwcomposer: RBC enabled. Create frame buffer with css modifier successfully.
01-30 02:49:17.552  2416 31964 I iahwcomposer: handle (11), fb (159)
01-30 02:49:17.552  2416 31964 I iahwcomposer: handle (7), fb (160)
01-30 02:49:17.584  2416 31964 I iahwcomposer: RBC enabled. Create frame buffer with css modifier successfully.
01-30 02:49:17.584  2416 31964 I iahwcomposer: handle (8), fb (156)
01-30 02:49:18.571  3146  3545 I ActivityManager: START u0 {flg=0x8000 cmp=com.android.settings/.Settings$ConnectedDeviceDashboardActivity (has extras)} from uid 1000
01-30 02:49:18.586 31808 31808 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@97b3513
01-30 02:49:18.595 31808 31808 D SettingsActivity: Starting onCreate
01-30 02:49:18.611 31808 31808 D SettingsActivity: Starting to set activity title
01-30 02:49:18.611 31808 31808 D SettingsActivity: Done setting title
01-30 02:49:18.611 31808 31808 D SettingsActivity: Switching to fragment com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment
01-30 02:49:18.613 31808 31808 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.connecteddevice.AddDevicePreferenceController
01-30 02:49:18.613 31808 31808 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceController
01-30 02:49:18.613 31808 31808 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.connecteddevice.AdvancedConnectedDeviceController
01-30 02:49:18.621 31808 31808 D AndroidRuntime: Shutting down VM
--------- beginning of crash
01-30 02:49:18.622 31808 31808 E AndroidRuntime: FATAL EXCEPTION: main
01-30 02:49:18.622 31808 31808 E AndroidRuntime: Process: com.android.settings, PID: 31808
01-30 02:49:18.622 31808 31808 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$ConnectedDeviceDashboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.android.settingslib.bluetooth.A2dpProfile.getConnectionStatus(android.bluetooth.BluetoothDevice)' on a null object reference
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.os.Handler.dispatchMessage(Handler.java:106)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.os.Looper.loop(Looper.java:193)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.ActivityThread.main(ActivityThread.java:6669)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.lang.reflect.Method.invoke(Native Method)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
01-30 02:49:18.622 31808 31808 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.android.settingslib.bluetooth.A2dpProfile.getConnectionStatus(android.bluetooth.BluetoothDevice)' on a null object reference
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settingslib.bluetooth.CachedBluetoothDevice.isA2dpDevice(CachedBluetoothDevice.java:1192)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.bluetooth.AvailableMediaBluetoothDeviceUpdater.isFilterMatched(AvailableMediaBluetoothDeviceUpdater.java:108)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.bluetooth.BluetoothDeviceUpdater.update(BluetoothDeviceUpdater.java:184)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.bluetooth.BluetoothDeviceUpdater.forceUpdate(BluetoothDeviceUpdater.java:110)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.connecteddevice.AvailableMediaDeviceGroupController.displayPreference(AvailableMediaDeviceGroupController.java:79)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.dashboard.DashboardFragment.lambda$displayResourceTiles$2(DashboardFragment.java:284)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.dashboard.-$$Lambda$DashboardFragment$wmCpqAavTrPCWLW0gqd6-3n9DOU.accept(Unknown Source:4)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1390)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:583)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.Iterator.forEachRemaining(Iterator.java:116)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:133)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:235)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:419)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.dashboard.DashboardFragment.displayResourceTiles(DashboardFragment.java:283)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.dashboard.DashboardFragment.refreshAllPreferences(DashboardFragment.java:324)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.dashboard.DashboardFragment.onCreatePreferences(DashboardFragment.java:131)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.support.v14.preference.PreferenceFragment.onCreate(PreferenceFragment.java:225)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settingslib.core.lifecycle.ObservablePreferenceFragment.onCreate(ObservablePreferenceFragment.java:60)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.SettingsPreferenceFragment.onCreate(SettingsPreferenceFragment.java:131)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.dashboard.DashboardFragment.onCreate(DashboardFragment.java:108)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.Fragment.performCreate(Fragment.java:2503)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1256)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:818)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:603)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:388)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:291)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.Activity.performCreate(Activity.java:7136)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.Activity.performCreate(Activity.java:7127)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
01-30 02:49:18.622 31808 31808 E AndroidRuntime:  ... 11 more
01-30 02:49:18.625  3146  4438 W ActivityManager:   Force finishing activity com.android.settings/.Settings$ConnectedDeviceDashboardActivity
01-30 02:49:18.628  3146  4438 W ActivityManager:   Force finishing activity com.android.settings/.Settings
01-30 02:49:18.631 31808 31808 I Process : Sending signal. PID: 31808 SIG: 9
01-30 02:49:18.649  3146  3222 W InputDispatcher: channel 'b952d3 com.android.settings/com.android.settings.Settings (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
01-30 02:49:18.649  3146  3222 E InputDispatcher: channel 'b952d3 com.android.settings/com.android.settings.Settings (server)' ~ Channel is unrecoverably broken and will be disposed!
01-30 02:49:18.651  3146 31708 I ActivityManager: Process com.android.settings (pid 31808) has died: fore TOP
01-30 02:49:18.651  3146 31584 I WindowManager: WIN DEATH: Window{b952d3 u0 com.android.settings/com.android.settings.Settings}
01-30 02:49:18.651  3146 31584 W InputDispatcher: Attempted to unregister already unregistered input channel 'b952d3 com.android.settings/com.android.settings.Settings (server)'
01-30 02:49:18.651  3146  3164 W libprocessgroup: kill(-31808, 9) failed: No such process
01-30 02:49:18.651  3146  3164 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 31808 in 0ms
01-30 02:49:18.652  2403  2403 I Zygote  : Process 31808 exited due to signal (9)
01-30 02:49:18.652  3146  3222 I InputDispatcher: Dropping event because there is no touchable window at (368, 359).
01-30 02:49:18.653  3146 31708 I ActivityManager: Killing 31840:com.android.settings.intelligence/u0a24 (adj 0): depends on provider com.android.settings/.dashboard.suggestions.SuggestionStateProvider in dying proc com.android.settings (adj 0)
01-30 02:49:18.653  3146  3164 W libprocessgroup: kill(-31840, 9) failed: No such process
01-30 02:49:18.656  2427  3085 W SurfaceFlinger: Attempting to set client state on removed layer: com.android.settings/com.android.settings.Settings#0
01-30 02:49:18.656  2427  3085 W SurfaceFlinger: Attempting to destroy on removed layer: com.android.settings/com.android.settings.Settings#0
01-30 02:49:18.663  3146  3169 W ActivityManager: setHasOverlayUi called on unknown pid: 31808
01-30 02:49:18.665  2402  3036 E TrafficController: Failed to delete the counterSet: Bad file descriptor
01-30 02:49:18.671  2403  2403 I Zygote  : Process 31840 exited due to signal (9)
01-30 02:49:18.675 31988 31988 W ndroid.setting: Unexpected CPU variant for X86 using defaults: x86_64
01-30 02:49:18.675  3146  3163 I ActivityManager: Start proc 31988:com.android.settings/1000 for restart com.android.settings
01-30 02:49:18.693 31988 31988 I ndroid.setting: The ClassLoaderContext is a special shared library.
01-30 02:49:18.695 31988 31988 I ndroid.setting: The ClassLoaderContext is a special shared library.
01-30 02:49:18.698  3146  3164 W libprocessgroup: kill(-31840, 9) failed: No such process
01-30 02:49:18.698  3146  3164 I libprocessgroup: Successfully killed process cgroup uid 10024 pid 31840 in 44ms