Post hiding loading view operation into to the message queue
BUG: 382407178 Test: local tested Flag: com.android.settings.flags.enable_bluetooth_device_details_polish Change-Id: I23acb528b3801b167d5bd7335b4c324ba38bdada
This commit is contained in:
@@ -214,9 +214,11 @@ class DeviceDetailsFragmentFormatterImpl(
|
||||
}
|
||||
}
|
||||
|
||||
if (isLoading) {
|
||||
fragment.setLoading(false, false)
|
||||
isLoading = false
|
||||
fragment.listView.post {
|
||||
if (isLoading) {
|
||||
fragment.setLoading(false, false)
|
||||
isLoading = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user