OSDN Git Service

android-x86/frameworks-base.git
9 years agoBootReceiver: scrub APANIC
Mark Salyzyn [Wed, 8 Apr 2015 17:56:59 +0000 (10:56 -0700)]
BootReceiver: scrub APANIC

(Cherry pick from commit b49dd577f421adbc4e2c7aa7aa88174905b76242)

Bug: 19525200
Change-Id: I940e25a6dd20d53d44ad8848f490ac18c5e971e9

9 years agoam e8334254: am 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such...
Christopher Tate [Fri, 8 May 2015 22:46:13 +0000 (22:46 +0000)]
am e8334254: am 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit 'e83342540b2b7dc7571c12768007697685a6add5':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "Clean-up component states in AMS when component is disabled" into mnc-dev
Wale Ogunwale [Fri, 8 May 2015 22:34:29 +0000 (22:34 +0000)]
Merge "Clean-up component states in AMS when component is disabled" into mnc-dev

9 years agoam 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessR...
Christopher Tate [Fri, 8 May 2015 22:32:18 +0000 (22:32 +0000)]
am 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit '4f35e1699a4b62bd71bed27fece85e2c026210d1':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "Zen QS: Tweak segmented button + introduction styling." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:29:24 +0000 (22:29 +0000)]
Merge "Zen QS: Tweak segmented button + introduction styling." into mnc-dev

9 years agoMerge "Zen: Tweak default automatic rules." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:29:09 +0000 (22:29 +0000)]
Merge "Zen: Tweak default automatic rules." into mnc-dev

9 years agoMerge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:28:49 +0000 (22:28 +0000)]
Merge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev

9 years agoClean-up component states in AMS when component is disabled
Wale Ogunwale [Fri, 1 May 2015 22:35:39 +0000 (15:35 -0700)]
Clean-up component states in AMS when component is disabled

Bug: 15804187
Change-Id: I2b5856c5a0a012f34698fb64f8596d32924bbd1f

9 years agoMerge "BluetoothMidiDevice: Cleanup and error handling improvements" into mnc-dev
Mike Lockwood [Fri, 8 May 2015 22:19:55 +0000 (22:19 +0000)]
Merge "BluetoothMidiDevice: Cleanup and error handling improvements" into mnc-dev

9 years agoZen QS: Tweak segmented button + introduction styling.
John Spurlock [Fri, 8 May 2015 22:16:54 +0000 (18:16 -0400)]
Zen QS: Tweak segmented button + introduction styling.

 - Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a

9 years agoam 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is...
Christopher Tate [Fri, 8 May 2015 22:14:53 +0000 (22:14 +0000)]
am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit '4475e7dfa12e684df64c59a9053c110d79d83c1f':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "DeviceInitializerStatus API review changes" into mnc-dev
Craig Lafayette [Fri, 8 May 2015 22:12:53 +0000 (22:12 +0000)]
Merge "DeviceInitializerStatus API review changes" into mnc-dev

9 years agoMerge "More Javadocs for AndroidKeyStore public classes." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 22:03:19 +0000 (22:03 +0000)]
Merge "More Javadocs for AndroidKeyStore public classes." into mnc-dev

9 years agoam ea2c4033: Mark persistent apps as such when the ProcessRecord is created
Christopher Tate [Fri, 8 May 2015 21:55:08 +0000 (21:55 +0000)]
am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit 'ea2c403311f741f5a0a9688847cfd17041c81c0d':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "Cleanup keystore password changing and unlocking" into mnc-dev
Chad Brubaker [Fri, 8 May 2015 21:51:03 +0000 (21:51 +0000)]
Merge "Cleanup keystore password changing and unlocking" into mnc-dev

9 years agoMerge "Fix: Hard to modify multi-line selection." into mnc-dev
Mady Mellor [Fri, 8 May 2015 21:45:34 +0000 (21:45 +0000)]
Merge "Fix: Hard to modify multi-line selection." into mnc-dev

9 years agoZen: Tweak default automatic rules.
John Spurlock [Fri, 8 May 2015 21:35:22 +0000 (17:35 -0400)]
Zen: Tweak default automatic rules.

 - Add a new default rule for calendar events.
 - Rename all default rules to singular form. i.e. Weekend/Weeknight/Event

