diff options
author | jbudorick@chromium.org <jbudorick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-03 03:11:07 +0000 |
---|---|---|
committer | jbudorick@chromium.org <jbudorick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-03 03:11:07 +0000 |
commit | 62587f009f4cc0778e7c5f39fe79b64ee0584854 (patch) | |
tree | 105efd72ae83c55ca74256dd3b7b1706b48700af /build/android/tombstones.py | |
parent | 009a1d27b6096f654e4c0961411d991b7287c58d (diff) | |
download | chromium_src-62587f009f4cc0778e7c5f39fe79b64ee0584854.zip chromium_src-62587f009f4cc0778e7c5f39fe79b64ee0584854.tar.gz chromium_src-62587f009f4cc0778e7c5f39fe79b64ee0584854.tar.bz2 |
[Android] Switch to DeviceUtils versions of file functions.
This includes PushChangedFiles, FileExists, PullFile, ReadFile, and WriteFile.
BUG=267773
Review URL: https://codereview.chromium.org/358993003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/tombstones.py')
-rwxr-xr-x | build/android/tombstones.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/android/tombstones.py b/build/android/tombstones.py index 1112a97..e7549ff 100755 --- a/build/android/tombstones.py +++ b/build/android/tombstones.py @@ -62,8 +62,7 @@ def _GetTombstoneData(device, tombstone_file): Returns: A list of lines """ - return device.old_interface.GetProtectedFileContents( - '/data/tombstones/' + tombstone_file) + return device.ReadFile('/data/tombstones/' + tombstone_file, as_root=True) def _EraseTombstone(device, tombstone_file): |