191550 Commits

Author SHA1 Message Date
John Reck
7576651801 Merge "Compatibility hack" into mnc-dev 2015-05-08 21:13:43 +00: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
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
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
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
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
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
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
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
Wei Wang
0a008049a2 Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev 2015-05-08 00:40:27 +00:00
Selim Cinek
4a4a2bddc4 Fixed a bug where the heads-up would not show when full screen
Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077
2015-05-07 16:54:05 -07:00
Dianne Hackborn
49b043f37d Fix issue #20655182: API Review: ViewAssistStructure
Fix the various view assist related APIs.

Also remove the blockAssist view attribute, and instead use
the window's FLAG_SECURE to drive blocking of the entire
hierarchy (which is semantically correct, and will protect
existing apps that have already indicated they need it).

Change-Id: I6beebc86b202809cba0a356cae9607d8d0fb5e78
2015-05-07 16:30:52 -07:00
Wei Wang
46ab723d55 Allow obtaining BLE capabilities in BLE scan only mode.
Bug:20923734
Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d
2015-05-07 16:27:31 -07:00
Alan Viverette
78f12e43f0 Update LayoutLib for theme key changes to fix build
Change-Id: I47b400b320f16688cd32c1d8955a660637d93f4d
2015-05-07 16:24:10 -07:00
Chong Zhang
1e6be7285d MediaPlayer: pause media time when buffering
bug: 20500732
Change-Id: Ife7f75f5cc587af56451c85ea8adbdc380f38348
2015-05-07 22:43:27 +00:00
Joe Fernandez
259a73b560 am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page
* commit 'b2152a43ea8b44772fab5d29dea436f2a4ddc89b':
  docs: remove obsolete renderscript reference framer page
2015-05-07 22:42:50 +00:00
Joe Fernandez
b2152a43ea am 1dc26b8c: docs: remove obsolete renderscript reference framer page
* commit '1dc26b8c1eaa6b5aa288cecf9202e77217507fd3':
  docs: remove obsolete renderscript reference framer page
2015-05-07 22:29:55 +00:00
Joe Fernandez
1dc26b8c1e docs: remove obsolete renderscript reference framer page
Change-Id: I9ec7ad462584d2e2b7132b1ddbf9306c9df83b10
2015-05-07 15:14:31 -07:00
Chet Haase
c1125dedfc Merge "Disable ActionBar animations pending more involved fix" into mnc-dev 2015-05-07 22:00:18 +00:00
Mady Mellor
a18df8d6c7 Merge "Consider punctuation treatment when selecting text." into mnc-dev 2015-05-07 21:59:39 +00:00