Bug: 20064962
Change-Id: Iee13238e0479fd2a05abdef4a5584455dcdd0c53

9 years agoMerge "Switch libjnigraphics.so to hash-style=both" into mnc-dev
Dmitriy Ivanov [Fri, 8 May 2015 21:20:44 +0000 (21:20 +0000)]
Merge "Switch libjnigraphics.so to hash-style=both" into mnc-dev

9 years agoMerge "Fix kSkippedFrame setting" into mnc-dev
John Reck [Fri, 8 May 2015 21:19:37 +0000 (21:19 +0000)]
Merge "Fix kSkippedFrame setting" into mnc-dev

9 years agoSwitch libjnigraphics.so to hash-style=both
Dmitriy Ivanov [Fri, 8 May 2015 21:03:19 +0000 (14:03 -0700)]
Switch libjnigraphics.so to hash-style=both

Bug: http://b/19059885
Change-Id: I15f70b434b1d450e5b62ca7c204c628e2dc9edcc
(cherry picked from commit 2e84bc6948bb24ec67bf289ee1d0ed937a0fd4ff)

9 years agoMerge "AudioManager: add previous AudioPort list" into mnc-dev
Eric Laurent [Fri, 8 May 2015 21:17:15 +0000 (21:17 +0000)]
Merge "AudioManager: add previous AudioPort list" into mnc-dev

9 years agoMerge "Compatibility hack" into mnc-dev
John Reck [Fri, 8 May 2015 21:13:42 +0000 (21:13 +0000)]
Merge "Compatibility hack" into mnc-dev

9 years agoFix kSkippedFrame setting
John Reck [Fri, 8 May 2015 21:10:57 +0000 (14:10 -0700)]
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

9 years agoMerge "Add 'App Summary' section to meminfo." into mnc-dev
Richard Uhler [Fri, 8 May 2015 21:11:44 +0000 (21:11 +0000)]
Merge "Add 'App Summary' section to meminfo." into mnc-dev

9 years agoMerge "Add feature for pro audio" into mnc-dev
Glenn Kasten [Fri, 8 May 2015 21:11:07 +0000 (21:11 +0000)]
Merge "Add feature for pro audio" into mnc-dev

9 years agoMerge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev
Alan Viverette [Fri, 8 May 2015 21:10:02 +0000 (21:10 +0000)]
Merge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev

9 years agoCompatibility hack
John Reck [Fri, 8 May 2015 20:59:01 +0000 (13:59 -0700)]
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

9 years agoMerge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev
Dianne Hackborn [Fri, 8 May 2015 20:42:11 +0000 (20:42 +0000)]
Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev

9 years agoMerge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev
George Mount [Fri, 8 May 2015 20:30:07 +0000 (20:30 +0000)]
Merge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev

9 years agoMark persistent apps as such when the ProcessRecord is created
Christopher Tate [Fri, 8 May 2015 18:10:43 +0000 (11:10 -0700)]
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

9 years agoMerge "Un-@hiding some missed VT APIs." into mnc-dev
Tyler Gunn [Fri, 8 May 2015 19:57:39 +0000 (19:57 +0000)]
Merge "Un-@hiding some missed VT APIs." into mnc-dev

9 years agoMerge "DevicePolicyManager API review changes" into mnc-dev
Craig Lafayette [Fri, 8 May 2015 19:55:32 +0000 (19:55 +0000)]
Merge "DevicePolicyManager API review changes" into mnc-dev

9 years agoAdd 'App Summary' section to meminfo.
Richard Uhler [Fri, 13 Mar 2015 19:38:38 +0000 (12:38 -0700)]
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

9 years agoAudioManager: add previous AudioPort list
Eric Laurent [Fri, 8 May 2015 18:43:05 +0000 (11:43 -0700)]
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

9 years agoUn-@hiding some missed VT APIs.
Tyler Gunn [Fri, 8 May 2015 18:35:55 +0000 (11:35 -0700)]
Un-@hiding some missed VT APIs.

Bug: 20947116
Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2

9 years agoMerge "Use correct array index for Theme.getTheme()" into mnc-dev
Alan Viverette [Fri, 8 May 2015 18:15:47 +0000 (18:15 +0000)]
Merge "Use correct array index for Theme.getTheme()" into mnc-dev

