diff options
author | 2023-06-08 01:00:30 +0000 | |
---|---|---|
committer | 2023-06-09 17:25:07 +0000 | |
commit | 3bf1b81380155db7791ddfe97e77a1c1f6d90e43 (patch) | |
tree | b45a2f2d1e4fee05441a0ee74d847927ecb7417b /compiler/utils/jni_macro_assembler.cc | |
parent | e3d55f106cb13c9a7cda477997699c0f2ac28a77 (diff) |
Fix logfile path if not absolute
If 'logfile' parameter is not absolute, no log file is written because
an app default cwd is '/'. When we can, we fix it by using directory
/data/data/packageName.
Manual testing:
adb root
adb shell stop
adb shell setprop dalvik.vm.extra-opts "-verbose:jdwp,startup -XjdwpOptions:logfile=fab.log,logflags=0xfff,directlog=y"
adb shell start
Test: Manual
Bug: 286291596
Change-Id: I48c3b5513168e4a2c17013c0e1ccd0a4ea1ea734
Diffstat (limited to 'compiler/utils/jni_macro_assembler.cc')
0 files changed, 0 insertions, 0 deletions