We move basic logics in LocalePicker from Settings to framework,
so that the other components can use it.
See also I1364c4810a115958662ca5d6e6e7f29c0c9b2569 for more
information.
Currently new LocalePicker in this package inherits that
in framework. The name should be same to accept activity-alias
naturally.
Depends on I8a398b9b77601cf88ea8a3840b92dcf7441e6103
Change-Id: Ib27d0638d80fdbc808cd5841df2b2f5df9a8474f
The logic calling selectFirst() is removed as
- There's no comment why it is needed.
- Actually SetupWizard gets stack as that forces users to see
WirelessSettings in SetupWizard.
The other changes:
- Move back LocalePickerFragment to LocalePicker.
- Make <activity> for LocalePicker in AndroidManifest <activity-alias>
- Add a short comment about how getComponent(), which should be a key
for understanding how top-level settings work.
- Modify LanguageSettings so that it corectly points LocalePicker as
a fragment.
Change-Id: I78d356e40af896ba1aab72fba12c90467371c7b0
Currently LocalePicker and LocalePickerInSetupWizard are identical and
the latter is not used at all. Let's remove it.
Change-Id: I951433350a7ead5c0b7036e84b609424ad0d0898