Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2610)

Unified Diff: build/android/tombstones.py

Issue 358993003: [Android] Switch to DeviceUtils versions of file functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/valgrind_tools.py ('k') | tools/android/adb_profile_chrome/chrome_controller.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/tombstones.py
diff --git a/build/android/tombstones.py b/build/android/tombstones.py
index 1112a97c832441e857ed3890c14a0cbfa35da313..e7549ff73ed12bda06d3315929155a3c65d8a845 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):
« no previous file with comments | « build/android/pylib/valgrind_tools.py ('k') | tools/android/adb_profile_chrome/chrome_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698