Migrate Dial pad tones preference

Bug: 364899400
Test: atest DialPadTonePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I5939a4d41ad61337f38bd5d48a1cb74f14f1e397
This commit is contained in:
Mill Chen
2024-10-09 18:52:03 +00:00
parent aeb05239de
commit 898feed16a
6 changed files with 154 additions and 7 deletions

View File

@@ -39,6 +39,7 @@ import org.robolectric.RobolectricTestRunner;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Config;
// LINT.IfChange
@RunWith(RobolectricTestRunner.class)
@Config(shadows = {
com.android.settings.testutils.shadow.ShadowFragment.class,
@@ -123,3 +124,4 @@ public class DialPadTonePreferenceControllerTest {
assertThat(System.getInt(mContentResolver, System.DTMF_TONE_WHEN_DIALING, 1)).isEqualTo(0);
}
}
// LINT.ThenChange(DialPadTonePreferenceTest.kt)