109352 Commits

Author SHA1 Message Date
Glenn Kasten
369dbf9a66 Merge "Use the utility logging methods and single tag" 2013-07-23 16:26:01 +00:00
Amith Yamasani
9dade39ec3 Merge "User restriction API to disable single-user restrictions feature." 2013-07-23 16:21:48 +00:00
Jean-Michel Trivi
2352228ff1 Merge "Launch voice-based searches as current user" 2013-07-23 16:20:26 +00:00
Jean-Michel Trivi
9020316ea3 Merge "Fix dump formatting of RemoteControlClient playback state dump" 2013-07-23 16:18:58 +00:00
Amith Yamasani
0343ec3abb User restriction API to disable single-user restrictions feature.
Change-Id: I80e08b38b5e32f3cb1af51398907510508ec199f
2013-07-23 09:17:21 -07:00
Glenn Kasten
4afca0cc90 Merge "Detect integer overflow" 2013-07-23 15:52:31 +00:00
Baligh Uddin
7b854fcc6e Merge "Import translations. DO NOT MERGE" 2013-07-23 15:39:46 +00:00
Glenn Kasten
4e693f558f Merge "Verify that AudioRecord object is initialized for more APIs" 2013-07-23 15:22:39 +00:00
Glenn Kasten
7fc7230787 Merge "Remove redundant AudioRecord. qualifiers" 2013-07-23 15:03:14 +00:00
Glenn Kasten
004f2b7835 Merge "Return the record state locked" 2013-07-23 14:51:30 +00:00
Glenn Kasten
9ad3afe52e Merge "Return correct status for android.media.AudioRecord.read(short[]...)" 2013-07-23 14:32:27 +00:00
Jean-Michel Trivi
f47634edfe Fix dump formatting of RemoteControlClient playback state dump
Take into account the two types of undefined plyback position.
Only use "ms" unit when there is a position to write.
Fix misplaced ",".

Change-Id: I5033ec6ee7480f1ac525af7b7b0a9da259614783
2013-07-22 17:47:11 -07:00
Romain Guy
d1233575b5 Merge "Use the parameter type as part of the methods cache key" 2013-07-23 00:03:51 +00:00
Romain Guy
484f4d6282 Use the parameter type as part of the methods cache key
Change-Id: Ie204d16b62028fc1eb35cc7cb3244654e1360a37
2013-07-22 16:59:31 -07:00
Jean-Michel Trivi
dcd40c0e57 Launch voice-based searches as current user
Launch the voice-based interactions (voice search, web search) as
 the current user.

Change-Id: I5a038feea24346c3c94f86097f574ffdc499cf60
2013-07-22 16:46:42 -07:00
Chris Craik
98427708a8 Merge "Ensure glActiveTexture is cleaned up correctly on functor resume" 2013-07-22 23:31:20 +00:00
Chris Craik
9ab2d18475 Ensure glActiveTexture is cleaned up correctly on functor resume
Change-Id: I103d7d63b17289d599c2c08dcc442cfba9b8e51d
2013-07-22 16:21:55 -07:00
Martijn Coenen
fd23eca5ba Merge "First shot at (host-based) card emulation APIs." 2013-07-22 23:20:01 +00:00
Jean-Michel Trivi
2342543328 Merge "Refactor for audio focus, remote control, media button handling" 2013-07-22 23:14:26 +00:00
Jean-Michel Trivi
fa9a69805b Refactor for audio focus, remote control, media button handling
Extract audio focus, remote control and media button handling
 outside of AudioService without any changes in functionality.
 Moving logic to new class, MediaFocusControl.
Introduce interface for managing volum control logic, VolumeController.
 The VolumePanel class implements this interface.

