In some cases, recycler view receives the cancel touch event, it causes recycler view doesn't update the new locale list. Currently, we also treat cancel event as a signal to update the locale. According to the document, we can treat cancel event as a up event, but not perform any action that you normally would. It's ok in our case since we check if updated list is same as last one in adapater. Test: Drag and drop locale item, and make sure the language system is updated. Fix: 184051013 Fix: 184903189 Fix: 185000363 Change-Id: I06610080f34c5ed3562c74e1cdd955571cae55c0
1.5 KiB
1.5 KiB