Back-ported bug-fix 5f07d74ad7fb64637cc29405262a9d33fb2f2bff
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.
Change-Id: I3c475d2ab7d6702102cb22b602697936eefed19b
Back-ported bug-fix b6b8deb6abd06f063f546b43b90b1c21028f219c
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.
Change-Id: If77312e0441800e9c4d9dbcfc770183ab1a118e9
Back-ported bug-fix 2098196c82ac1832cfb351950c17ecd4b46bb5a0
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.
Change-Id: I80d1c83eff1d0e474315071f9ea6d99c638c9891
Back-ported bug-fix c80bf4e9c5b4233da8478ab820fc54bc1f6a7de6
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.
Change-Id: Ice4116aa7cbe15a9e55e38cd6a4b3a92dd608fdc
--- This is a back-port of AOSP change 4a7e93da by Yu Ning; the description of the original patch follows below ---
When GPU emulation is enabled, the emulator sometimes freezes, with an
error message in logcat similar to the following:
QemuPipeStream::readFully failed (buf 0x7f9cd8ab8000): Bad address
Some users have reported the same issue, e.g.:
https://code.google.com/p/android/issues/detail?id=170633
The root cause is that QemuPipeStream::readFully(void *buf, size_t len)
may attempt to read beyond (buf + len), resulting in a -EFAULT return
value from the goldfish/qemu pipe driver.
Fix this bug to improve the stability of the emulator. In addition,
- Add more information to the said error message to facilitate future
debugging.
- Use "%zu" instead of "%d" for logging size_t variables.
Change-Id: I8785fee0427fd6c0f25237470b346e769a82c992
Signed-off-by: Yu Ning <yu.ning@intel.com>
Signed-off-by: Pengcheng Chen <pengcheng.chen@intel.com>
I didn't notice that method deleteItem(View) is used via reflection.
Restoring its (unused) parameter, which is needed for reflection,
but keeping a better name deleteSelectedItems.
Actually, we have a problem that click handlers like this one are also
used as helper methods for other handlers, where View parameter is
unnecessary, but I don't think it's worth fixing, so let's pass View and
not use it.
Bug: 21643257
Change-Id: Ibc0cd919706156ddc00890f322e51cb0774bc26b
If for any reason e.g. BrowseActivty crash or rotate screen on phone,
system needs a public empty parameter constructor to restore
fragment stack.
Change-Id: I4c001b4b95a1958ff7f2cb42688582c8261a71e0
Also added Camera2Raw to sdk.atree. These changes have already been made
downstream in mnc-dev, but that sample was cherry-picked backwards.
Synced to /developers/samples/android commit
9d37fdb04df6b3cb0d9894874394576c181221ab.
Change-Id: I1cda73889b043e40654323eb3b9c723cfb148185
(cherry picked from commit 576cc365cd)
Also added Camera2Raw to sdk.atree. These changes have already been made
downstream in mnc-dev, but that sample was cherry-picked backwards.
Synced to /developers/samples/android commit
9d37fdb04df6b3cb0d9894874394576c181221ab.
Change-Id: I1cda73889b043e40654323eb3b9c723cfb148185
A default theme helps Android Studio to select the right theme when
opening a layout in the Layout Editor. Without this, Android Studio
selects Holo as the default theme and it causes the preview to fail
because of missing attributes.
Change-Id: I5564530637554ecad6823f6082b60b291cd00710