OSDN Git Service
Glenn Kasten [Fri, 19 Jul 2013 00:04:21 +0000 (17:04 -0700)]
Rename mChannels to mChannelMask to avoid ambiguity
This clarifies that it's a channel mask, as opposed to a count.
Also no need to initialize the field in the declaration,
as it's initialized in the constructor.
Include channel mask in error logs.
Change-Id: Ifc02668cf922dc8826a9fb042b3ca52fad377ba6
Glenn Kasten [Wed, 24 Jul 2013 18:43:32 +0000 (11:43 -0700)]
Match AudioRecord.getChannelConfiguration docs
Bug:
10001767
Change-Id: I28705ae84ee585afc37cdd2b13a039b7bfc36543
Ben Murdoch [Wed, 24 Jul 2013 09:24:04 +0000 (09:24 +0000)]
Merge "Update WebView.loadDataWithBaseURL documentation."
Kenny Root [Wed, 24 Jul 2013 06:51:28 +0000 (06:51 +0000)]
Merge "Use hostname verifier directly instead of instance"
Kenny Root [Wed, 24 Jul 2013 05:33:50 +0000 (22:33 -0700)]
Exclude magic inner-class name from preload
Add a magic subclass name that will exclude inner classes that are meant
to prevent object instatiation but allow class preloading. This will
allow classes that have undesired side-effects to delay initialization
until the side-effects are no longer disruptive.
Bug:
9984058
Change-Id: I46b0784760d84a2a2da1f9f41d87ee7f70a3fc16
Kenny Root [Wed, 24 Jul 2013 03:36:03 +0000 (20:36 -0700)]
Use hostname verifier directly instead of instance
Instead of local instance of the default HostnameVerifier, use it
directly from HttpsURLConnection. This avoids class preloading creating
an instance of it before it's necessary.
Bug:
9984058
Change-Id: I780249dbd3c7bb346e1b275dcb68e4e2be7ebbbb
David Christie [Wed, 24 Jul 2013 01:37:35 +0000 (01:37 +0000)]
Merge "Add WorkSource capability to LocationManager"
Svetoslav Ganov [Wed, 24 Jul 2013 01:13:01 +0000 (01:13 +0000)]
Merge "Updating the print dialog and its interactinos with the printing app."
Svetoslav Ganov [Tue, 23 Jul 2013 20:29:31 +0000 (13:29 -0700)]
Updating the print dialog and its interactinos with the printing app.
1. Added support for reporting the old print attributes during layout.
Now we keep track of the old print attributes, so the app can
compute the delta and decide whether re-layout work is needed.
2. Fixed PrintDocumentAdapter callback interleavings. Layout callbacks
were intermixing with write ones - a mess. Now we make an attempt
to cancel layout and write if they respond to cancellation, otherwise
we wait but do not interleave them.
3. Refactored the PrintJobConfigActivity for easier maintenance and
to have a single update UI method that does the minimal amount
of work.
Change-Id: I31ada1a0550882e6185018e6f17f923aed165d15
Geremy Condra [Wed, 24 Jul 2013 00:32:34 +0000 (00:32 +0000)]
Merge "Fix default DNS not being set on network changes"
Dianne Hackborn [Wed, 24 Jul 2013 00:31:27 +0000 (00:31 +0000)]
Merge "Fix bug that was causing us to lose total memory buckets."
Dianne Hackborn [Tue, 23 Jul 2013 22:52:36 +0000 (15:52 -0700)]
Fix bug that was causing us to lose total memory buckets.
When safely resetting stats after committing them, we were
mistakenly clearing the current memory state so we would lose
that total memory time until the memory state changes again.
Also improve the summary output to print percentages, which
make more sense for that display.
Change-Id: I0fe45fd78e97ec8b94976170dd42f4ed345a5899
Chad Brubaker [Wed, 24 Jul 2013 00:13:36 +0000 (17:13 -0700)]
Fix default DNS not being set on network changes
Change-Id: I3c45404cab34c77b20dadc1d8aee127aa08fd0bd
Amith Yamasani [Wed, 24 Jul 2013 00:06:34 +0000 (00:06 +0000)]
Merge "New permission to manage device admins"
Craig Mautner [Tue, 23 Jul 2013 23:29:46 +0000 (23:29 +0000)]
Merge "Limit TYPE_SYSTEM_ERROR to system decor bounds."
Craig Mautner [Tue, 23 Jul 2013 22:48:52 +0000 (22:48 +0000)]
Merge "Set task and activity types when adding to task."
Martijn Coenen [Tue, 23 Jul 2013 22:27:04 +0000 (22:27 +0000)]
Merge "Re-use "name" attribute for NFC AIDs."
Alan Viverette [Tue, 23 Jul 2013 22:16:56 +0000 (22:16 +0000)]
Merge "Fix handling of ListPreference.setValue()"
Alan Viverette [Tue, 23 Jul 2013 21:43:37 +0000 (14:43 -0700)]
Fix handling of ListPreference.setValue()
Previously, setValue() was not calling notifyChanged(). This
prevented the summary from updating correctly. Now it calls
notifyChanged() the first time it's called and when the value
actually changes.
BUG:
9987962
Change-Id: I02dd4be6bde2969f39d30921a62a7ba908128e0e
Scott Greenwald [Fri, 28 Jun 2013 04:37:54 +0000 (00:37 -0400)]
Add support for notification scorers.
This CL adds an interface and classes for scoring notifications.
The NotificationManagerService initializes an array of scorers
specified as a resource. When a Notification is enqueued, the
getScore() method is called successively on the scorers, each
getting the Notification to be scored, and the score outputted
by the previous scorer. At present there is a single scorer
which prioritizes Notifications that mention the display name of
a starred contact.
To turn off the StarredContactNotificationScorer:
adb shell settings put global contact_scorer_enabled 0
Change-Id: Ic16c80952e7c85bdde292ebb3f7900efb01f2e29
Michael Wright [Tue, 23 Jul 2013 20:52:57 +0000 (20:52 +0000)]
Merge "Add controller numbers for gamepads / joysticks"
Michael Wright [Wed, 17 Jul 2013 20:21:45 +0000 (13:21 -0700)]
Add controller numbers for gamepads / joysticks
Change-Id: I30ac9add6a2473a5ebd83a022c571545e61d1136
Glenn Kasten [Tue, 23 Jul 2013 20:36:06 +0000 (20:36 +0000)]
Merge "Use switch in callback handler for events, and no EVENT_MORE_DATA"
Craig Mautner [Tue, 23 Jul 2013 19:56:02 +0000 (12:56 -0700)]
Set task and activity types when adding to task.
Activities from the home package were causing tasks types to change from
application to home. This was not the intention of setting the task type
when adding an activity. This change sets the task type to the inherent
type of the first activity added. All subsequent activities added to the
task then inherent the task's type overriding the inherent type of the
task.
Fixes bug
9972495.
Change-Id: Ib77675aea790ea64d4f166af62c7138e89356c13
Chris Wren [Tue, 23 Jul 2013 20:13:35 +0000 (20:13 +0000)]
Merge "allow rich notifications in the heads up."
Romain Guy [Tue, 23 Jul 2013 20:11:09 +0000 (20:11 +0000)]
Merge "Fix crash in app widgets Bug #
9983130"
Romain Guy [Tue, 23 Jul 2013 20:09:51 +0000 (13:09 -0700)]
Fix crash in app widgets
Bug #
9983130
Change-Id: Ie2319c9e8f6e7591c03061224021973b94ae07cb
Dirk Dougherty [Tue, 23 Jul 2013 19:47:54 +0000 (12:47 -0700)]
am
369d1980: am
9aaa8f30: am
0acf946b: Doc change: Add Colopl video to carousel and spotlight. cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
* commit '
369d1980b9a3a31111c5c993d7cab289b511f835':
Doc change: Add Colopl video to carousel and spotlight. cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
Dirk Dougherty [Tue, 23 Jul 2013 19:45:37 +0000 (12:45 -0700)]
am
9aaa8f30: am
0acf946b: Doc change: Add Colopl video to carousel and spotlight. cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
* commit '
9aaa8f30393413a5a52c4494146b35de3124d8a0':
Doc change: Add Colopl video to carousel and spotlight. cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
Dirk Dougherty [Tue, 23 Jul 2013 19:42:19 +0000 (12:42 -0700)]
am
0acf946b: Doc change: Add Colopl video to carousel and spotlight. cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
* commit '
0acf946bb4968416d123ced337d8bb42eb17df8b':
Doc change: Add Colopl video to carousel and spotlight. cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
Dirk Dougherty [Thu, 18 Jul 2013 01:00:35 +0000 (18:00 -0700)]
Doc change: Add Colopl video to carousel and spotlight.
cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
Change-Id: I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93
Dianne Hackborn [Tue, 23 Jul 2013 01:21:32 +0000 (18:21 -0700)]
Add "adb shell am restart" command.
So you can restart the system without being root.
Change-Id: I89770f497833ecbe2b69e3a0cfafae7ef472a9f5
Dianne Hackborn [Tue, 23 Jul 2013 18:30:18 +0000 (18:30 +0000)]
Merge "Add new facility for apps to declared their preferred intents."
Stan Chesnutt [Tue, 23 Jul 2013 18:00:25 +0000 (18:00 +0000)]
Merge "switch to v3 for NetworkLocator overlay, compatible with gcore FINN"
Geremy Condra [Tue, 23 Jul 2013 17:58:33 +0000 (17:58 +0000)]
Merge "Fix supplimentary network connections with VPNs"
Craig Mautner [Tue, 23 Jul 2013 17:26:17 +0000 (10:26 -0700)]
Limit TYPE_SYSTEM_ERROR to system decor bounds.
Because windows of TYPE_SYTEM_ERROR lie in a layer above the
Navigation Bar they cannot be allowed to extend into the Navigation
Bar area or it will block touches to the Home button.
Fixes bug
9626315
Change-Id: Ib5e4a2d2954cb79adc98d69e3c43108cb1389cc9
Geremy Condra [Tue, 23 Jul 2013 17:55:44 +0000 (17:55 +0000)]
Merge "Support multiple Vpn ManageDialogs"
Zhijun He [Tue, 23 Jul 2013 17:33:51 +0000 (17:33 +0000)]
Merge "MediaFrameworkTest: Fix camera unit test failure"
Glenn Kasten [Tue, 23 Jul 2013 17:32:09 +0000 (17:32 +0000)]
Merge "Replace run-time PCM encodings by compile-time constants"
Glenn Kasten [Tue, 23 Jul 2013 17:01:54 +0000 (17:01 +0000)]
Merge "Remove unused includes"
Glenn Kasten [Tue, 23 Jul 2013 16:26:01 +0000 (16:26 +0000)]
Merge "Use the utility logging methods and single tag"
Amith Yamasani [Tue, 23 Jul 2013 16:21:48 +0000 (16:21 +0000)]
Merge "User restriction API to disable single-user restrictions feature."
Jean-Michel Trivi [Tue, 23 Jul 2013 16:20:25 +0000 (16:20 +0000)]
Merge "Launch voice-based searches as current user"
Jean-Michel Trivi [Tue, 23 Jul 2013 16:18:58 +0000 (16:18 +0000)]
Merge "Fix dump formatting of RemoteControlClient playback state dump"
Amith Yamasani [Mon, 22 Jul 2013 21:52:06 +0000 (14:52 -0700)]
User restriction API to disable single-user restrictions feature.
Change-Id: I80e08b38b5e32f3cb1af51398907510508ec199f
Glenn Kasten [Tue, 23 Jul 2013 15:52:30 +0000 (15:52 +0000)]
Merge "Detect integer overflow"
Baligh Uddin [Tue, 23 Jul 2013 15:39:45 +0000 (15:39 +0000)]
Merge "Import translations. DO NOT MERGE"
Chris Wren [Wed, 17 Jul 2013 00:49:17 +0000 (20:49 -0400)]
allow rich notifications in the heads up.
new shouldInterrupt logic: screen on, not locked, not dreaming, and
priority above HIGH and noisy, or has fullscreen intent
draft of API allowing devs to give hints about head up display
reuse inflateViews()
add an expand helper to the heads up space
move some things into Entry for reuse
don't allow touches in first second
delay decay if touched
make decay time a resource
add a custom viewgroup for notification rows to get view management
out of the NotificationData class.
Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
Glenn Kasten [Tue, 23 Jul 2013 15:22:38 +0000 (15:22 +0000)]
Merge "Verify that AudioRecord object is initialized for more APIs"
Glenn Kasten [Tue, 23 Jul 2013 15:03:14 +0000 (15:03 +0000)]
Merge "Remove redundant AudioRecord. qualifiers"
Glenn Kasten [Tue, 23 Jul 2013 14:51:29 +0000 (14:51 +0000)]
Merge "Return the record state locked"
Glenn Kasten [Tue, 23 Jul 2013 14:32:27 +0000 (14:32 +0000)]
Merge "Return correct status for android.media.AudioRecord.read(short[]...)"
Ben Murdoch [Mon, 22 Jul 2013 15:52:12 +0000 (16:52 +0100)]
Update WebView.loadDataWithBaseURL documentation.
Clarify behavior around base URLs with data: vs. non-data: schemes.
Bug:
9894754
Change-Id: I335253c07a13f3d4a5485b6ff11e53bd1580a890
Martijn Coenen [Tue, 23 Jul 2013 02:47:57 +0000 (19:47 -0700)]
Re-use "name" attribute for NFC AIDs.
Change-Id: I92895e0f21a639897c45ec184580c43ba8b22dca
Zhijun He [Tue, 23 Jul 2013 01:08:30 +0000 (18:08 -0700)]
MediaFrameworkTest: Fix camera unit test failure
Fix for testSubmitStreamingRequest failure
Change-Id: I2e22a56b3da90112a668c2185b05eb9288cde392
Jean-Michel Trivi [Wed, 3 Jul 2013 18:11:54 +0000 (11:11 -0700)]
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
Romain Guy [Tue, 23 Jul 2013 00:03:50 +0000 (00:03 +0000)]
Merge "Use the parameter type as part of the methods cache key"
Romain Guy [Mon, 22 Jul 2013 23:39:16 +0000 (16:39 -0700)]
Use the parameter type as part of the methods cache key
Change-Id: Ie204d16b62028fc1eb35cc7cb3244654e1360a37
David Christie [Fri, 19 Jul 2013 18:31:42 +0000 (11:31 -0700)]
Add WorkSource capability to LocationManager
Change-Id: I0fbbad0879b87ecc75a503bf7963356595bf4b96
Jean-Michel Trivi [Mon, 22 Jul 2013 23:46:42 +0000 (16:46 -0700)]
Launch voice-based searches as current user
Launch the voice-based interactions (voice search, web search) as
the current user.
Change-Id: I5a038feea24346c3c94f86097f574ffdc499cf60
Chris Craik [Mon, 22 Jul 2013 23:31:18 +0000 (23:31 +0000)]
Merge "Ensure glActiveTexture is cleaned up correctly on functor resume"
Chris Craik [Mon, 22 Jul 2013 23:16:06 +0000 (16:16 -0700)]
Ensure glActiveTexture is cleaned up correctly on functor resume
Change-Id: I103d7d63b17289d599c2c08dcc442cfba9b8e51d
Martijn Coenen [Mon, 22 Jul 2013 23:20:01 +0000 (23:20 +0000)]
Merge "First shot at (host-based) card emulation APIs."
Jean-Michel Trivi [Mon, 22 Jul 2013 23:14:26 +0000 (23:14 +0000)]
Merge "Refactor for audio focus, remote control, media button handling"
Jean-Michel Trivi [Thu, 27 Jun 2013 23:22:58 +0000 (16:22 -0700)]
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
Craig Mautner [Mon, 22 Jul 2013 22:54:15 +0000 (22:54 +0000)]
Merge "Add null check to StackBox containment test."
Dianne Hackborn [Mon, 22 Jul 2013 22:30:11 +0000 (15:30 -0700)]
Add new facility for apps to declared their preferred intents.
This is an extension from the existing data/etc/perferred-apps
facility. Now applications pre-installed on the system image
can declare which intents they would like to be considered the
preferred app for. When the system firsts initializes, or the
application settings are reset, these are used to configured
the current preferred app settings appropriately.
You use this with a new <preferred> tag under your activity,
which indicates which intents you would like to be the preferred
handler for. The syntax for this is written much like an
intent filter, however semantically it is not really an intent
filter and so has some important differences:
- You can not use globbing patterns (for SSPs or paths).
- You can use only one action (if you use more than one it
will only use the first one, so be careful).
Semantically what this is actually used for is a template
from which to generate a set of Intent objects, which are used
to probe the current environment in order to see if there are
multiple activities that can handle the Intent and, if so,
generate a new preferred setting for that pointing to your app.
As an example, here is how the preferred tag might be written
for the Maps application:
<preferred>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="maps.google.com" />
<data android:path="/" />
<data android:pathPrefix="/maps" />
</preferred>
<preferred>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="geo" />
</preferred>
From this, we generate the following set of potential Intents
to be matched, all with ACTION_VIEW, CATEGORY_DEFAULT+CATEGORY_BROWSABLE:
Change-Id: I7fd42aec8b6109c7dd20012529662362f1b7437a
http://maps.google.com/
http://maps.google.com/maps
https://maps.google.com/
https://maps.google.com/maps
geo:
Martijn Coenen [Mon, 22 Jul 2013 22:29:21 +0000 (22:29 +0000)]
Merge "Add host-based card emu feature to PackageManager."
Romain Guy [Mon, 22 Jul 2013 22:16:03 +0000 (22:16 +0000)]
Merge "Use global indices array to draw layers"
Igor Murashkin [Mon, 22 Jul 2013 21:38:55 +0000 (21:38 +0000)]
Merge "camera2 api: marshal rect, size, string for metadata"
Romain Guy [Mon, 22 Jul 2013 20:57:50 +0000 (13:57 -0700)]
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
Stan Chesnutt [Mon, 22 Jul 2013 21:33:30 +0000 (14:33 -0700)]
switch to v3 for NetworkLocator overlay, compatible with gcore FINN
http://b/
8245654
Change-Id: I2ff95b3b9e138b57bc630f760476bbb7d748342a
Michael Wright [Mon, 22 Jul 2013 21:31:05 +0000 (21:31 +0000)]
Merge "Fix swipe end location"
Michael Wright [Mon, 22 Jul 2013 21:30:02 +0000 (21:30 +0000)]
Merge "Take advantage of KeyEvent.isConfirmKey"
Joe Fernandez [Mon, 22 Jul 2013 21:07:06 +0000 (14:07 -0700)]
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
Joe Fernandez [Mon, 22 Jul 2013 21:04:47 +0000 (14:04 -0700)]
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
Joe Fernandez [Mon, 22 Jul 2013 21:01:24 +0000 (14:01 -0700)]
am
c4624d2e: Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev
* commit '
c4624d2efbeab6c9ef89def696421aaa086025bd':
docs: Android 4.3 Platform Release Notes
Michael Wright [Mon, 22 Jul 2013 20:58:45 +0000 (13:58 -0700)]
Fix swipe end location
Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7
Joe Fernandez [Mon, 22 Jul 2013 20:57:20 +0000 (20:57 +0000)]
Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev
Romain Guy [Mon, 22 Jul 2013 20:57:10 +0000 (20:57 +0000)]
Merge "Cache reflection lookups"
Craig Mautner [Mon, 22 Jul 2013 20:54:42 +0000 (13:54 -0700)]
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
Craig Mautner [Mon, 22 Jul 2013 20:47:10 +0000 (20:47 +0000)]
Merge "Remove stopping activity from activities to stop"
Svetoslav Ganov [Mon, 22 Jul 2013 20:08:15 +0000 (20:08 +0000)]
Merge "Implement persistence/restoring of print spooler state."
Svetoslav Ganov [Mon, 22 Jul 2013 19:32:03 +0000 (12:32 -0700)]
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
Romain Guy [Mon, 22 Jul 2013 20:02:02 +0000 (13:02 -0700)]
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
Craig Mautner [Mon, 22 Jul 2013 19:57:51 +0000 (12:57 -0700)]
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
Joe Fernandez [Fri, 14 Jun 2013 18:53:33 +0000 (11:53 -0700)]
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
Glenn Kasten [Thu, 21 Jun 2012 23:17:37 +0000 (16:17 -0700)]
Remove unused includes
Change-Id: Id9842fe092aba2761c0641c76ad06749b2e1d9b3
Glenn Kasten [Thu, 18 Jul 2013 23:58:19 +0000 (16:58 -0700)]
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
Martijn Coenen [Mon, 22 Jul 2013 19:01:19 +0000 (12:01 -0700)]
Add host-based card emu feature to PackageManager.
Change-Id: Id55025e5ab8443be1e6ac23ac5d9ab93565a53f0
Craig Mautner [Mon, 22 Jul 2013 18:13:09 +0000 (18:13 +0000)]
Merge "Restore nav bar position when wm size is reset."
Amith Yamasani [Fri, 19 Jul 2013 19:39:17 +0000 (12:39 -0700)]
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
Craig Mautner [Mon, 22 Jul 2013 17:37:43 +0000 (10:37 -0700)]
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
Martijn Coenen [Thu, 18 Jul 2013 16:49:41 +0000 (09:49 -0700)]
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
Glenn Kasten [Fri, 19 Jul 2013 00:02:39 +0000 (17:02 -0700)]
Use the utility logging methods and single tag
See Change-Id: I5bfc66562a4a0630d520390ae886bd19de3327cb
Change-Id: I569e0a746c4430f9d0cd1cb20bbc9aa50b81bcfc
Glenn Kasten [Fri, 19 Jul 2013 00:15:43 +0000 (17:15 -0700)]
Detect integer overflow
See Change-Id: Iec36fc0ea67095e18a2c238b148dad5545c102c1
Change-Id: I421f0d84c64310fcb6c5451993cfaf38125c4bb2
Joe Fernandez [Mon, 22 Jul 2013 16:21:58 +0000 (09:21 -0700)]
am
d8aae485: am
abbcf372: am
60c4b16e: Merge "docs: NDK r9 Release Notes" into jb-mr2-dev
* commit '
d8aae485bab2e17ba1321615351840ed587a8047':
docs: NDK r9 Release Notes
Joe Fernandez [Mon, 22 Jul 2013 16:19:18 +0000 (09:19 -0700)]
am
abbcf372: am
60c4b16e: Merge "docs: NDK r9 Release Notes" into jb-mr2-dev
* commit '
abbcf372b8aadd8ac53de5f25d4d82b2d57eaeaf':
docs: NDK r9 Release Notes
Joe Fernandez [Mon, 22 Jul 2013 16:16:07 +0000 (09:16 -0700)]
am
60c4b16e: Merge "docs: NDK r9 Release Notes" into jb-mr2-dev
* commit '
60c4b16e28748d235d3b7c73906522b2c43d84a5':
docs: NDK r9 Release Notes
Joe Fernandez [Mon, 22 Jul 2013 16:13:20 +0000 (16:13 +0000)]
Merge "docs: NDK r9 Release Notes" into jb-mr2-dev