- In case of giving an argument of the image file name or descriptor,
we created a InputStream at the inside of ExifInterface, close them
properly.
- Developers should take care of closing input streams when they use
input streams since they made those input streams.
Bug: 27636804
Change-Id: I9a3a75b1b55dcb2718a60e14814a04cad939d22c
On builds where SMALLER_FONT_FOOTPRINT environment variable is set, some
of the fonts are not included in the build which causes emoji checks to
fail. This CL temporarily disables emoji checks.
Bug: 27785690
Change-Id: Ie32f0aa630c84347588fc87630467c14e985940a
back after fixing problem with tests.
Revert "Revert "Open drawer when showing copy/move destination screen""
This reverts commit 82ae18c877.
Fixed: 27479369
Change-Id: I70f98cf543de889a9a728d8d7233f8e7b077f871
The default was true before, which lead to quite a few bugs.
Moved done the introduced attrs to support it on AnimatedImageView
Change-Id: I68714c22ceefff6bac7cd9496c83edd69256ee1b
Fixes: 27745673
We have created AnimatorSet from XML, but it is assigned to the AVD only when
we start the animation due to theme-ing operations.
Given listeners can be added to AVD at any time, we have to cache them if
AnimatorSet is not setup yet.
b/26979225
Change-Id: I94315892de83f93a0205efe5e70dca0cd0f0a8e3
IInputMethodManager is an actual IPC interface with which application
processes can communicate with InputMethodManagerService (IMMS).
Although this has never been a public API, it is actually exposed to the
application process hence we parameters passed to that interface methods
should be considered untrusted.
In Android L-MR1 and prior, calling IInputMethodManager#startInput()
from the application process via reflection with null EditorInfo can
result in NPE in the IME process, which is not great.
In Android M, doing that causes NPE in the IMMS process but the
exception is just sent back to the application process via Binder call,
which is no longer so harmful.
In Android N, we want to make sure that such an invalid internal API
call is clearly under our control, rather than relying on NPE, by having
an explicit null check.
Bug: 26866030
Change-Id: Ica812177d9ca454dd16e3dd6854f3053c329b344
This test is causing failures which are blocking other test results.
Disabled until a fix can be submitted.
Bug: 27765262
Change-Id: I459f1ab1c6d2d3119fc50166e8de0d1259801e2a