Also work-around CTS freezing forever in Camera#setPreviewTexture
* Set preview texture to null after unconfiguring (Camera#stopPreview)
* Remove all uses of recording hint
(Some devices disable face detection unconditionally when recording is not
using HDR mode; recording hints will be introduced after we add
capture intent support)
Change-Id: I2f0a80f1d580af214cb0f53abcbf33c7391790f1
- Make sure that session.close followed by device.createCaptureSession cannot race on
configureOutputs calls
- Silence warning about RAW_OPAQUE format
Change-Id: I02e4a048e8b26ea61aadcf115b029e9fbb58ad4e
Correctly allow null listener/handler when invoked on a thread with no
looper; otherwise all capture/repeating requests will fail even if listener
is null.
Change-Id: I4c64c81ad7f14b5cb309b4f92822cb50dbd74ba6
Introduce a stable BackupTransport interface class for transport
implementations to derive from.
Make the interface for viewing/selecting the active backup transport
part of the stable API.
Make restore-related classes (RestoreSession, RestoreSet) stable API.
Express backup manager APIs needed for transport operation as
@SystemApi methods in BackupManager.
Bug 16661321
Change-Id: I423b87ae8f45c1b77831d4f8ffd97715484c2d2b
- No longer track process starts/stops normally.
- Increase buffer size to 256KB.
- Buffer size increase requires reworking how battery stats
are retrieved, since it is going to be hitting IPC limits.
- Also, store the last full stats after a reset, to be reported
at the next checkin.
- Also, discharge and charge times are tagged with the screen
and battery save state during that time.
Change-Id: Ie108ac9b626846108a9bb858101ac2b93276ac16
Internally we pause the recognition when:
- a phone call is active/off-hook/ringing
- or some other application grabs the microphone
we auto-resume when the condition that caused us to pause reverses.
Both these events are notified to the client via callbacks so that they can choose to display on their UI,
that the recognition is paused for some reason.
Bug: 16515468
Bug: 16740806
Bug: 16514535
Change-Id: Ib274d68522c8cf37d42402c875b16159957657f0
Anything that runs as a singleton may need to attribute traffic to
various client apps; in particular, backup transports need to do this.
Apropos of which, introduce a @SystemApi method specifically for that
purpose, setThreadStatsTagBackup().
Bug 16661321
Change-Id: Id5d22e28bdc68edb53f2a1fdba80b144fcbc61d2
Support services that special case the owner but are instantiated
per-user, and so need to be able to distinguish.
Bug 16661321
Change-Id: I7ff5168c91e39821317fdf5cfaba34e90d30de95
Change ag/422870 mistakenly set app focus to null in the
InputDispatcher. This change restores setting app focus correctly.
In addition, there were a few places where window focus
(i.e. mCurrentFocus) could be modified without notifying the
InputDispatcher. This change fixes those locations.
Should fix 14564396.
Change-Id: Ie24f3410fdd1f5f1eefbce02759fef4149e59620
Setting the value has no effect because it was lost in marshalling
across binder interface.
Bug: 16826305
Change-Id: I5b308441608e0b7fc159fc249a16aec3728bac82
After this change, need to add an api which reports
power status change to other component like TIF.
Bug: 16445063
Change-Id: I5a347057af6140ece82acb5d15e3a8b3779b18be
Immediately add a call to Telecomm before the outgoing call broadcast
intent returns, this will reduce the latency for the InCallUI by
allowing the InCallActivity to start before Telecomm has responded.
Bug: 16396523
Change-Id: Iada2a6bdb803794a765b81edb2dfb0953445ae43
Should be controlled by SAMPLE_RATE_HZ_MIN and SAMPLE_RATE_HZ_MAX.
Associated with testing the following sample rate bugs.
Bug: 12979141
Bug: 15933066
Change-Id: Id130613fe28c7a1070e42f9bc44ed3b00a4113a3
This ensures that any state changes made by the click listener are
correctly reflected in the accessibility event.
BUG: 16847704
Change-Id: Ib0a3b3cd5879bb77c2cd3d97e923cdfa31c8051a