9 years agoCleanup keystore password changing and unlocking
Chad Brubaker [Thu, 7 May 2015 17:02:22 +0000 (10:02 -0700)]
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

9 years agoMerge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev
John Reck [Fri, 8 May 2015 18:06:51 +0000 (18:06 +0000)]
Merge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev

9 years agoMerge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 18:06:34 +0000 (18:06 +0000)]
Merge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev

9 years agoUse correct array index for Theme.getTheme()
Alan Viverette [Fri, 8 May 2015 18:04:47 +0000 (11:04 -0700)]
Use correct array index for Theme.getTheme()

Change-Id: Ic462a7b8a81bb87bf08136bb30e3432f10269918

9 years agoMerge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev
Adam Powell [Fri, 8 May 2015 17:59:29 +0000 (17:59 +0000)]
Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev

9 years agoAdd eglSwapBuffersWithDamageKHR support
John Reck [Fri, 8 May 2015 17:04:36 +0000 (10:04 -0700)]
Add eglSwapBuffersWithDamageKHR support

BUG: 20761426
Disabled temporarily

Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5

9 years agoZen: Simplify notification policy api, add zenmode api.
John Spurlock [Thu, 7 May 2015 21:38:50 +0000 (17:38 -0400)]
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

9 years agoam 4e19b9a0: am 27e82e7b: Merge "Doc change: remove design content that has moved...
Dirk Dougherty [Fri, 8 May 2015 17:19:50 +0000 (17:19 +0000)]
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.

9 years agoam 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference...
Joe Fernandez [Fri, 8 May 2015 17:19:40 +0000 (17:19 +0000)]
am 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit '259a73b560b3acbd653167b2617810920a6f4b22':
  docs: remove obsolete renderscript reference framer page

9 years agoMerge "Fix IMMS#mInputShown state inconsistency." into mnc-dev
Yohei Yukawa [Fri, 8 May 2015 17:11:21 +0000 (17:11 +0000)]
Merge "Fix IMMS#mInputShown state inconsistency." into mnc-dev

9 years agoAdd feature for pro audio
Glenn Kasten [Wed, 6 May 2015 22:54:49 +0000 (15:54 -0700)]
Add feature for pro audio

The specification for CDD is in progress

Bug: 20877157
Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241

9 years agoMore Javadocs for AndroidKeyStore public classes.
Alex Klyubin [Fri, 8 May 2015 00:34:24 +0000 (17:34 -0700)]
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

9 years agoMerge "Replace "TEE" with "secure hardware"." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 16:23:58 +0000 (16:23 +0000)]
Merge "Replace "TEE" with "secure hardware"." into mnc-dev

9 years agoMerge "multiuser: postpone user cleanup to systemready" into mnc-dev
Xiaohui Chen [Fri, 8 May 2015 16:06:30 +0000 (16:06 +0000)]
Merge "multiuser: postpone user cleanup to systemready" into mnc-dev

9 years agoReplace "TEE" with "secure hardware".
Alex Klyubin [Fri, 8 May 2015 16:02:38 +0000 (09:02 -0700)]
Replace "TEE" with "secure hardware".

This is to make the Android KeyStore API more generic.

Bug: 18088752
Change-Id: I18bcc96db4af17127e5dc038becc9deb85bb48aa

9 years agoSwitch to KeyguardManager.isDeviceSecure.
Alex Klyubin [Fri, 8 May 2015 15:44:59 +0000 (08:44 -0700)]
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

9 years agoMerge "Always destroy virtual display on Binder death." into mnc-dev
Michael Wright [Fri, 8 May 2015 14:58:11 +0000 (14:58 +0000)]
Merge "Always destroy virtual display on Binder death." into mnc-dev

9 years agoDon't call updateDisplayListIfDirty outside draw.
George Mount [Fri, 8 May 2015 14:48:19 +0000 (07:48 -0700)]
Don't call updateDisplayListIfDirty outside draw.

Bug 20909826

Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb

9 years agoMerge "Optionally add a default MOBILE request." into mnc-dev
Erik Kline [Fri, 8 May 2015 07:27:27 +0000 (07:27 +0000)]
Merge "Optionally add a default MOBILE request." into mnc-dev

