| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
createSubFile() was assuming that java.io.tmpdir did not
itself contain symlink. Generally true, but not for
Android One devices.
Previously the createSubFile() would have tolerated a name
parameter that directly referenced a symlink that pointed
outside of the parent dir (though not if the symlink was
actually dereferenced). This is unnecessarily lenient and
making it stricter makes the code simpler.
This fixes the FileUtils code and fixes/adds more cases to
the FileUtilsTest to confirm it all works as intended when
existing files and directories are present.
This change only affects the TzDataBundleInstaller which is
only executed in the event of an over-the-air timezone data
update.
Bug: 22836194
Change-Id: I05666c7387d469e79309a6fb0eeafba7e2a3299b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The need for a signature was removed in internal changes for the
M release. Instead, a permission is required.
Related commits:
12964bf5dd36d13fc25efef7c7175a677f9490a5
ef3d6079a55f559191c90d15e3f30a72b576c499
Bug: 19941636
(cherry picked from commit ba148e2de81badc77ad21daca18996d0766e412e)
Change-Id: Ie107b344b4e60cd4d71fe78a87d2260405d94c3a
|
|
The code here is used by the system server to install timezone data updates.
It is separate so it can be tested.
Scripts are included that build an "update bundle" (a zip file with a
well-defined contents).
ConfigBundle contains logic to extract the bundle safely.
TzDataBundleBuilder is used in the test and tools to construct a bundle.
The scripts in tools is a placeholder and will evolve.
bionic/libc/tools/zoneinfo tools will likely move there so they can be
integrated more closely.
An app is included for testing updates.
Bug: 19941636
Change-Id: Id0985f8c5be2f12858ee8bf52acf52bdb2df8741
|