Add callback to notify the device attributes is changed

Since the new UX design hope device list order not changed
when user doing transfer. This cl add new callback
"onDeviceAttributesChanged()" to handle this request.
The UI will update without change the list order when get this
callback.

The onDeviceAttributesChanged() will be called when
device attributes is changed, such like device name is changed or
device state is changed.

Bug: 144535188
Test: make -j42 RunSettingsLibRoboTests
Change-Id: I1e99d64b3e7f600d5d1cf56c84b15f98455e3d2e
2 files changed