9 years agoOptionally add a default MOBILE request.
Erik Kline [Thu, 30 Apr 2015 03:58:40 +0000 (12:58 +0900)]
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

9 years agoam 27e82e7b: Merge "Doc change: remove design content that has moved to material...
Dirk Dougherty [Fri, 8 May 2015 03:46:49 +0000 (03:46 +0000)]
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.

9 years agoFix IMMS#mInputShown state inconsistency.
Seigo Nonaka [Wed, 15 Apr 2015 09:31:32 +0000 (18:31 +0900)]
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

9 years agoMerge "Doc change: remove design content that has moved to material spec." into mnc...
Dirk Dougherty [Fri, 8 May 2015 03:35:56 +0000 (03:35 +0000)]
Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

9 years agoFix: Hard to modify multi-line selection.
Keisuke Kuroyanagi [Thu, 7 May 2015 08:34:21 +0000 (17:34 +0900)]
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

9 years agoMerge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev
Selim Cinek [Fri, 8 May 2015 02:04:51 +0000 (02:04 +0000)]
Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev

9 years agoMerge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev
Siva Velusamy [Fri, 8 May 2015 01:51:19 +0000 (01:51 +0000)]
Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev

9 years agoMerge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev
Siva Velusamy [Fri, 8 May 2015 01:50:43 +0000 (01:50 +0000)]
Merge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev

9 years agoUse new hierarchy viewer protocol in all View subclasses
Siva Velusamy [Tue, 5 May 2015 22:07:00 +0000 (15:07 -0700)]
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

9 years agoImprove hierarchy viewer dump hierarchy latency
Siva Velusamy [Wed, 22 Apr 2015 17:23:56 +0000 (10:23 -0700)]
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

9 years agoFixed a bug with svelte and voice assist
Selim Cinek [Fri, 8 May 2015 01:12:51 +0000 (18:12 -0700)]
Fixed a bug with svelte and voice assist

Handling the case that no info is around.
Bug: 20925281

Change-Id: Id5a4c4373877909a898c8852891a854eacbc1f6c

9 years agoMerge "Add URL bar to captive portal login app." into mnc-dev
Paul Jensen [Fri, 8 May 2015 01:08:52 +0000 (01:08 +0000)]
Merge "Add URL bar to captive portal login app." into mnc-dev

9 years agoMerge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev
Wei Wang [Fri, 8 May 2015 00:40:26 +0000 (00:40 +0000)]
Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev

9 years agoFixed a bug where the heads-up would not show when full screen
Selim Cinek [Thu, 7 May 2015 19:50:19 +0000 (12:50 -0700)]
Fixed a bug where the heads-up would not show when full screen

Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077

9 years agoFix issue #20655182: API Review: ViewAssistStructure
Dianne Hackborn [Thu, 7 May 2015 21:21:38 +0000 (14:21 -0700)]
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

9 years agoAllow obtaining BLE capabilities in BLE scan only mode.
Wei Wang [Thu, 7 May 2015 23:25:33 +0000 (16:25 -0700)]
Allow obtaining BLE capabilities in BLE scan only mode.

Bug:20923734
Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d

9 years agoUpdate LayoutLib for theme key changes to fix build
Alan Viverette [Thu, 7 May 2015 23:24:10 +0000 (16:24 -0700)]
Update LayoutLib for theme key changes to fix build

Change-Id: I47b400b320f16688cd32c1d8955a660637d93f4d

9 years agoMediaPlayer: pause media time when buffering
Chong Zhang [Wed, 6 May 2015 20:14:59 +0000 (13:14 -0700)]
MediaPlayer: pause media time when buffering

bug: 20500732
Change-Id: Ife7f75f5cc587af56451c85ea8adbdc380f38348

9 years agoam b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:42:50 +0000 (22:42 +0000)]
am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit 'b2152a43ea8b44772fab5d29dea436f2a4ddc89b':
  docs: remove obsolete renderscript reference framer page

9 years agoam 1dc26b8c: docs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:29:55 +0000 (22:29 +0000)]
am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit '1dc26b8c1eaa6b5aa288cecf9202e77217507fd3':
  docs: remove obsolete renderscript reference framer page

