Add sound related B&R function for Onboarding
Add entrance for B&R sound related settings. Bug: 278975761 Test: manual, need to open aconfig flag. Change-Id: I5396e9e260aea1ece3a507ee322c73308f69f94a
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package com.android.settings.onboarding
|
||||
|
||||
import android.app.backup.BackupHelper
|
||||
import android.app.backup.BackupRestoreEventLogger
|
||||
import android.content.Context
|
||||
|
||||
/**
|
||||
@@ -29,4 +31,12 @@ interface OnboardingFeatureProvider {
|
||||
* @param preferenceKey The key to distinguish which preference has been changed.
|
||||
*/
|
||||
fun markPreferenceHasChanged(context: Context, preferenceKey: String)
|
||||
|
||||
/**
|
||||
* Return a BackupHelper for backup sound related settings.
|
||||
*
|
||||
* @param context App context
|
||||
* @param logger To log B&R stats.
|
||||
*/
|
||||
fun getSoundBackupHelper(context: Context, logger: BackupRestoreEventLogger): BackupHelper
|
||||
}
|
Reference in New Issue
Block a user