147472 Commits

Author SHA1 Message Date
Igor Murashkin
0a1ef4dbf3 camera2: (LEGACY) Add face detection support and vstab modes
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
2014-08-07 13:46:25 -07:00
Alan Viverette
e46a9b97fb Merge "Remove clipToOutline workaround for null backgrounds" into lmp-dev 2014-08-07 15:00:45 +00:00
Alan Viverette
2c18333577 Remove clipToOutline workaround for null backgrounds
BUG: 16566746
Change-Id: Icdf0d40b75c0fa9d972eb6300f51079e48fbe5fd
2014-08-07 13:43:05 -07:00
Alan Viverette
7870dfe361 Merge "Use translatable strings for time picker AM/PM labels" into lmp-dev 2014-08-07 17:50:16 +00:00
Alan Viverette
271ed9ae87 Use translatable strings for time picker AM/PM labels
BUG: 16842390
Change-Id: Ibdbe9cffb39373f200a09eb0d28b956a1eeb5d13
2014-08-07 13:33:30 -07:00
Adrian Roos
95202de09d Merge "Fix pending dismiss action not cleared when leaving bouncer" into lmp-dev 2014-08-07 18:49:59 +00:00
Adrian Roos
559b41f424 Fix pending dismiss action not cleared when leaving bouncer
Bug: 16307958
Change-Id: Id9ae360b6d4f606b3b76a092b32756ac04d06344
2014-08-07 22:27:56 +02:00
Alan Viverette
11e84ce024 Merge "Add an extra pixel to the ripple radius used for bounds" into lmp-dev 2014-08-07 17:50:16 +00:00
Alan Viverette
036a66596d Add an extra pixel to the ripple radius used for bounds
BUG: 16850241
Change-Id: I0f3a046100c104a6321ca7eb24cd0295878e4f47
2014-08-07 13:00:03 -07:00
Eino-Ville Talvala
47082b9c7e Merge topic 'camera2-remove-hidden' into lmp-dev
* changes:
  Camera2: Fix session shutdown race, frequent warning log
  Camera2: Remove hidden parts of public CameraDevice
  Camera2: Fix null-listener capture for CameraCaptureSession
2014-08-07 15:00:45 +00:00
Eino-Ville Talvala
d3b85f69a8 Camera2: Fix session shutdown race, frequent warning log
- Make sure that session.close followed by device.createCaptureSession cannot race on
  configureOutputs calls
- Silence warning about RAW_OPAQUE format

Change-Id: I02e4a048e8b26ea61aadcf115b029e9fbb58ad4e
2014-08-07 13:16:53 -07:00
Eino-Ville Talvala
a6b5ba5603 Camera2: Remove hidden parts of public CameraDevice
- Remove everything @hide in CameraDevice
- Move bits that are still needed into CameraDeviceImpl

Change-Id: Ie22059a0eb5c4238142a8a1e8dbcf1a422e845aa
2014-08-07 13:16:53 -07:00
Eino-Ville Talvala
7875a886b8 Camera2: Fix null-listener capture for CameraCaptureSession
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
2014-08-07 13:16:22 -07:00
Jason Monk
d3ea7d61a3 Update strings for QS footer.
Bug: 16854706
Change-Id: Iba7ecae45f0bc9a8819f5172ad5922fddab95076
2014-08-07 20:09:39 +00:00
Dan Sandler
09723fd04a Merge "Need to post-process all action icons to get the correct color." into lmp-dev 2014-08-07 09:28:12 +00:00
Christopher Tate
bcc48b6cb0 Merge "Reify the transport lookup/selection API" into lmp-dev 2014-08-06 23:49:20 +00:00
Christopher Tate
d5cf722ae6 Reify the transport lookup/selection API
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
2014-08-07 19:43:22 +00:00
Dianne Hackborn
df192a47fc Merge "Fix to call VoiceInteractionSession.onDestroy()." into lmp-dev 2014-08-07 18:53:12 +00:00
Dianne Hackborn
9a35d78cad Fix to call VoiceInteractionSession.onDestroy().
Change-Id: I2b4f19538700c691dac3a83aadfa0959ef1fe458
2014-08-07 12:34:37 -07:00
Dianne Hackborn
0068d3dcf1 Fix issue @16555033: Battery history overflowing too much
- 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
2014-08-07 12:19:39 -07:00
Sandeep Siddhartha
6b8556d2e3 Dump the state of SoundTriggerHelper for bugreports
Change-Id: I01a17d969fbd22c6bcbb161e3542ca14a3f8c7c8
2014-08-07 12:10:48 -07:00
Behdad Esfahbod
ec2332121b Merge "Remove dependency on SkPaintOptionsAndroid" into lmp-dev 2014-08-07 18:49:59 +00:00
Derek Sollenberger
6f03023ece Remove dependency on SkPaintOptionsAndroid
Change-Id: I579a3503697efe3b8fd9bc809a6c9bfbf735cb1b
2014-08-07 14:38:51 -04:00
Sandeep Siddhartha
f30fc111a3 Merge "Handle microphone contention/Phone calls while recognition is active" into lmp-dev 2014-08-07 15:42:44 +00:00
Sandeep Siddhartha
cb4e81c7fe Handle microphone contention/Phone calls while recognition is active
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
2014-08-07 11:53:02 -07:00
Christopher Tate
3432720bf9 Merge "Make TrafficStats uid attribution @SystemApi" into lmp-dev 2014-08-07 15:00:45 +00:00
Christopher Tate
a2496de37a Make TrafficStats uid attribution @SystemApi
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
2014-08-07 19:43:20 +00:00
Christopher Tate
cbd7a6ecbb Introduce system API for distinguishing the owner user
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
2014-08-07 19:43:17 +00:00
Guang Zhu
3c5afbc662 Merge "Improve error detection in app compitibility test" into lmp-dev 2014-08-06 23:49:20 +00:00
Maxim Siniavine
dfe1bdcf43 Improve error detection in app compitibility test
Change-Id: I3ee02e41b835715d1b6aaf8048fbb16a6bd00b8a
2014-08-07 18:48:46 -07:00
Alan Viverette
b1e1dbfb36 Update disabled states to be less opaque
Also adds Resources method for retrieving floating-point values.

