[Catalyst] Location screen migration

- Add a flag for the migration
- Add the skeleton of the screen

Test: atest LocationScreenTest
Bug: 368360458
Flag: com.android.settings.flags.catalyst_location_settings
Change-Id: Id8b7d748210d1cacf99e3d61236706029b862289
This commit is contained in:
Jason Chiu
2024-10-17 15:44:58 +08:00
parent 4d19f45505
commit 99488fd104
4 changed files with 154 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ import android.os.SystemProperties;
import android.provider.Settings;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.preference.Preference;
import androidx.preference.PreferenceGroup;
@@ -185,4 +187,9 @@ public class LocationSettings extends DashboardFragment implements
R.string.location_settings_tooltip_text_for_chrome));
}
}
@Override
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
return LocationScreen.KEY;
}
}