Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceController

Note: CarDeveloperOptions is broken due to
https://r.android.com/1830976. This CL is needed to fix that broken
build.

The time zone transitions can be obtained via the public API
ZoneId.getRules() instead.

Bug: 119751170
Test: m CarDeveloperOptions
Merged-In: I4c4fbca57e3e52b5d20aee6144d3a1be3c5352c2
Change-Id: Iee93bce02099061dfe8fa11a9d7401e8cf26925b
2 files changed
tree: 908788a596886b5f0122dabf490cce83f4169a13
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-internal-lib/
  4. car-lib/
  5. car-maps-placeholder/
  6. car-systemtest-lib/
  7. car-test-lib/
  8. car-usb-handler/
  9. car_product/
  10. computepipe/
  11. cpp/
  12. EncryptionRunner/
  13. evs/
  14. experimental/
  15. FrameworkPackageStubs/
  16. obd2-lib/
  17. packages/
  18. procfs-inspector/
  19. service/
  20. tests/
  21. tools/
  22. user/
  23. vehicle-hal-support-lib/
  24. watchdog/
  25. .clang-format
  26. .gitignore
  27. Android.mk
  28. CleanSpec.mk
  29. CPPLINT.cfg
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. TEST_MAPPING
README.md

Native (C++) code format is required to be compatible with .clang-format file. Run

git clang-format --style=file --extension='h,cpp,cc' HEAD~

Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.