Use BillingCycleRepository in DataUsageList

Unify the enable logic for the "Data warning & limit" page.

Bug: 290856342
Test: manual - on DataUsageList
Test: m RunSettingsRoboTests
Change-Id: I3014461ef21768b5d0eb6d91873a4ba52d20f6bf
This commit is contained in:
Chaohui Wang
2023-09-20 00:20:50 +08:00
parent c39acee194
commit 8c5bd75560
8 changed files with 58 additions and 74 deletions

View File

@@ -49,6 +49,7 @@ class BillingCyclePreference @JvmOverloads constructor(
this.subId = subId
summary = null
updateEnabled()
intent = intent
}
override fun onAttached() {