BUG: 16374059
Change-Id: I68c6a40cbe5badfad624548b9abf2d657dbc2019
2014-08-08 00:18:23 +00:00
Wei Wang
717094176f Merge "Add a TLV to support different result storage" into lmp-dev 2014-08-07 18:39:40 +00:00
Wei Wang
0d0df3ce25 Add a TLV to support different result storage
Change-Id: Ic20a1720b783508cf85b234950b7fd0c79e9e7c3
2014-08-07 18:57:24 -07:00
Craig Mautner
7516ff9001 Keep app focus and input focus current
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
2014-08-08 01:45:06 +00:00
Vinit Deshpande
5983b101bd Merge "Read/Write numBssidsPerScan in ParcelableScanResults" into lmp-dev 2014-08-07 17:50:16 +00:00
Vinit Deshpande
db0c15dd67 Read/Write numBssidsPerScan in ParcelableScanResults
Setting the value has no effect because it was lost in marshalling
across binder interface.

Bug: 16826305
Change-Id: I5b308441608e0b7fc159fc249a16aec3728bac82
2014-08-07 16:52:37 -07:00
Jungshik Jang
735655b412 Merge "Implement PowerStatusMonitorAction." into lmp-dev 2014-08-07 16:56:07 +00:00
Jungshik Jang
410ca9c7a4 Implement PowerStatusMonitorAction.
After this change, need to add an api which reports
power status change to other component like TIF.

Bug: 16445063
Change-Id: I5a347057af6140ece82acb5d15e3a8b3779b18be
2014-08-08 09:05:24 +09:00
Christopher Tate
58d467a584 A little more system API in RestoreSetObserver
Bug 16542048

Change-Id: I8b773df872e3cc50c42645e3833d40a691edc4e7
2014-08-08 00:02:25 +00:00
Nancy Chen
e20930fc56 Add "CONNECTING" state for before outgoing call broadcast returns
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
2014-08-07 16:39:04 -07:00
Etan Cohen
bb7b6d0874 Add COLP/COLR configuration success/failure message strings.
Change-Id: I0985c9a84b92b2111afc189a5c46aed08496ace4
2014-08-07 23:30:43 +00:00
Ricardo Cervera
0478e972e3 am e5f852e0: am eab9412b: am 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs
* commit 'e5f852e0b047bccf81d0298c398b3c5d3f74f616':
  docs: Release notes for ADT 23.0.3
2014-08-07 23:27:34 +00:00
Craig Mautner
f21232e0cb Merge "Debug for 13924095." into lmp-dev 2014-08-07 15:31:24 +00:00
Craig Mautner
9a006258b5 Debug for 13924095.
Add logging for 13924095. All logging uses TAG "BadTokenDebug".

Change-Id: I3404e98d8c221cbd183845f479cf4074266b5cb2
2014-08-07 18:47:22 -07:00
Andy Hung
1ade85d68d Merge "Fix track sample rate limit" into lmp-dev 2014-08-06 23:49:20 +00:00
Andy Hung
9e4a66d696 Fix track sample rate limit
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
2014-08-08 01:38:15 +00:00
Alan Viverette
f79aad6308 Send accessibility click event after calling click listener
This ensures that any state changes made by the click listener are
correctly reflected in the accessibility event.

BUG: 16847704
Change-Id: Ib0a3b3cd5879bb77c2cd3d97e923cdfa31c8051a
2014-08-08 01:11:33 +00:00
Alan Viverette
1a2aad0abb Fix docs build
Change-Id: Ieaea48c597efd23449615d22969a107e607bbdc2
2014-08-08 01:07:02 +00:00
Alan Viverette
4afbbfd547 Add insets to dialog background
Also adds inset attribute to InsetDrawable to control all four insets.

BUG: 16868069
Change-Id: I909d05a6dc69747e9092e9ac34551b18d70d2b9f
2014-08-08 01:06:26 +00:00
Adam Powell
2f13c9de0d Merge "Un-hide WindowInsets#isConsumed" into lmp-dev 2014-08-07 15:31:24 +00:00