9 years agodocs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:14:31 +0000 (15:14 -0700)]
docs: remove obsolete renderscript reference framer page

Change-Id: I9ec7ad462584d2e2b7132b1ddbf9306c9df83b10

9 years agoMerge "Disable ActionBar animations pending more involved fix" into mnc-dev
Chet Haase [Thu, 7 May 2015 22:00:17 +0000 (22:00 +0000)]
Merge "Disable ActionBar animations pending more involved fix" into mnc-dev

9 years agoMerge "Consider punctuation treatment when selecting text." into mnc-dev
Mady Mellor [Thu, 7 May 2015 21:59:35 +0000 (21:59 +0000)]
Merge "Consider punctuation treatment when selecting text." into mnc-dev

9 years agoDisable ActionBar animations pending more involved fix
Chet Haase [Thu, 7 May 2015 14:43:22 +0000 (07:43 -0700)]
Disable ActionBar animations pending more involved fix

Recycling of ActionBar items can cause problems with the current
ActionBar animations, as the system animates views that represent both
pre- and post-layout changes, sometimes causing opposit animations to
run on the same view, resulting in unpredictable effect slike views
remaining invisible.

This 'fix' is a workaround to disable item animations pending a more
complete and robust fix that involves a more involved system of view
recycling that would avoid recycling views that are currently being used
in animations.

Issue #20538912 Menu missing in Downloads app

Change-Id: I7b1d3baf94378e4788f868801a452c6583353842

9 years agoMerge "Fix: A part of grapheme cluster can be selected." into mnc-dev
Keisuke Kuroyanagi [Thu, 7 May 2015 21:37:47 +0000 (21:37 +0000)]
Merge "Fix: A part of grapheme cluster can be selected." into mnc-dev

9 years agoMerge "Add IntentFilter auto verification - part 8" into mnc-dev
Fabrice Di Meglio [Thu, 7 May 2015 21:29:14 +0000 (21:29 +0000)]
Merge "Add IntentFilter auto verification - part 8" into mnc-dev

9 years agoMerge "MidiManager: Improve output of "dumpsys midi"" into mnc-dev
Mike Lockwood [Thu, 7 May 2015 21:23:25 +0000 (21:23 +0000)]
Merge "MidiManager: Improve output of "dumpsys midi"" into mnc-dev

9 years agoMerge "Improve keying for theme caches, rebase system theme on config change" into...
Alan Viverette [Thu, 7 May 2015 21:19:57 +0000 (21:19 +0000)]
Merge "Improve keying for theme caches, rebase system theme on config change" into mnc-dev

9 years agoMerge "Revert "Text selection - Don't select vertical white space"" into mnc-dev
Mady Mellor [Thu, 7 May 2015 21:13:42 +0000 (21:13 +0000)]
Merge "Revert "Text selection - Don't select vertical white space"" into mnc-dev

9 years agoMerge "Replace Material text cursor with XML shape" into mnc-dev
Alan Viverette [Thu, 7 May 2015 21:06:31 +0000 (21:06 +0000)]
Merge "Replace Material text cursor with XML shape" into mnc-dev

9 years agoConsider punctuation treatment when selecting text.
Mady Mellor [Wed, 15 Apr 2015 21:23:26 +0000 (14:23 -0700)]
Consider punctuation treatment when selecting text.

This treats punctuation as "words", so groups of punctuation will be
selected together, i.e. "Hmm... yay!!!" would be treated as four words:
Hmm-...-yay-!!!

Bug: 19950062
Change-Id: Ic9514c524092734fad1abdf19a736bfa1406157b

9 years agoRevert "Text selection - Don't select vertical white space"
Mady Mellor [Thu, 7 May 2015 18:26:37 +0000 (11:26 -0700)]
Revert "Text selection - Don't select vertical white space"

This reverts commit b9bbbb1d97adb8ffdda2af14921401aabcec8cdd.

Bug: 20653654
Change-Id: Id96409ac17783bd1e7055913f14de8741d0f9caf

9 years agoReplace Material text cursor with XML shape
Alan Viverette [Thu, 7 May 2015 21:02:28 +0000 (14:02 -0700)]
Replace Material text cursor with XML shape

Bug: 20754494
Change-Id: Ide1c9d7f37863a1ee88b69b5e7f478c124bb7eae

