Dianne Hackborn
ffeecb1bfb
Rework voice interaction session lifecycle.
...
We now have a formal concept of the session being shown and
hidden, with it being able to continue running while hidden
as long as there is enough RAM.
This changes the flow that a VoiceInteractionSession will
see: onCreate() is when it is first created, onCreateContentView()
is when its UI first needs to be built, onShow() is called each
time it needs to be shown and has the arguments given when the
show request was made (which has been renamed from startSession to
showSession), and then onHide() will be called when the UI is
no longer shown.
The methods show() and hide() now allow a VoiceInteractionSession
subclass to control when it is shown and hidden, working with the
shown state being maintained by the system.
Change-Id: Ic4a430ec7e8bf76a5441fd0425e2932806170fcc
2015-02-25 17:36:17 -08:00
Jeff Brown
6e53931f49
Add Context.getSystemService(Class<?>).
...
Added an overload of getSystemService() that takes a class instead of a
service name to eliminate the extra cast and provide more type safety.
Cleaned up docs.
Removed the default constructor of BatteryManager which should not have
existed.
Change-Id: I9da46b20641fc83ecd3342560e5b94cb721f289c
2015-02-25 17:04:13 -08:00
Jeff Brown
0b36a2a637
Merge "Add missing headers."
2015-02-25 23:46:05 +00:00
Jeff Brown
37df39a93d
Add missing headers.
...
Change-Id: Ida86e14986e6391e6f65581ef0987ad8d16576f9
2015-02-25 15:43:17 -08:00
Dan Albert
fc6cd75fc0
am 72e7217d: am b7121d70: am b78cce6f: Merge "Update autogenerated gl functions."
...
* commit '72e7217d0bd1035fc0c947da5d1e802624774a80':
Update autogenerated gl functions.
2015-02-25 23:17:44 +00:00
Dan Albert
72e7217d0b
am b7121d70: am b78cce6f: Merge "Update autogenerated gl functions."
...
* commit 'b7121d703067b440281f27a40b8273b17bef1e62':
Update autogenerated gl functions.
2015-02-25 23:07:47 +00:00
Dan Albert
b7121d7030
am b78cce6f: Merge "Update autogenerated gl functions."
...
* commit 'b78cce6f92e38b57a6a56183cdbafc054c5758fe':
Update autogenerated gl functions.
2015-02-25 23:00:52 +00:00
Dan Albert
b78cce6f92
Merge "Update autogenerated gl functions."
2015-02-25 22:50:25 +00:00
Filip Gruszczynski
cfb3185a27
am 0fbcc708: am 1e74b5d6: Merge "Burn in protection." into lmp-mr1-modular-dev
...
* commit '0fbcc7086fe742e641915ed5f097119d01613cb5':
Burn in protection.
2015-02-25 21:47:12 +00:00
Roozbeh Pournader
001f0b31b6
Merge "Document the limitations of Linkify addresses"
2015-02-25 21:43:50 +00:00
Roozbeh Pournader
1ff7196be9
Document the limitations of Linkify addresses
...
Explain that we are using WebView#findAddresses() which is
limited to US addresses at the moment (at least according
to its documentation), among various other limitations.
Bug: 5847264
Change-Id: If86c6d7c11cc080f0fe3401ffb7bce8068c6016f
2015-02-25 13:40:52 -08:00
Filip Gruszczynski
0fbcc7086f
am 1e74b5d6: Merge "Burn in protection." into lmp-mr1-modular-dev
...
* commit '1e74b5d6b0e964b7a9e58e64b45f50aec15b1178':
Burn in protection.
2015-02-25 21:40:38 +00:00
Filip Gruszczynski
d2e8640c2c
Burn in protection.
...
Bug: 19373758
Change-Id: I7242f73acadd21bdee03262b4205c8af0734fccb
2015-02-25 12:22:49 -08:00
Fyodor Kupolov
47ed3195f9
Merge "Allow alternative policy description for secondary users"
2015-02-25 20:17:21 +00:00
Mark Salyzyn
a49ce66b06
am f7b68049: am 533758c1: am 0d8b97a4: Merge "jni: switch to ANDROID_LOG_* mode flags"
...
* commit 'f7b68049521b5f1c31894f5dad529f719098e987':
jni: switch to ANDROID_LOG_* mode flags
2015-02-25 19:26:57 +00:00
Mark Salyzyn
f7b6804952
am 533758c1: am 0d8b97a4: Merge "jni: switch to ANDROID_LOG_* mode flags"
...
* commit '533758c1fb2dcf5b50db46b60d26ecae72fc71ee':
jni: switch to ANDROID_LOG_* mode flags
2015-02-25 19:19:27 +00:00
Mark Salyzyn
533758c1fb
am 0d8b97a4: Merge "jni: switch to ANDROID_LOG_* mode flags"
...
* commit '0d8b97a44e4cb5c5cfffd6421eb2cec1ebc00d2f':
jni: switch to ANDROID_LOG_* mode flags
2015-02-25 19:13:12 +00:00
Filip Gruszczynski
924a18baa2
am cf8c112e: am 01dd0e86: Merge "Force translucency from windowIsTranslucent on SwipeDismissLayout." into lmp-mr1-modular-dev
...
* commit 'cf8c112ed87752d79a869de9426b5c5a950b5c43':
Force translucency from windowIsTranslucent on SwipeDismissLayout.
2015-02-25 18:52:02 +00:00
Filip Gruszczynski
cf8c112ed8
am 01dd0e86: Merge "Force translucency from windowIsTranslucent on SwipeDismissLayout." into lmp-mr1-modular-dev
...
* commit '01dd0e86546a5bf815dd9a6e7cd4b7bf8e8f5719':
Force translucency from windowIsTranslucent on SwipeDismissLayout.
2015-02-25 18:44:57 +00:00
Filip Gruszczynski
01dd0e8654
Merge "Force translucency from windowIsTranslucent on SwipeDismissLayout." into lmp-mr1-modular-dev
2015-02-25 18:40:20 +00:00
Jim Miller
74160d8cdb
am b060f018: am 91aa1bdb: am 19847b07: am b46e4806: Merge "Remove TrustAgent whitelisting API" into lmp-mr1-dev
...
* commit 'b060f018effb27a79797e55f9eb6a592db2cb39a':
Remove TrustAgent whitelisting API
2015-02-25 18:30:10 +00:00
Jim Miller
b060f018ef
am 91aa1bdb: am 19847b07: am b46e4806: Merge "Remove TrustAgent whitelisting API" into lmp-mr1-dev
...
* commit '91aa1bdb57a82b59401afd88aaeb429ea4c73bac':
Remove TrustAgent whitelisting API
2015-02-25 18:23:20 +00:00
Jim Miller
91aa1bdb57
am 19847b07: am b46e4806: Merge "Remove TrustAgent whitelisting API" into lmp-mr1-dev
...
* commit '19847b07e81b9b29e3574ce6ab8acf7a958a1a63':
Remove TrustAgent whitelisting API
2015-02-25 18:17:13 +00:00
Jim Miller
19847b07e8
am b46e4806: Merge "Remove TrustAgent whitelisting API" into lmp-mr1-dev
...
* commit 'b46e48067fd03b63fa5f5191651ac2a5d009e226':
Remove TrustAgent whitelisting API
2015-02-25 18:09:54 +00:00
Mark Salyzyn
18998c9852
jni: switch to ANDROID_LOG_* mode flags
...
Change-Id: I8aea5bf4faf79a96fa8485f7707e7484cd11d7a3
2015-02-25 18:07:21 +00:00
John Spurlock
fc0b168711
Merge "DND: Add a hidden DND tile to quick settings."
2015-02-25 17:47:58 +00:00
John Spurlock
3c4076a246
DND: Add a hidden DND tile to quick settings.
...
Invisible by default, not activatable when the platform
volume controller is active.
However, when the platform volume controller is not active,
it can be enabled via a broadcast intent.
When enabled, the status bar icon also changes to a single
dnd icon.
Very little more than embedding the existing zen mode panel
into the detail pane of a new QS tile.
Change-Id: I1e0ff6fbb99b00f67b53bceda8cbf121f3ef6b52
2015-02-25 12:46:13 -05:00
Geoff Mendal
70228b3929
Import translations. DO NOT MERGE
...
Change-Id: I4e5b922995cf7eff9c984735209e2fe073fb5d83
Auto-generated-cl: translation import
2015-02-25 07:39:28 -08:00
Geoff Mendal
01dd864ec0
Import translations. DO NOT MERGE
...
Change-Id: Ie511cef0bf2d54e3ca9064a2391955b2cf301ddd
Auto-generated-cl: translation import
2015-02-25 07:33:55 -08:00
Geoff Mendal
91d95328da
Import translations. DO NOT MERGE
...
Change-Id: I077436f56f383af0746ee1c7037ba8bef0d1d6d6
Auto-generated-cl: translation import
2015-02-25 07:41:18 -06:00
Keisuke Kuroyanagi
434fcf1588
Merge "Paste as plain text by Ctrl-Shift-V"
2015-02-25 08:00:32 +00:00
Jim Miller
bc4f2ccf6c
Remove TrustAgent whitelisting API
...
Due to a bug caught late in the release, this API is broken
and should be removed from API 22 because it's too late for
a fix and there's no workaround.
Bug 19461292
Change-Id: Ib0757a4484b14afe7f83ae9527bb3f5f4834ee62
2015-02-24 20:15:02 -08:00
Filip Gruszczynski
23958c6e2f
Force translucency from windowIsTranslucent on SwipeDismissLayout.
...
Bug: 18799741
Change-Id: Ifb05869f1bf080d7555d7728dc085c41cc2c277c
2015-02-24 16:59:45 -08:00
Wale Ogunwale
9fc3cef1c7
Merge "Added ActivityManager API and AM command to resize a task."
2015-02-24 18:32:57 +00:00
Jorim Jaggi
df4943d5e0
Merge "Do not forceLayout when window is resized"
2015-02-24 18:13:23 +00:00
Jorim Jaggi
690bed268e
Change status bar height to 24dp
...
Bug: 18410023
Change-Id: Ia8afcaddbf8d78372117806d2b6202cac0364ca9
2015-02-24 17:35:25 +00:00
Wale Ogunwale
53a29a90f3
Added ActivityManager API and AM command to resize a task.
...
Also fixed issue with ActivityStackSupervisor.moveTaskToStackLocked()
functionality not working correctly.
Change-Id: Ia13f1e92a7c59ce6543c226533ac8ea623488290
2015-02-24 09:33:18 -08:00
Fyodor Kupolov
b343d6db28
Allow alternative policy description for secondary users
...
For policies like wipe-data, device admin policy description should be
customizable for secondary users.
Bug: 19194766
Change-Id: Idadbdf84d378cf4f1b42ac246a48edbfa97eaa9a
2015-02-24 09:26:09 -08:00
James Cook
8ee1d64c0a
Merge "Change UndoManager mOwners from HashMap to ArrayMap"
2015-02-24 14:55:51 +00:00
Narayan Kamath
419389c52a
am fd335f84: am 948682d1: am 6e208cdd: Merge "Remove wrong javadoc comment"
...
* commit 'fd335f8467259410c0a55733331e10531141e76e':
Remove wrong javadoc comment
2015-02-24 10:28:12 +00:00
Narayan Kamath
fd335f8467
am 948682d1: am 6e208cdd: Merge "Remove wrong javadoc comment"
...
* commit '948682d15f1a4a6676318213a49b50b967cfae27':
Remove wrong javadoc comment
2015-02-24 10:18:39 +00:00
Narayan Kamath
948682d15f
am 6e208cdd: Merge "Remove wrong javadoc comment"
...
* commit '6e208cddad3315c4e38accdb801908b2b9b5cbbd':
Remove wrong javadoc comment
2015-02-24 10:11:52 +00:00
Narayan Kamath
6e208cddad
Merge "Remove wrong javadoc comment"
2015-02-24 10:04:33 +00:00
Chad Jones
1fb5528643
resolved conflicts for merge of 57bb5f5c to master
...
Change-Id: Id5dfe7fc919305658312771a031c0764cef5515c
2015-02-23 21:19:58 -08:00
Chad Brubaker
7d0c22e21b
am 3576ca1f: am 1629f954: am 598f9b2a: Merge "Add Keymaster 0.4 binder API"
...
* commit '3576ca1f9bd1e46101ad940cc5923ac9965cfafe':
Add Keymaster 0.4 binder API
2015-02-24 04:54:34 +00:00
Keisuke Kuroyanagi
b103709d02
Paste as plain text by Ctrl-Shift-V
...
Detect Ctrl-Shft-V in onKeyShortcut() and perform paste
as plain text.
Bug: 19287899
Change-Id: I0b27bf6155222a042eeb61dfbd4544c8312904ce
2015-02-24 12:51:46 +09:00
Joe LaPenna
57bb5f5c8b
am c0c39516: Merge "Hold a wake lock while dozing when display updates are pending." into lmp-mr1-modular-dev
...
* commit 'c0c395162ff14b83694158663470ad60e065d9a9':
Hold a wake lock while dozing when display updates are pending.
2015-02-24 00:46:48 +00:00
Joe LaPenna
c0c395162f
Merge "Hold a wake lock while dozing when display updates are pending." into lmp-mr1-modular-dev
2015-02-24 00:37:15 +00:00
James Cook
761a4b3335
Change UndoManager mOwners from HashMap to ArrayMap
...
The number of undo operation owners is small (and usually one),
so save memory by switching to ArrayMap.
Bug: 19332904
Change-Id: Ic32cd49c292db2eaab1739cea8e8e518e68bd826
2015-02-23 16:20:16 -08:00
Mike Lockwood
f3c7276a4f
Merge "Add MIDI Manager API tweaks:"
2015-02-23 23:03:36 +00:00