191821 Commits

Author SHA1 Message Date
Eric Laurent
e48f44f55b Merge "AudioManager: add previous AudioPort list" into mnc-dev 2015-05-08 21:17:16 +00:00
John Reck
7576651801 Merge "Compatibility hack" into mnc-dev 2015-05-08 21:13:43 +00:00
John Reck
aef9dc8d18 Fix kSkippedFrame setting
It was only set previously if RenderThread dropped the frame,
but not if the UI thread frame was dropped. Unify the
two paths

Change-Id: If2574edde3cb0949deed4e47f3daaddb890a1b28
2015-05-08 14:12:32 -07:00
Richard Uhler
262110591e Merge "Add 'App Summary' section to meminfo." into mnc-dev 2015-05-08 21:11:45 +00:00
Glenn Kasten
d7b69c2eca Merge "Add feature for pro audio" into mnc-dev 2015-05-08 21:11:08 +00:00
Alan Viverette
f93bba5b79 Merge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev 2015-05-08 21:10:03 +00:00
John Reck
3e776dee3e Compatibility hack
Bug: 20940526

Rather than throwing an exception on accessing a recycled()
bitmap let certain operations succeed and just return dummy
values. Apps appear to be relying on this.

Change-Id: I74df2efdc29d93facd8553ed31cda3addf0b28eb
2015-05-08 14:02:02 -07:00
Chirag Shah
34cab7ca61 Revert the AssistAction class.
Bug 20654534

Change-Id: Ia85e7ebe2b8b168d0f9100e5006160ac969a296d
2015-05-08 20:44:12 +00:00
Dianne Hackborn
ed9af066b2 Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev 2015-05-08 20:42:12 +00:00
George Mount
180fd27832 Merge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev 2015-05-08 20:30:08 +00:00
Wale Ogunwale
5c42e508d1 Move visibleBehind activities into stop state when sleeping/powerDown
Bug: 19523564
Change-Id: I95273a659edc91c5636d6a0d9cd7fe5683ec4f3e
2015-05-08 13:25:12 -07:00
Amith Yamasani
e5f330456b Rename *AppIdle to *AppInactive per api-council
Change to setAppInactive and isAppInactive in a few places.

Bug: 20823737
Change-Id: Ie57dbc0dd2842e771bb5fd9f69b8041aacaa005c
2015-05-08 13:20:22 -07:00
Christopher Tate
ea2c403311 Mark persistent apps as such when the ProcessRecord is created
...rather than only during the OS's "time to start the persistent apps"
boot phase.  This closes a window of opportunity during which a
persistent app container may be live without having been properly
noted as such, because it wound up being launched prior to the
[rather late] boot phase at which the persistent apps are directly
enumerated and bookkeeping for them established.

Bug 20855725

Change-Id: I41822b412de4540dbdeab300b38089303678f76c
2015-05-08 13:05:42 -07:00
Tyler Gunn
6624015e4f Merge "Un-@hiding some missed VT APIs." into mnc-dev 2015-05-08 19:57:39 +00:00
Craig Lafayette
4ca9955d39 Merge "DevicePolicyManager API review changes" into mnc-dev 2015-05-08 19:55:34 +00:00
Richard Uhler
c14b9cf628 Add 'App Summary' section to meminfo.
The 'App Summary' section is shown by default when other memory
details are shown. This adds a new meminfo flag '-s' to show only the
App Summary section.

Change-Id: I66913673cd3afca873a8b13e45abe071d4c57b82
2015-05-08 19:47:52 +00:00
Eric Laurent
8a1e7a881e AudioManager: add previous AudioPort list
Maintain a cache of previously attached audio ports used
to create lists of added and removed devices following
a port list update callback.

Change-Id: Iad1c95b85c8ae9bdbed79eb0cdc46aeedeafccea
2015-05-08 11:43:05 -07:00
Tyler Gunn
6b3714939f Un-@hiding some missed VT APIs.
Bug: 20947116
Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
2015-05-08 11:35:55 -07:00
Alan Viverette
f4cf03dcca Merge "Use correct array index for Theme.getTheme()" into mnc-dev 2015-05-08 18:15:48 +00:00
Chad Brubaker
a91a850419 Cleanup keystore password changing and unlocking
Add KeyStore.onUserPasswordChanged for the lockscreen to call when
the user changes their password. Keystore will then handle the logic of
deleting keys. Instead of calling Keystore.password_uid for both
unlocking and password changes the behavior has been split into
Keystore.unlock and onUserPasswordChanged.