Change-Id: I72bda2e0670c26e61ff076fd729c15f9f1156dc5
2013-07-22 16:09:15 -07:00
Craig Mautner
358a8cc678 Merge "Add null check to StackBox containment test." 2013-07-22 22:54:15 +00:00
Martijn Coenen
ce1279686b Merge "Add host-based card emu feature to PackageManager." 2013-07-22 22:29:21 +00:00
Romain Guy
03903b3bc8 Merge "Use global indices array to draw layers" 2013-07-22 22:16:03 +00:00
Igor Murashkin
6944165014 Merge "camera2 api: marshal rect, size, string for metadata" 2013-07-22 21:38:55 +00:00
Romain Guy
448455fe78 Use global indices array to draw layers
An array of indices local to a layer would only be necessary if
we changed the way we resolve T-junctions. Since we only ever
draw quads, let's just use the indices we use everywhere else.

This change also uses the global indices array to render list
of colored rectangles to save on the number of vertices generated
CPU-side.

Change-Id: Ia6d1970b0e9247805af5a114ca2a84b5d0b7c282
2013-07-22 14:37:21 -07:00
Michael Wright
c9cc2d0ddc Merge "Fix swipe end location" 2013-07-22 21:31:05 +00:00
Michael Wright
0f80f4b584 Merge "Take advantage of KeyEvent.isConfirmKey" 2013-07-22 21:30:02 +00:00
Joe Fernandez
0c11469a44 am 0db151ff: am 874b2ba1: am c4624d2e: Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev
* commit '0db151ff1a4aef1c56096d8c325821196b61f317':
  docs: Android 4.3 Platform Release Notes
2013-07-22 14:07:06 -07:00
Joe Fernandez
0db151ff1a am 874b2ba1: am c4624d2e: Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev
* commit '874b2ba1f997401ad3dd0a5d192269ac682906a3':
  docs: Android 4.3 Platform Release Notes
2013-07-22 14:04:47 -07:00
Joe Fernandez
874b2ba1f9 am c4624d2e: Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev
* commit 'c4624d2efbeab6c9ef89def696421aaa086025bd':
  docs: Android 4.3 Platform Release Notes
2013-07-22 14:01:24 -07:00
Michael Wright
77a2dabf01 Fix swipe end location
Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7
2013-07-22 13:58:45 -07:00
Joe Fernandez
c4624d2efb Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev 2013-07-22 20:57:20 +00:00
Romain Guy
5ab9ece899 Merge "Cache reflection lookups" 2013-07-22 20:57:10 +00:00
Craig Mautner
dc725fe93b Add null check to StackBox containment test.
Relies on mFirst and mSecond being non-null exactly when mStack is
null.

Fixes bug 9774735.

Change-Id: Ib0b463560b4bf69fdf05afe61ebe94ea0034a3ad
2013-07-22 13:56:31 -07:00
Craig Mautner
623c734d87 Merge "Remove stopping activity from activities to stop" 2013-07-22 20:47:10 +00:00
Svetoslav Ganov
26bd5f1d3a Merge "Implement persistence/restoring of print spooler state." 2013-07-22 20:08:16 +00:00
Svetoslav Ganov
88d199130d Implement persistence/restoring of print spooler state.
1. Implemented the persistence and restoring of the print spooler state.
   The print spooler state is saved as an XML on every print job change
   and is restored when we bind to the spooler. The system does not
   unbind from the spooler until the state persistence completes. We
   are now storing the entire state, i.e. all print jobs, when a single
   one changes. This is not optimal but we are not expecting to have
   many such at the same time, so for now we err for simplicity of
   implementation.

2. Enforcing a non-empty print job name.

3. Hidden the STATE_CREATED print job state which should never be visible to a
   client since this is the state of a print job during construction, i.e. the
   print dialog is up and we are doing back and forth with the app.

4. Fixed some PrintAttributes APIs that were incorrectly taking in a PackageManager
   instance.

5. Updated the PrintSpooler build file due to splitting the framework into multiple
   jars.

Change-Id: I52c88eaa1ec9c64920359cc143c79832a4c3d25b
2013-07-22 13:07:09 -07:00
Romain Guy
e4d4e20e8f Cache reflection lookups
This change also cleanups the code a little bit. Caching lookups
not only speed things up but it also avoids unnecessary allocations.

