109421 Commits

Author SHA1 Message Date
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
Glenn Kasten
82c2d54b53 Remove unused includes
Change-Id: Id9842fe092aba2761c0641c76ad06749b2e1d9b3
2013-07-22 12:48:30 -07:00
Glenn Kasten
5b1576ccbd Use switch in callback handler for events, and no EVENT_MORE_DATA
EVENT_MORE_DATA is no longer possible for the transfer mode used by Java.

Change-Id: Iffd98bca8adea7e066d5d069e82aa841e5c02330
2013-07-22 12:34:43 -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
Amith Yamasani
a418cf21c9 New permission to manage device admins
The previously used permission was doing double duty as the permission
that device admins to check for to ensure that calls are coming from valid
system components.

MANAGE_DEVICE_ADMINS is system|signature and is now required to add/remove
device admins.

Required for:
Bug: 9856348

Change-Id: I64385d2ec734c3957af21b5a5d9cffd8a3bcd299
2013-07-22 10:42:46 -07: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
Chet Haase
07cb345877 am 09a68ac9: am dbc51de4: am 53771e5f: Merge "Remove useless/repetitive code"
* commit '09a68ac943e0d21ad61a94ed4eac1d6099657602':
  Remove useless/repetitive code
2013-07-22 09:05:13 -07:00
Chet Haase
09a68ac943 am dbc51de4: am 53771e5f: Merge "Remove useless/repetitive code"
* commit 'dbc51de44fe4f9a7f81528204250de32ec405d39':
  Remove useless/repetitive code
2013-07-22 09:02:06 -07:00
Chet Haase
dbc51de44f am 53771e5f: Merge "Remove useless/repetitive code"
* commit '53771e5f955f67035cf6b6432c34171a18ab14dc':
  Remove useless/repetitive code
2013-07-22 08:59:30 -07:00
Baligh Uddin
d5a701bc0a Import translations. DO NOT MERGE
Change-Id: Idc81ee9e199491d650d37bcd39ae26bba763f436
Auto-generated-cl: translation import
2013-07-22 08:58:39 -07:00
Chet Haase
53771e5f95 Merge "Remove useless/repetitive code" 2013-07-22 15:55:52 +00:00
Glenn Kasten
70c17f4703 Merge "Inform AudioFlinger of device's low RAM attribute" 2013-07-22 15:02:29 +00:00
Glenn Kasten
8057f24d4a Verify that AudioRecord object is initialized for more APIs
Compare to AudioTrack, which already has these checks.

Change-Id: I3a239dfb4b918ceabfb723f189cc50ed6662eee6
2013-07-22 07:40:41 -07:00
Glenn Kasten
25a64b4bad Remove redundant AudioRecord. qualifiers
Symbols of the current class don't need to be qualified.
See Change-Id: Ic89ce568771165d01d4b5bcf835c591ca0b86541

Change-Id: I75ec74a95cf68bf8eabdbac5b227a9035b945360
2013-07-22 07:40:23 -07:00
Glenn Kasten
79e49a0752 Return the record state locked
This field is always accessed with a lock held.
See Change-Id: I502b7401196c42932c9667ef73eb4cae16c3da16

Change-Id: I0900b60cd6b9076868532f951db370ccd5a0312e
2013-07-22 07:40:09 -07:00
Glenn Kasten
3f0af8be9e Return correct status for android.media.AudioRecord.read(short[]...)
This is similar to Change-Id: If43c63a4ceeb8fef98708f0d42496d2fb90a21fd

Bug: 9776374
Change-Id: I8d9e03b70ad55b4e1b3acfe26e31de8b374e2b43
2013-07-22 07:39:13 -07:00
Guang Zhu
bc668ac4b7 fix build
Change-Id: Ie4bd7c3fe9320d22b7da2962e5e5a4abca510bd2
2013-07-21 02:01:34 -07:00
Christopher Tate
d55e18ecea Merge "Add AlarmManager.setWindow(...) for supplying an explicit delivery window" 2013-07-20 01:56:17 +00:00
Jim Miller
37ee2647d4 Merge "Fix keyguard layout on hdpi devices" 2013-07-20 01:52:08 +00:00
Jim Miller
99054020b8 Fix keyguard layout on hdpi devices
This reduces the size of the security area slightly to give
the widget more room.

Fixes bug 9642579

Change-Id: I58b861def932450901b17d6df74958dde8207769
2013-07-19 18:37:12 -07:00
Christopher Tate
57ceaaa0aa Add AlarmManager.setWindow(...) for supplying an explicit delivery window
Bug 9532215

