commit | 4ce2f838e78592d0b93776b73ca4de855a423dde | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Tue Dec 03 14:52:39 2013 -0800 |
committer | JP Abgrall <jpa@google.com> | Fri Mar 07 17:29:39 2014 -0800 |
tree | 86a037fcf852a2f2781c2cd5cf6fdd74d5179135 | |
parent | 0c3d19ff3db7b04081a7a729a81642c5903f741a [diff] |
adb: Don't clobber block devices during push In the past, an adb push would ALWAYS unlink the target path. Now, we only links and regular files (and links). This allows the following to work: adb shell ls -l /dev/block/mmcblk0p8 # brw------- root root 179, 8 2013-11-28 07:43 mmcblk0p8 adb push n7.jpa.mda.post_jb_encryption.raw /dev/block/mmcblk0p8 Bug: 11984121 Change-Id: I982c7a1cd87986621f2bebdcb41c4e281f67f772