Change-Id: Ie3d1ae106d32b3b5f2c5d33b6318ed93cd9e27f9
2013-07-22 13:02:02 -07:00
Craig Mautner
8817610747 Remove stopping activity from activities to stop
When stopping an activity remove it from the list of activities to
be stopped when idle. Otherwise the activity gets stopped twice, at
the point of the fix here and later when idle.

Fixes bug 9755054.

Change-Id: If8d2249b75aeb9f8b6cea2d883046f3ad4c2e067
2013-07-22 12:57:51 -07:00
Joe Fernandez
b5fff750e1 docs: Android 4.3 Platform Release Notes
In addition to platform notes, modified the SDK Manager update
warning to advise downloading of SDK Tools 22 or higher. This
dependency is based on the updating of the SDK repository
schema. The last update was repository-8 with the SDK 22.0.0
release, according to raphael@.

Change-Id: Icaaf39a6d49eccdc926aa4c4249db8a0b1d095a7
2013-07-22 12:54:02 -07:00
Martijn Coenen
f4bf158328 Add host-based card emu feature to PackageManager.
Change-Id: Id55025e5ab8443be1e6ac23ac5d9ab93565a53f0
2013-07-22 12:10:18 -07:00
Craig Mautner
36ceea801b Merge "Restore nav bar position when wm size is reset." 2013-07-22 18:13:09 +00:00
Craig Mautner
d4ec332428 Restore nav bar position when wm size is reset.
The mNavigationBarCanMove variable was not reset when the dimensions
were restored using 'adb shell wm size reset'. This change restores
the correct value to it.

Fixes bug 9885741.

Change-Id: I6c9d3107fbc8a1e7acc0249691f4542cd8c07e93
2013-07-22 10:37:43 -07:00
Martijn Coenen
5eaa8970aa First shot at (host-based) card emulation APIs.
HostApduService: convenience service class for implementing
a service that registers a set of ISO7816-4 AIDs and emulates
the corresponding application inside the service itself.

SeApduService: convenience service class for implementing
a service that registers a set of ISO7816-4 AIDs that reflect
applications installed on an embedded secure element or UICC. Contains
event hooks to allow the service to handle eSE/UICC events that
correspond to those AIDs.

Change-Id: I44191bd4abcbbe4f1fd36a9fd42639fe5c0cf496
2013-07-22 10:20:49 -07:00
Glenn Kasten
626c0415a2 Use the utility logging methods and single tag
See Change-Id: I5bfc66562a4a0630d520390ae886bd19de3327cb

Change-Id: I569e0a746c4430f9d0cd1cb20bbc9aa50b81bcfc
2013-07-22 10:07:03 -07:00
Glenn Kasten
6ab188589d Detect integer overflow
See Change-Id: Iec36fc0ea67095e18a2c238b148dad5545c102c1

Change-Id: I421f0d84c64310fcb6c5451993cfaf38125c4bb2
2013-07-22 10:01:16 -07:00
Joe Fernandez
7bfddb5434 am d8aae485: am abbcf372: am 60c4b16e: Merge "docs: NDK r9 Release Notes" into jb-mr2-dev
* commit 'd8aae485bab2e17ba1321615351840ed587a8047':
  docs: NDK r9 Release Notes
2013-07-22 09:21:58 -07:00
Joe Fernandez
d8aae485ba am abbcf372: am 60c4b16e: Merge "docs: NDK r9 Release Notes" into jb-mr2-dev
* commit 'abbcf372b8aadd8ac53de5f25d4d82b2d57eaeaf':
  docs: NDK r9 Release Notes
2013-07-22 09:19:18 -07:00
Joe Fernandez
abbcf372b8 am 60c4b16e: Merge "docs: NDK r9 Release Notes" into jb-mr2-dev
* commit '60c4b16e28748d235d3b7c73906522b2c43d84a5':
  docs: NDK r9 Release Notes
2013-07-22 09:16:07 -07:00
Joe Fernandez
60c4b16e28 Merge "docs: NDK r9 Release Notes" into jb-mr2-dev 2013-07-22 16:13:20 +00:00