Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9382893 authored by Haijie Hong's avatar Haijie Hong
Browse files

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
parent e994e8ea
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -214,11 +214,13 @@ class DeviceDetailsFragmentFormatterImpl(
            }
        }

        fragment.listView.post {
            if (isLoading) {
                fragment.setLoading(false, false)
                isLoading = false
            }
        }
    }

    override fun getMenuItem(
        fragmentType: FragmentTypeModel