Make UI and wording dynamically show on

- Satellite preferences may show on by deifferent reason. To fullfill
   these conditions, let category be able to dynamically show on base on
   the preference exist or not.
 - Show string of Connectivity or Messaging for service state change.

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378408939
Test: atest pass
Test: make pass
Change-Id: Ibb0f9089805bb35d0334603e55d292c9883262ff
This commit is contained in:
tomhsu
2024-11-25 05:24:49 +00:00
committed by Tom Hsu
parent 9b65eafc84
commit db43380380
5 changed files with 151 additions and 71 deletions

View File

@@ -86,6 +86,7 @@ public class SatelliteSettingPreferenceController extends
@Override
public void displayPreference(@NonNull PreferenceScreen screen) {
super.displayPreference(screen);
updateState(screen.findPreference(getPreferenceKey()));
}
@Override