1 package com.android.systemui.util
2 
3 import android.app.backup.BackupManager
4 import com.android.systemui.dagger.SysUISingleton
5 import javax.inject.Inject
6 
7 /** Wrapper around [BackupManager] useful for testing. */
8 @SysUISingleton
9 class BackupManagerProxy @Inject constructor() {
10 
11     /** Wrapped version of [BackupManager.dataChanged] */
dataChangednull12     fun dataChanged(packageName: String) = BackupManager.dataChanged(packageName)
13 
14     /** Wrapped version of [BackupManager.dataChangedForUser] */
15     fun dataChangedForUser(userId: Int, packageName: String) =
16         BackupManager.dataChangedForUser(userId, packageName)
17 }
18