147488 Commits

Author SHA1 Message Date
Michael Lentine
0839adb25c New screen shut down animation.
Bug: 16845774

Change-Id: I355f8d73f54a873f6df180dc48c177b993f170f9
2014-08-07 19:32:40 -07:00
Prashant Malani
fed4a5565b Merge "Move wakelock release to handleMessage" into klp-modular-dev 2014-08-06 23:49:20 +00:00
Prashant Malani
7450614a49 Move wakelock release to handleMessage
There were certain code paths in handleDockStateChange() that were
exiting without releasing the wakelock. So we move the release to the
calling function to prevent stray held wakelocks.

Bug: 16841895

Change-Id: I8ae4d2ab8f775c42a893d3bcdef34321c5f631a6
Signed-off-by: Prashant Malani <pmalani@google.com>
2014-08-06 22:22:18 -07:00
Robert Ly
6f273458fb Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs 2014-08-06 23:49:20 +00:00
RoboErik
98cb95a998 Merge "Change URI type metadata back to text" into lmp-dev 2014-08-06 23:49:20 +00:00
RoboErik
67098d0963 Unhide MediaMetadata.Description
This unhides the method and inner class for getting a small version
of the metadata for display.

Change-Id: I22f484cecd5f0630ac22bb648baad842d211d135
2014-08-08 17:16:37 +00:00
Ji-Hwan Lee
ca18eb045b Merge "TIF: Make TvContract URI consistent" into lmp-dev 2014-08-07 16:56:07 +00:00
Ji-Hwan Lee
156aeecef2 TIF: Make TvContract URI consistent
- input/*/channel -> channel?input=*
- channel/#/program -> program?channel=#

Bug: 16806157, Bug: 16804331
Change-Id: Idbded032da166e789148c4b8e38ea521468fd9fa
2014-08-08 22:15:00 +09:00
Dake Gu
46c4d8dc88 Merge "Transition: remap if views in calling activity became invalid" into lmp-dev 2014-08-06 23:49:20 +00:00
Dake Gu
b04b36eaad Transition: remap if views in calling activity became invalid
In activity back,  the calling activity might have re-constructed
UI, the accepted views captured in calling activity  was detached
and no longer valid.  Re-query the calling activity for shared
element in such case.  If the app has reconstructed UI of calling
activity,  it is app's responsibility to assign same transition name
to new view where it desires to transition back to.

b/16853679

Change-Id: Ia6729c6082fbaf54c2ce17f695d5b8d66bd9187d
2014-08-08 18:29:10 +00:00
Alan Viverette
0df0e19f29 Merge "Don't make ripples respond to selection state" into lmp-dev 2014-08-08 16:09:03 +00:00
Alan Viverette
dbcbca4475 Don't make ripples respond to selection state
Also exports view pressed state for hierarchyviewer.

BUG: 16622634
Change-Id: I754428dd1d59f3b7450b01976a73d5151d27152e
2014-08-08 12:23:41 -07:00
Andrew Lee
752217bfc6 Aidl changes related to VideoCallProvider in Ims.
+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
2014-08-08 12:09:54 -07:00
Alan Viverette
f9b4c2cc6f Merge "Fix CTS test for nine patch padding sanity check" into lmp-dev 2014-08-06 23:49:20 +00:00
Alan Viverette
ac1f5884fb Fix CTS test for nine patch padding sanity check
BUG: 16826969
Change-Id: I96628a38300dec58eb8523559741c28fed35eba2
2014-08-07 13:55:26 -07:00
Igor Murashkin
cd3a994e50 Merge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev 2014-08-07 17:50:16 +00:00
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