Change-Id: I324914c00195d762cbaa8c63084e41fa796b7df8
2015-05-08 11:11:43 -07:00
John Reck
a8dca228b2 Merge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev 2015-05-08 18:06:57 +00:00
Alex Klyubin
b954ecda09 Merge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev 2015-05-08 18:06:35 +00:00
Alan Viverette
ac67409582 Use correct array index for Theme.getTheme()
Change-Id: Ic462a7b8a81bb87bf08136bb30e3432f10269918
2015-05-08 11:04:47 -07:00
Adam Powell
5b56159b8e Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev 2015-05-08 17:59:31 +00:00
John Reck
d04794a9a3 Add eglSwapBuffersWithDamageKHR support
BUG: 20761426
Disabled temporarily

Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
2015-05-08 10:48:57 -07:00
John Spurlock
807749301f Zen: Simplify notification policy api, add zenmode api.
- Remove the concept of a notification policy management token
   in favor of a simple grant/deny per app.  Currently, all requests
   are immediately granted.
 - Add zen mode getter/setting, limit to apps that have been granted
   policy access.
 - Add intent for zen mode changes.
 - Public name for zen mode = "interruption filter", moved from
   NotificationListenerService to NotificationManager.
 - Add settings metadata for new DND access Settings screen.
 - Add the split sender settings for calls vs messages to the public
   Policy api.
 - This change is meant to finalize the public api, persisting
   granted app status and showing the user-visible dialog will be
   done as followups.

Bug: 18298798
Change-Id: I511be98d69939f057c0c7dc1a6dfe63d1c468193
2015-05-08 13:34:30 -04:00
Dirk Dougherty
e1a1d2e85a am 4e19b9a0: am 27e82e7b: Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs
* commit '4e19b9a01e1a9b37aa4b2b02ff2baac764824a33':
  Doc change: remove design content that has moved to material spec.
2015-05-08 17:19:50 +00:00
Joe Fernandez
8605d635ff am 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page
* commit '259a73b560b3acbd653167b2617810920a6f4b22':
  docs: remove obsolete renderscript reference framer page
2015-05-08 17:19:40 +00:00
Yohei Yukawa
93b6dae9e5 Merge "Fix IMMS#mInputShown state inconsistency." into mnc-dev 2015-05-08 17:11:22 +00:00
Glenn Kasten
cdcb57791f Add feature for pro audio
The specification for CDD is in progress

Bug: 20877157
Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241
2015-05-08 10:09:22 -07:00
Alex Klyubin
eedda45ad7 More Javadocs for AndroidKeyStore public classes.
This adds more detailed class-level Javadocs (incl. examples) for the
following public API of Android KeyStore facility:
* KeyPairGeneratorSpec,
* KeyGeneratorSpec,
* KeyStoreParameter,
* KeyStoreKeySpec.

This also clarifies what encryption at rest means.

Bug: 18088752
Change-Id: I9951a528c34dea322534763b596902a2b6ac64f9
2015-05-08 10:01:55 -07:00
Alex Klyubin
3974fb2393 Merge "Replace "TEE" with "secure hardware"." into mnc-dev 2015-05-08 16:23:59 +00:00
Xiaohui Chen
0dc0193307 Merge "multiuser: postpone user cleanup to systemready" into mnc-dev 2015-05-08 16:06:31 +00:00
Alex Klyubin
eae1da7788 Replace "TEE" with "secure hardware".
This is to make the Android KeyStore API more generic.

Bug: 18088752
Change-Id: I18bcc96db4af17127e5dc038becc9deb85bb48aa
2015-05-08 09:02:38 -07:00
Alex Klyubin
68c33d52bf Switch to KeyguardManager.isDeviceSecure.
isKeyguardSecure also returns true when SIM PIN is required. We don't
care about that because entering SIM PIN does not unlock keys
requiring user authentication. isDeviceSecure returns true only if
secure lock screen is set up, which is exactly what we want.