Change-Id: I0efe32cbaaae8ce6ab223041eed116c3470a7326
2013-07-19 18:11:45 -07:00
Mathias Agopian
d84feebba4 Merge "update to new Consumer APIs" 2013-07-20 01:03:22 +00:00
Colin Cross
4908d181ca Fix FrameworkPermissionTests build
Change-Id: I516e333ca85c0e3c08c8fffc157a9e0360af02e5
2013-07-19 17:26:54 -07:00
Dianne Hackborn
450d8c5b7c Fix issue #9940105: IllegalArgumentException in ArrayMap
Try to deal with unmarshalling old parcels.  Turns out someone
was writing a parcel to disk storing a Bundle.  Naughty, naughty.
This helps us not completely keel over.

Change-Id: Id343da2690b7bab89f6c3cb6fad1b92f270dad03
2013-07-19 17:05:30 -07:00
Joe Fernandez
bdbe56f6a8 docs: NDK r9 Release Notes
Change-Id: I43cae1e306a8313ab2d003dbb762977f75bf8208
2013-07-19 17:04:02 -07:00
Svetoslav
597945fd3a First pass of the print dialog UX
Change-Id: I315a16d7f68c73ca180c76e722847b4b1bdea55b
2013-07-19 16:23:12 -07:00
Michael Wright
24d36f5922 Take advantage of KeyEvent.isConfirmKey
Change-Id: I2925c624338a5c622a7b3fef05b62099465b6389
2013-07-19 16:15:19 -07:00
Michael Wright
7a5480d6d7 Merge "Debounce touch navigation taps and button presses" 2013-07-19 23:15:05 +00:00
Craig Mautner
acb837fe63 Merge "Fix home activity and user switch interactions." 2013-07-19 23:07:51 +00:00
Craig Mautner
ac6f843c91 Fix home activity and user switch interactions.
- Make sure Home activity goes in the correct task and on the correct
stack.
- Do not allow different users to be in the same task.
- Do not set stacks aside for each user.

Fixes bug 9775492.

Change-Id: I0e7954e917aac8482a1015a36923e02914e2b692
2013-07-19 16:05:59 -07:00
The Android Open Source Project
5fe91c4cb3 am c02fcf81: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
* commit 'c02fcf81462346ee6fe3fca8eb4594344b13ddf7':
  Add gservices updater for carrier provisioning url
  Cleaner Tejat notification in Audio Package 11
  When a SIM is changed check mobile provisioning.
  Fix missing lock in power manager.
  Remove iterators (DO NOT MERGE)
2013-07-19 16:02:25 -07:00
Chad Brubaker
f336d722c7 Fix supplimentary network connections with VPNs
Enables the use of supplimentary mobile networks like MMS, and HIPRI
while VPNs are running.

Change-Id: I313f57a905b4e16bd4322c68687cbff1cfbe9d3e
2013-07-19 15:57:05 -07:00
Michael Wright
7caaeeb6a8 Merge "Add input device property for buttons under touchpads" 2013-07-19 22:45:51 +00:00
Michael Wright
c5236deeb0 Merge "Properly set the tap down time when entering non-tap modes" 2013-07-19 22:44:57 +00:00
Michael Wright
5712ca7f2e Merge "Allow duration without source to be set for input commands" 2013-07-19 22:44:01 +00:00
Christopher Tate
a5bc070e9e Merge "EWRONGVARNAME" 2013-07-19 21:54:50 +00:00
Christopher Tate
e982faffc9 EWRONGVARNAME
Bug 9940349

Change-Id: I60205899cd33070394752fc4b2f1e0cf6a2d9192
2013-07-19 14:52:49 -07:00
Joe Fernandez
5846f7c9d8 am b9aa1789: am 379cb6b7: am ab00d352: am 658374d5: am 2685febd: am 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev
* commit 'b9aa1789ee221c45bd3c01bae4ae99d7965c1437':
  docs: Android SDK 22.0.4 Release Notes
2013-07-19 14:40:01 -07:00
Robert Greenwalt
bfc7634b36 resolved conflicts for merge of f9774dc7 to master
Change-Id: Ia9509ab6897e27da8bf4fc61a4140f2f93acb80f
2013-07-19 14:30:49 -07:00
Scott Main
a29447e142 am 8b5f79a0: am a74517d2: am ca3b4e9b: remove significant motion
* commit '8b5f79a0cb72af51a057c27ca3f0511076577e1f':
  remove significant motion
2013-07-19 14:22:14 -07:00