Update tzdatacheck docs, reflect new files location
The tz_version tzdatacheck will now be the one from
the runtime APEX, not /system. The one from /system
will eventually go away.
Test: CTS: run cts -m CtsHostTzDataTests
Test: PTS (cp'd to internal master): run pts -m PtsTimeZoneTestCases
Bug: 116191025
Bug: 119293618
Bug: 113373927
Change-Id: I91e85c25adcdf24e6988bd2ebf7b889f0c254f07
diff --git a/tzdatacheck/tzdatacheck.cpp b/tzdatacheck/tzdatacheck.cpp
index a117dce..2285219 100644
--- a/tzdatacheck/tzdatacheck.cpp
+++ b/tzdatacheck/tzdatacheck.cpp
@@ -84,11 +84,11 @@
static void usage() {
- std::cerr << "Usage: tzdatacheck SYSTEM_TZ_DIR DATA_TZ_DIR\n"
+ std::cerr << "Usage: tzdatacheck BASE_TZ_DIR DATA_TZ_DIR\n"
"\n"
"Checks whether any timezone update distro in DATA_TZ_DIR is compatible with the\n"
- "current Android release and better than or the same as base system timezone rules in\n"
- "SYSTEM_TZ_DIR. If the timezone rules in SYSTEM_TZ_DIR are a higher version than the\n"
+ "current Android release and better than or the same as base timezone rules in\n"
+ "BASE_TZ_DIR. If the timezone rules in BASE_TZ_DIR are a higher version than the\n"
"one in DATA_TZ_DIR the DATA_TZ_DIR is renamed and then deleted.\n";
exit(1);
}
@@ -427,7 +427,7 @@
* paths for the metadata and current timezone data must match.
*
* Typically on device the two args will be:
- * /system/usr/share/zoneinfo /data/misc/zoneinfo
+ * /apex/com.google.runtime/etc/tz /data/misc/zoneinfo
*
* See usage() for usage notes.
*/