Fix incorrect UI issue of "previously connected devices"
This CL before, the bt device still showing on "previously connected devices" after forgot that bt device. It because the list of getMostRecentlyConnectedDevices() will not include BOND_NONE device. We need to remove the device that not include in list of getMostRecentlyConnectedDevices() . This CL add removePreferenceIfNecessary() to check the device whether is contained in getMostRecentlyConnectedDevices(). If not, remove the preference. Bug: 149193092 Test: make -j42 RunSettingsRoboTests Change-Id: I94bedf222b64d9f05dc6f979b79dbc8794c0f97d
Loading
Please register or sign in to comment