Also check that device is not already connected in "adb connect"
Change-Id: I5f84b56b63d8c6932f23791cac319fd6bc39d36c
Signed-off-by: Mike Lockwood <lockwood@android.com>
Merge commit '1dec5032cfadc1a3d7687ce5b6cd322e4151ce9d' into eclair-plus-aosp
* commit '1dec5032cfadc1a3d7687ce5b6cd322e4151ce9d':
Force the mediaserver process to restart whenever the zygote or system
Merge commit 'ea935c1d9771fa2cc00583720586c209463f2791' into eclair-plus-aosp
* commit 'ea935c1d9771fa2cc00583720586c209463f2791':
Make vmallocinfo readable by group log so we can put it in bugreports
Merge commit 'bbf4093e7a04f6c61c12bc51d07f03c6b58f4142' into eclair-plus-aosp
* commit 'bbf4093e7a04f6c61c12bc51d07f03c6b58f4142':
add free space on system and cache to free_storage_left log event
Merge commit '46ef2b87d01a2df67074351d0078bf900550f343' into eclair
* commit '46ef2b87d01a2df67074351d0078bf900550f343':
add free space on system and cache to free_storage_left log event
Without this patch, "adb devices" will say "no permissions" when it sees
a device it can't write to, but "fastboot devices" will silently ignore it.
This is confusing to n00bs, especially since it doesn't seem to be widely
known that a device's USB id might be different in the bootloader (meaning
two udev rules are needed). It can also be confusing if you're sshed in,
when you can't access the device because you won't be in the "plugdev"
group, but "fastboot devices" won't make this clear.
I'm not sure about the Mac OS and Windows changes. AIUI, devices are always
writable on those platforms, but I don't use either, so I can't test this.
This patch shouldn't alter the behavior on either of those platforms.
* changes:
Add back missing libdl in linker command. The executables here contain call to function defined in libdl.so but the library is missing the linker commands. Currently, the library is linked via dependency of another library. While this works, it is not the right thing to do.
to function defined in libdl.so but the library is missing the linker commands.
Currently, the library is linked via dependency of another library. While this
works, it is not the right thing to do.
Merge commit 'e76eacac590ab1f9f5a08da0a92b0b1acac5037b'
* commit 'e76eacac590ab1f9f5a08da0a92b0b1acac5037b':
Add a new event log tag for corrupted database files.
add O_TRUNC flag in open(), which will truncate the target file,
otherwise, copy will keep the old content of the target file.
Signed-off-by: Tom Zhu <ling.zhu@motorola.com>
Signed-off-by: San Mehat <san@google.com>
Merge commit '9e42da45cf8de612107fb14660763eeca7582b8f' into eclair-plus-aosp
* commit '9e42da45cf8de612107fb14660763eeca7582b8f':
Add a new event log tag for corrupted database files.
Merge commit '78e7e400a8bb49bffaa312c856bd9e948b1a7ba3'
* commit '78e7e400a8bb49bffaa312c856bd9e948b1a7ba3':
Print code around PC and LR in the inline log.
Merge commit '09e713789e31f640a80af1cddb2fc40cbeb02ad5' into eclair-plus-aosp
* commit '09e713789e31f640a80af1cddb2fc40cbeb02ad5':
Print code around PC and LR in the inline log.
Added the "total" line, which makes it easy to answer questions like,
"how the hell much space am I wasting on /data/dalvik-cache?".
Also fixed the -s filename output, which was showing mostly-full paths
when a simple filename was called for.