Bug: 18088752
Change-Id: I47b21f3351f55c11e8e9bcfd7654762973dd9271
2015-05-08 08:47:19 -07:00
Michael Wright
1336c2c68d Merge "Always destroy virtual display on Binder death." into mnc-dev 2015-05-08 14:58:14 +00:00
George Mount
0006e88863 Don't call updateDisplayListIfDirty outside draw.
Bug 20909826

Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb
2015-05-08 07:51:44 -07:00
Erik Kline
a0698b617f Merge "Optionally add a default MOBILE request." into mnc-dev 2015-05-08 07:27:30 +00:00
Erik Kline
da4bfa81cd Optionally add a default MOBILE request.
This enables persisting the mobile internet data connection, even
when Wi-Fi is enabled and serving as the default network (for faster
network switching).

Change-Id: I9d1512b3a8413c4f163c63d57e66bded017101e4
2015-05-08 15:22:37 +09:00
Dirk Dougherty
4e19b9a01e am 27e82e7b: Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs
* commit '27e82e7b3824b886ae1179c58c2f7073831d6c6a':
  Doc change: remove design content that has moved to material spec.
2015-05-08 03:46:49 +00:00
Seigo Nonaka
8d4a9117fb Fix IMMS#mInputShown state inconsistency.
The goal of this CL is to keep IMMS#mInputShown consistent with the
actual visibility of the software keyboard.  Doing it indeed fixes many
user-visible inconsistency, especially when a physical keyboards is
attached.

It turned out that there are much more cases where IMMS#mInputShown
should have been updated.  Basically every time when the software
keyboard is shown or hiden by non-user actions, IMMS#mInputShown was not
updated to the new state.  Typical cases are:
 - the IME shows its Emoji keyboard when the ALT key is pressed.
 - the system hides software keyboard when physical keyboard is
   connected.

With this CL, all known issues will disapper by updating
IMMS#mInputShown in IMMS#setImeWindowStatus().

Note that this CL depends on following preparation CLs directly or
indirectly.
- I7002ff063e490928309e9a9a0f6557ce3d12e6aa
- I1e50ee42838a1bf64a612da4904aa93458d44ea4
- I3decaf37198e5864a1763a059df4a36ebc70c5a7
- Id156c85535a221235737ea6dcc15a67f1c4b9f71
- I9f797d07ba02363fab58ceb9aecb3cc11fbc407e
- I60963f1474457ff37cca85e262460dca8105acff

Simply cherry-picking this CL into L branch is supposed to be
insufficient to fix all the issues and would result in different
regressions indeed.

BUG: 18722991
BUG: 20763994
BUG: 20764441
BUG: 20926844
Change-Id: I20ae2749a93bc33840df560aa71d4635e9ec849a
2015-05-07 20:41:46 -07:00
Dirk Dougherty
27e82e7b38 Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs 2015-05-08 03:35:57 +00:00
Keisuke Kuroyanagi
50a927cdd1 Fix: Hard to modify multi-line selection.
mTouchWordOffset was not appropriately updated when a
selection is modified across multiple lines.

Bug: 20650838
Change-Id: I46f5393970dc8d806719467bac489feac0fbe1a5
2015-05-07 19:30:30 -07:00
Selim Cinek
03fdca1b29 Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev 2015-05-08 02:04:52 +00:00
Siva Velusamy
1f86199748 Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev 2015-05-08 01:51:19 +00:00
Siva Velusamy
52156a325e Merge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev 2015-05-08 01:50:44 +00:00
Siva Velusamy
94a6d15ede Use new hierarchy viewer protocol in all View subclasses
A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
2015-05-07 18:44:21 -07:00
Siva Velusamy
0d857b9028 Improve hierarchy viewer dump hierarchy latency
Hierarchy Viewer obtains the properties for each view by using
reflection and looking for fields and methods that have the
@ExportedProperty annotation. Using reflection made it quite slow
for large view hierarchies.

This CL adds a new method (encode) to each class that wishes to
export data to hiererachy viewer. Inside this method, the object
can write a sequence of key, value pairs corresponding to the
values it wants exported.

With this change, the dump hierarchy operation that used to take
more than 10 seconds can be performed in a few hundred milliseconds.

Change-Id: I199ac2e7ca3c59ebcfec7e6bd201e134c41fd583
2015-05-07 18:44:15 -07:00
Selim Cinek
03872c075e Fixed a bug with svelte and voice assist
Handling the case that no info is around.
Bug: 20925281

Change-Id: Id5a4c4373877909a898c8852891a854eacbc1f6c
2015-05-08 01:21:38 +00:00
Paul Jensen
3199980812 Merge "Add URL bar to captive portal login app." into mnc-dev 2015-05-08 01:08:53 +00:00