9 years agoFix build
John Reck [Thu, 7 May 2015 20:50:55 +0000 (13:50 -0700)]
Fix build

Change-Id: I233f943041ce46b0d69e0e2f5e0dcda9aa9b7d4b

9 years agoBluetoothMidiDevice: Cleanup and error handling improvements
Mike Lockwood [Thu, 7 May 2015 20:39:01 +0000 (13:39 -0700)]
BluetoothMidiDevice: Cleanup and error handling improvements

Change-Id: I8b932f73e0230adfe576d1fc6735bd7b41e84010

9 years agoMerge "Fix clang warnings on unused variable, mismatched tag, print format." into...
Chih-Hung Hsieh [Thu, 7 May 2015 20:29:20 +0000 (20:29 +0000)]
Merge "Fix clang warnings on unused variable, mismatched tag, print format." into mnc-dev

9 years agoMerge "Remove SkBitmap from ResourceCache" into mnc-dev
John Reck [Thu, 7 May 2015 20:28:56 +0000 (20:28 +0000)]
Merge "Remove SkBitmap from ResourceCache" into mnc-dev

9 years agoMerge "camera2: allow mixing regular/reprocess requests" into mnc-dev
Chien-Yu Chen [Thu, 7 May 2015 20:24:48 +0000 (20:24 +0000)]
Merge "camera2: allow mixing regular/reprocess requests" into mnc-dev

9 years agoMerge "Properly cancel animators when View doesn't exist in starting state." into...
George Mount [Thu, 7 May 2015 20:22:59 +0000 (20:22 +0000)]
Merge "Properly cancel animators when View doesn't exist in starting state." into mnc-dev

9 years agoMerge "Fix broke NDK sensor manager API" into mnc-dev
Svet Ganov [Thu, 7 May 2015 20:19:26 +0000 (20:19 +0000)]
Merge "Fix broke NDK sensor manager API" into mnc-dev

9 years agoRemove SkBitmap from ResourceCache
John Reck [Thu, 7 May 2015 20:14:15 +0000 (13:14 -0700)]
Remove SkBitmap from ResourceCache

Bug: 18928352

Fully-proper refcounting via SkBitmap/SkPixelRef, no more
side-channel refcounting via ResourceCache. Makes HWUI
more resilient to the bitmap being modified as well as
the SkBitmap's info & rowBytes() is updated every time
a DisplayList is recorded instead of relying on buggy
cache eviction logic

Change-Id: I2e8292d62ab6c257a2cfa1542387bf2bf1ade816

9 years agoMerge "Only resize list popup if it's still attached to a window" into mnc-dev
Alan Viverette [Thu, 7 May 2015 20:07:47 +0000 (20:07 +0000)]
Merge "Only resize list popup if it's still attached to a window" into mnc-dev

9 years agoMidiManager: Improve output of "dumpsys midi"
Mike Lockwood [Thu, 7 May 2015 20:02:01 +0000 (13:02 -0700)]
MidiManager: Improve output of "dumpsys midi"

- Include each device's port status from MidiDeviceStatus
- MidiDeviceInfo.toString() now outputs all the names and values in the properties Bundle

Change-Id: Ic9329153e4ae4d5619e274d27a420943473377e5

9 years agoOnly resize list popup if it's still attached to a window
Alan Viverette [Thu, 7 May 2015 20:00:25 +0000 (13:00 -0700)]
Only resize list popup if it's still attached to a window

We can't rely on ListPopupWindow.dismiss() to get called before the popup
is removed, for example when the activity hosting the popup is finished,
but we can easily ensure that the popup is still attached to a window.

Bug: 20831507
Change-Id: I9dcaa46e68df3f2b301cf299fa64d460c7e177fd

9 years agoProperly cancel animators when View doesn't exist in starting state.
George Mount [Thu, 7 May 2015 17:18:43 +0000 (10:18 -0700)]
Properly cancel animators when View doesn't exist in starting state.

Bug 19290065

When a transition was interrupted, if a View was not in the start
state, but in the end state, then any animator on that View was
not canceled. This detects that situation and allows canceling
the animator on that View.

Change-Id: Ib1d0579bb6b211782c40c6327be59b0c59682731