This CL depends on piex (github.com/google/piex),
which is owned by Google Photos's RAW team.
piex is capable of reading EXIF data that contains
metadata, and finding the positions in an image of
thumbnail and preview images from RAW images.
piex supports DNG, CR2, NEF, NRW, ARW, RW2, ORF
and RAF image file formats.
ExifInterface gets thumbnail and metadata information
from the above RAW image formats via piex.
Bug: 26177215
Change-Id: I529f8032bcb2a9d3d9e857ff1365a26a4f040066
There seems to cases when after QSTile is constructed, handleUpdateState()
is called without setListening(true) being called first. In the WorkModeTile
case it leads to the tile removing itself. The fix is to reload active profile
list in the constructor so handleUpdateState() would not remove itself because
it thinks there is no active profile.
Bug: 26178050
Change-Id: I3516c85ffcf00730c3afd67f9fdec1d41c781c0a
* Use try-with-resource block to ensure close auto-closeable stream.
* Define local variables just above the place where they are used.
BUG=None
Change-Id: I9d6c952ebac096c51567a4a787b2bc9fff6502de
Also add getBufferCapacityInFrames().
These can be used to dynamically raise or lower latency.
Fix JavaDocs.
Bug: 21019153
Change-Id: I5c795c23826f7f29038d0de7004f4b7f365cd67e
Signed-off-by: Phil Burk <philburk@google.com>
This reverts commit 0ac70888d3f08b694e3e31939f2cfb90ce5e0f58.
The first revert was not needed. It was made to fix a broken build. But the break was from a different CL. SO I am reverting the revert.
Change-Id: Iad30209a38f9a0af18d684e44f033a49f32af778
In some cases the activity starting method might return early with
positive return code, even though it skipped doing most of the work
and the target stack is not set. We need to protect ourselves from
an NPE in that case.
Bug: 26541093
Change-Id: I7227ad8efa30c52dd8178ad3c9d8b2263c89a74f
This allows an app to detect application-level output glitches.
Change-Id: I4fb1eafff19a3dd776efae04ddd2e3514184d17f
Bug: 25641253
Signed-off-by: Phil Burk <philburk@google.com>
Allow Java to write directly to the FastMixer to
reduce latency.
Change-Id: I957c82ba430e7ee2780ea00ea96c1f5b23dc47f5
Bug: 21019153
Signed-off-by: Phil Burk <philburk@google.com>
This patchset changes the installd such that apps' home
directory has permissions set to 0700 if build for a
target SDK version. In consequence the commands
create_app_data and move_complete_app
get one more parameter, the target SDK version.
Apps built for a lower SDK version will still have
home directories with permissions set to 0751.
Bug: 7208882
Change-Id: I651da956dd57d882772b23a433421e9130ea4c0b
Also add getBufferCapacityInFrames().
These can be used to dynamically raise or lower latency.
Bug: 21019153
Change-Id: I3403982894c5fe101f45d0466b00ff3036b28417
Signed-off-by: Phil Burk <philburk@google.com>