Don't use Lambda when register callback
This CL before, the lambda callback is different it cause callback didn't unregister. If you re-enter bluetooth detail page many times, onDeviceAttributesChanged() will be called many times cause UI not smooth. This CL remove the lambda callback and show the UI when device connected. Fixes: 141583252 Test: Manual Change-Id: Icd3e84b2d461d9b949f080269dfa2bb5b5d5cb73
Loading
Please register or sign in to comment