OSDN Git Service

android-x86/frameworks-base.git
8 years agoMake home stack move like another stack.
Wale Ogunwale [Wed, 23 Sep 2015 22:40:07 +0000 (15:40 -0700)]
Make home stack move like another stack.

Previously the home stack was either positioned at the top or bottom
of the stack list. This type of movement was okay when there was mainly
2 stacks (home and app), but doesn't work in all cases where we have
multiple stacks.
For example:
1. Launch any activity in the freeform stack
2. Press the home button
3. Launch a translucent or dialog activity
In this case you would except the home stack to be seen behind the
translucent activity since that is the stack the user is coming from,
but you see the freeform stack instead since the home stack was moved
to the bottom of all stacks when the translucent activity was launched.
We no longer move the home stack to the bottom when a new
activity/task/stack comes to the front.

Bug: 23626353
Change-Id: Ic506acc8528e63b8e7f999dd88a450bee6fb4552

8 years agoMerge "Remove unused local variable."
Chih-hung Hsieh [Wed, 23 Sep 2015 00:05:16 +0000 (00:05 +0000)]
Merge "Remove unused local variable."

8 years agoRemove unused local variable.
Chih-Hung Hsieh [Tue, 22 Sep 2015 23:32:39 +0000 (16:32 -0700)]
Remove unused local variable.

Found by clang/llvm for bullhead device.

Change-Id: I9225bd47f2b246bcc2cadf88da5974624831d9b8

8 years agoMerge "Fixed issue with stack size when rotating screen."
Wale Ogunwale [Tue, 22 Sep 2015 23:29:03 +0000 (23:29 +0000)]
Merge "Fixed issue with stack size when rotating screen."

8 years agoFixed issue with stack size when rotating screen.
Wale Ogunwale [Tue, 22 Sep 2015 02:01:47 +0000 (19:01 -0700)]
Fixed issue with stack size when rotating screen.

Stack bounds needs to be adjusted when the screen is rotated
so it occupies the same bounds on screen.

Change-Id: Id00031f2e1275f2d095f6e6b2e76b5b5d5c13864

8 years agoMerge "Properly size tasks based on stack size."
Wale Ogunwale [Tue, 22 Sep 2015 23:24:04 +0000 (23:24 +0000)]
Merge "Properly size tasks based on stack size."

8 years agoProperly size tasks based on stack size.
Wale Ogunwale [Tue, 22 Sep 2015 01:37:15 +0000 (18:37 -0700)]
Properly size tasks based on stack size.

There were a few places we weren’t doing this correctly

* When a new task is created the bounds should be the stack bounds
if the task is resizeable and not in freeform mode.
* When resizing a stack each task in the stack should be resized
base on if it is resizable vs. using the top running activity in
the stack to determine if all the tasks should be resized.

Change-Id: If3448c5629313e7e7fb91ffe8506014f16ad72db

8 years agoMerge "Update RecentsCreateView to use RecyclerView."
Steve McKay [Tue, 22 Sep 2015 23:13:11 +0000 (23:13 +0000)]
Merge "Update RecentsCreateView to use RecyclerView."

8 years agoUpdate RecentsCreateView to use RecyclerView.
Steve McKay [Tue, 22 Sep 2015 22:09:21 +0000 (15:09 -0700)]
Update RecentsCreateView to use RecyclerView.

Move common DirectoryContainerView handling to BaseActivity.

Change-Id: I2c34b23b7050b68999f16e6d7f651c94ea8e47b6

8 years agoRemoving RecentsCallbacks.
Winson [Tue, 22 Sep 2015 21:22:58 +0000 (14:22 -0700)]
Removing RecentsCallbacks.

- We can just refer to the PhoneStatusBar directly
  for callbacks similar to the screen pinning request.

8 years agoMerge "Allow SystemUI components to be started for non-system users."
Winson Chung [Tue, 22 Sep 2015 22:56:05 +0000 (22:56 +0000)]
Merge "Allow SystemUI components to be started for non-system users."

8 years agoam 08dcdb1a: am d70a7737: am 6e7cbb7c: Merge "Add logs for the ungaze gesture." into...
Mojtaba Seyedhosseini [Tue, 22 Sep 2015 22:16:14 +0000 (22:16 +0000)]
am 08dcdb1a: am d70a7737: am 6e7cbb7c: Merge "Add logs for the ungaze gesture." into cw-e-dev

* commit '08dcdb1a5beac29643dca2a03c2e308760de636d':
  Add logs for the ungaze gesture.

8 years agoMerge "MidiService: update listener with current status when registered"
Phil Burk [Tue, 22 Sep 2015 22:15:14 +0000 (22:15 +0000)]
Merge "MidiService: update listener with current status when registered"

8 years agoMerge "BluetoothMidiDevice: change write type to support JamStik"
Phil Burk [Tue, 22 Sep 2015 22:11:53 +0000 (22:11 +0000)]
Merge "BluetoothMidiDevice: change write type to support JamStik"

8 years agoam d70a7737: am 6e7cbb7c: Merge "Add logs for the ungaze gesture." into cw-e-dev
Mojtaba Seyedhosseini [Tue, 22 Sep 2015 22:08:13 +0000 (22:08 +0000)]
am d70a7737: am 6e7cbb7c: Merge "Add logs for the ungaze gesture." into cw-e-dev

* commit 'd70a773793bf9fce06ba8888908601b94090236d':
  Add logs for the ungaze gesture.

8 years agoam 6e7cbb7c: Merge "Add logs for the ungaze gesture." into cw-e-dev
Mojtaba Seyedhosseini [Tue, 22 Sep 2015 21:51:07 +0000 (21:51 +0000)]
am 6e7cbb7c: Merge "Add logs for the ungaze gesture." into cw-e-dev

* commit '6e7cbb7c73b501eac6704ab407ec60f4d839bb6b':
  Add logs for the ungaze gesture.

8 years agoMerge "Add logs for the ungaze gesture." into cw-e-dev
Mojtaba Seyedhosseini [Tue, 22 Sep 2015 21:41:48 +0000 (21:41 +0000)]
Merge "Add logs for the ungaze gesture." into cw-e-dev

8 years agoam 64c71b72: am 0d78b164: am 2c08546a: am d2b597d1: Merge "Enforce a timeout for...
Baligh Uddin [Tue, 22 Sep 2015 21:25:24 +0000 (21:25 +0000)]
am 64c71b72: am 0d78b164: am 2c08546a: am d2b597d1: Merge "Enforce a timeout for Content Providers to be published." into mnc-dr-dev

* commit '64c71b72ad0e56d64e72af4147231b7fe8f796ee':
  Enforce a timeout for Content Providers to be published.

8 years agoAdd logs for the ungaze gesture.
Mojtaba [Fri, 18 Sep 2015 23:35:24 +0000 (16:35 -0700)]
Add logs for the ungaze gesture.

-We add logs to track how much screen time we save with the ungaze feature.

Change-Id: I02bce959ce7ed5bc6c848e51256063c946ff3e87

8 years agoMerge "Make DPM/DPMS unit-testable"
Makoto Onuki [Tue, 22 Sep 2015 21:17:23 +0000 (21:17 +0000)]
Merge "Make DPM/DPMS unit-testable"

8 years agoAllow SystemUI components to be started for non-system users.
Winson [Tue, 22 Sep 2015 21:04:46 +0000 (14:04 -0700)]
Allow SystemUI components to be started for non-system users.

- Certain SystemUI components require initialization per-user, so this
  CL allows us to selectively start those components when SystemUI is
  restarted for each user, and also lets us remove some extra workaround
  code in Recents to handle this case.

8 years agoam 0d78b164: am 2c08546a: am d2b597d1: Merge "Enforce a timeout for Content Providers...
Baligh Uddin [Tue, 22 Sep 2015 21:11:30 +0000 (21:11 +0000)]
am 0d78b164: am 2c08546a: am d2b597d1: Merge "Enforce a timeout for Content Providers to be published." into mnc-dr-dev

* commit '0d78b1644a7ca20ccec1201bc748d01be6a7ebd1':
  Enforce a timeout for Content Providers to be published.

8 years agoam 2c08546a: am d2b597d1: Merge "Enforce a timeout for Content Providers to be publis...
Baligh Uddin [Tue, 22 Sep 2015 21:02:25 +0000 (21:02 +0000)]
am 2c08546a: am d2b597d1: Merge "Enforce a timeout for Content Providers to be published." into mnc-dr-dev

* commit '2c08546afb01c938e3778a155488b15e326703f1':
  Enforce a timeout for Content Providers to be published.

8 years agoam 112c1dc6: am 6a8d1fd6: am dbca76cd: am 1b57758a: Merge "Fix Array Index Out of...
Adam Lesinski [Tue, 22 Sep 2015 20:57:50 +0000 (20:57 +0000)]
am 112c1dc6: am 6a8d1fd6: am dbca76cd: am 1b57758a: Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev

* commit '112c1dc63adbc36b1bd50dac24d1ea39959ef0f2':
  Fix Array Index Out of Bounds in BatteryStatsImpl

8 years agoam d2b597d1: Merge "Enforce a timeout for Content Providers to be published." into...
Baligh Uddin [Tue, 22 Sep 2015 20:56:05 +0000 (20:56 +0000)]
am d2b597d1: Merge "Enforce a timeout for Content Providers to be published." into mnc-dr-dev

* commit 'd2b597d1fdc99c512f1addfc817eea8d375a84ec':
  Enforce a timeout for Content Providers to be published.

8 years agoMerge "resolved conflicts for 5d7b68d4 to master"
Andreas Gampe [Tue, 22 Sep 2015 20:55:14 +0000 (20:55 +0000)]
Merge "resolved conflicts for 5d7b68d4 to master"

8 years agoMerge "Enforce a timeout for Content Providers to be published." into mnc-dr-dev
Baligh Uddin [Tue, 22 Sep 2015 20:50:02 +0000 (20:50 +0000)]
Merge "Enforce a timeout for Content Providers to be published." into mnc-dr-dev

8 years agoresolved conflicts for 5d7b68d4 to master
Andreas Gampe [Tue, 22 Sep 2015 20:41:39 +0000 (13:41 -0700)]
resolved conflicts for 5d7b68d4 to master

Change-Id: I6f56e8e11c35733f8d84346ca2b9a201784552e1

8 years agoMerge "Remove shader based gamma approach"
Chris Craik [Tue, 22 Sep 2015 20:41:38 +0000 (20:41 +0000)]
Merge "Remove shader based gamma approach"

8 years agoMerge "Restore more missing DirectoryFragment functionality."
Ben Kwa [Tue, 22 Sep 2015 20:28:02 +0000 (20:28 +0000)]
Merge "Restore more missing DirectoryFragment functionality."

8 years agoRestore more missing DirectoryFragment functionality.
Ben Kwa [Mon, 21 Sep 2015 17:49:52 +0000 (10:49 -0700)]
Restore more missing DirectoryFragment functionality.

- Add a material-style horizontal progress bar to DocumentsUI.  This
  replaces the old loading footer.
- Restore the view-switching code that displayed a dedicated "empty"
  view when displaying an empty directory.
- Fix tests.

Change-Id: Ifecb867f6edecbdeb37b8607d87d9797879a589d

8 years agoMerge "Allow color state list for vector drawable fill and stroke"
Alan Viverette [Tue, 22 Sep 2015 20:21:35 +0000 (20:21 +0000)]
Merge "Allow color state list for vector drawable fill and stroke"

8 years agoam 36152328: am 0e766de7: Avoid calling scrollBy(0,0) on render
Diego Perez [Tue, 22 Sep 2015 20:05:30 +0000 (20:05 +0000)]
am 36152328: am 0e766de7: Avoid calling scrollBy(0,0) on render

* commit '361523281c88a7e453e0eef961ed7f16a55785a5':
  Avoid calling scrollBy(0,0) on render

8 years agoam 776fa57b: am aa311698: am 0361b18e: Merge "WrapperInit: remove dead execStandalone...
Elliott Hughes [Tue, 22 Sep 2015 20:04:29 +0000 (20:04 +0000)]
am 776fa57b: am aa311698: am 0361b18e: Merge "WrapperInit: remove dead execStandalone method"

* commit '776fa57b2da75fb508d66cf0339dc7c4df9a5e55':
  WrapperInit: remove dead execStandalone method

8 years agoam d65fc9c4: (-s ours) am d8b47855: save "retain loader" state DO NOT MERGE
Todd Kennedy [Tue, 22 Sep 2015 20:03:43 +0000 (20:03 +0000)]
am d65fc9c4: (-s ours) am d8b47855: save "retain loader" state DO NOT MERGE

* commit 'd65fc9c4601f3fc5617ff0f72fcdb56581f0f223':
  save "retain loader" state DO NOT MERGE

8 years agoMake DPM/DPMS unit-testable
Makoto Onuki [Thu, 17 Sep 2015 17:28:24 +0000 (10:28 -0700)]
Make DPM/DPMS unit-testable

- Now all services that DPMS uses are injectable.
- Introduce some wrappers to make static methods and final class mockable.
(e.g. for Binder.getCallingUid())

- In unit tests we replace those with Mockito mocks, except we use a partial
mock for PackageManager, because we use way too many methods of this and
most of them are okay to use directly.

- To install a partial mock to PackageManager, I needed to make
ApplicationPackageManager @hide public non-final.

- For a starter, added tests for DPM.setAmin().

Bug 24061108

Change-Id: I2afd51d8bc0038992d5f9be38c686260be775b75

8 years agoMidiService: update listener with current status when registered
Phil Burk [Thu, 6 Aug 2015 06:32:54 +0000 (23:32 -0700)]
MidiService: update listener with current status when registered

This will give an app an opportunity to learn whether an input port is busy
before the user tries to connect and then fails.

Bug: 22825043
Change-Id: Ifede60f166dfe66ea15453044fce06f4a8452b18
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoBluetoothMidiDevice: change write type to support JamStik
Phil Burk [Tue, 22 Sep 2015 19:07:31 +0000 (12:07 -0700)]
BluetoothMidiDevice: change write type to support JamStik

Temporarily use a Request instead of a Command so that the JamStik
will be properly enabled.

Bug: 24207964
Change-Id: I3d11732958c46e6039405b5969d5af0db8032fb9
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoAllow color state list for vector drawable fill and stroke
Alan Viverette [Tue, 22 Sep 2015 19:03:50 +0000 (15:03 -0400)]
Allow color state list for vector drawable fill and stroke

Removes unnecessary invalidateSelf() from VD.onStateChange(). This is
handled by the view hosting the drawable.

Bug: 22984152
Change-Id: Idf11a0ffef392cb1d8452aa3f5f836b35027a756

8 years agoam 6a8d1fd6: am dbca76cd: am 1b57758a: Merge "Fix Array Index Out of Bounds in Batter...
Adam Lesinski [Tue, 22 Sep 2015 18:58:50 +0000 (18:58 +0000)]
am 6a8d1fd6: am dbca76cd: am 1b57758a: Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev

* commit '6a8d1fd62f73a241e7962b3baa3720a6dcd0767b':
  Fix Array Index Out of Bounds in BatteryStatsImpl

8 years agoRemove shader based gamma approach
Chris Craik [Tue, 22 Sep 2015 18:50:13 +0000 (11:50 -0700)]
Remove shader based gamma approach

Also fixes some INIT_LOGD logs

Change-Id: I212a71a1e7b366aea41f7c3c8cc169d509d6e4a2

8 years agoam 53ed452e: am 9ce68b24: am b49245f9: Merge "Frameworks/base: Propagate boot status...
Andreas Gampe [Tue, 22 Sep 2015 18:54:19 +0000 (18:54 +0000)]
am 53ed452e: am 9ce68b24: am b49245f9: Merge "Frameworks/base: Propagate boot status to installd" into mnc-dr-dev

* commit '53ed452e86aa186b5903b65057b4473629292f0d':
  Frameworks/base: Propagate boot status to installd

8 years agoam dbca76cd: am 1b57758a: Merge "Fix Array Index Out of Bounds in BatteryStatsImpl...
Adam Lesinski [Tue, 22 Sep 2015 18:50:56 +0000 (18:50 +0000)]
am dbca76cd: am 1b57758a: Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev

* commit 'dbca76cda1a2a6fa95c592654f8649cb30b65833':
  Fix Array Index Out of Bounds in BatteryStatsImpl

8 years agoam 9ce68b24: am b49245f9: Merge "Frameworks/base: Propagate boot status to installd...
Andreas Gampe [Tue, 22 Sep 2015 18:44:47 +0000 (18:44 +0000)]
am 9ce68b24: am b49245f9: Merge "Frameworks/base: Propagate boot status to installd" into mnc-dr-dev

* commit '9ce68b24440a7bc326cad2d09940ccf750eb2b2a':
  Frameworks/base: Propagate boot status to installd

8 years agoam 1b57758a: Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev
Adam Lesinski [Tue, 22 Sep 2015 18:42:33 +0000 (18:42 +0000)]
am 1b57758a: Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev

* commit '1b57758a1bb814c3a00ec864fe164bfe7861a9ab':
  Fix Array Index Out of Bounds in BatteryStatsImpl

8 years agoam b49245f9: Merge "Frameworks/base: Propagate boot status to installd" into mnc...
Andreas Gampe [Tue, 22 Sep 2015 18:36:43 +0000 (18:36 +0000)]
am b49245f9: Merge "Frameworks/base: Propagate boot status to installd" into mnc-dr-dev

* commit 'b49245f96233b7f89fb5d4ba52576131ca6fb47a':
  Frameworks/base: Propagate boot status to installd

8 years agoMerge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev
Adam Lesinski [Tue, 22 Sep 2015 18:33:14 +0000 (18:33 +0000)]
Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-dev

8 years agoMerge "Frameworks/base: Propagate boot status to installd" into mnc-dr-dev
Andreas Gampe [Tue, 22 Sep 2015 18:27:39 +0000 (18:27 +0000)]
Merge "Frameworks/base: Propagate boot status to installd" into mnc-dr-dev

8 years agoam 0e766de7: Avoid calling scrollBy(0,0) on render
Diego Perez [Tue, 22 Sep 2015 16:56:35 +0000 (16:56 +0000)]
am 0e766de7: Avoid calling scrollBy(0,0) on render

* commit '0e766de7c52d7e375e04676c93a872cb2d6eea63':
  Avoid calling scrollBy(0,0) on render

8 years agoAvoid calling scrollBy(0,0) on render
Diego Perez [Tue, 22 Sep 2015 10:08:35 +0000 (11:08 +0100)]
Avoid calling scrollBy(0,0) on render

Usually scrollBy(0, 0) won't have any effect but when called on the
NumberPicker but, in some cases, it seems to cause an endless loop.
When called from layoutlib, this will hold the read lock causing all
operations trying to acquire the write lock to block forever.

Bug: http://b.android.com/182506
Change-Id: Ib25427d3f32d804d1c481d979795eee71fbdbc6d

8 years agoam aa311698: am 0361b18e: Merge "WrapperInit: remove dead execStandalone method"
Elliott Hughes [Tue, 22 Sep 2015 15:50:09 +0000 (15:50 +0000)]
am aa311698: am 0361b18e: Merge "WrapperInit: remove dead execStandalone method"

* commit 'aa31169804dffa3b36654ccffe67a53f6ff4cdaf':
  WrapperInit: remove dead execStandalone method

8 years agoam 0361b18e: Merge "WrapperInit: remove dead execStandalone method"
Elliott Hughes [Tue, 22 Sep 2015 15:42:36 +0000 (15:42 +0000)]
am 0361b18e: Merge "WrapperInit: remove dead execStandalone method"

* commit '0361b18ea10aa7987dbf8c4217d5f4c7e3a4a610':
  WrapperInit: remove dead execStandalone method

8 years agoMerge "WrapperInit: remove dead execStandalone method"
Elliott Hughes [Tue, 22 Sep 2015 15:34:26 +0000 (15:34 +0000)]
Merge "WrapperInit: remove dead execStandalone method"

8 years agoMerge "SubMenuBuilder.getRootMenu() should return root menu, not parent"
Alan Viverette [Tue, 22 Sep 2015 13:48:04 +0000 (13:48 +0000)]
Merge "SubMenuBuilder.getRootMenu() should return root menu, not parent"

8 years agoam d8b47855: save "retain loader" state DO NOT MERGE
Todd Kennedy [Tue, 22 Sep 2015 07:27:18 +0000 (07:27 +0000)]
am d8b47855: save "retain loader" state DO NOT MERGE

* commit 'd8b47855a316700751f7daead0b180005853be33':
  save "retain loader" state DO NOT MERGE

8 years agosave "retain loader" state DO NOT MERGE
Todd Kennedy [Thu, 10 Sep 2015 20:58:01 +0000 (13:58 -0700)]
save "retain loader" state DO NOT MERGE

We cannot pull the "retain loader" state from the Activity; an Activity may
not always be hosting a Fragment. Instead, save the "retain loader" state
inside the individual fragments.

Bug: 23838271
Change-Id: I8358183a7689b5a571ea7be03d769186b2812600
(cherry picked from commit c5ac16f531504d5bde7c87f8e3088652daeb543f)

8 years agoChange resizeTask's parameter resizedByUser to constants
Chong Zhang [Mon, 21 Sep 2015 22:39:51 +0000 (15:39 -0700)]
Change resizeTask's parameter resizedByUser to constants

to indicate who initiated the resize, or if the resize should be forced.

Change-Id: Ic7021f76bec677027cbf27deeb63f92ea911a75c

8 years agoFix Array Index Out of Bounds in BatteryStatsImpl
Adam Lesinski [Mon, 21 Sep 2015 23:54:52 +0000 (16:54 -0700)]
Fix Array Index Out of Bounds in BatteryStatsImpl

If the power profile was not set yet, the default sizes of
cpu freq arrays could have been too small.

Bug:24244089
Change-Id: Ic17a1e8f2058c51fbdda14db35b7b62f4880be00

8 years agoMerge "Split PhoneWindowManager.beginLayoutLw."
Filip Gruszczynski [Mon, 21 Sep 2015 23:52:04 +0000 (23:52 +0000)]
Merge "Split PhoneWindowManager.beginLayoutLw."

8 years agoMerge "Remove legacy enable/disable methods from Blend"
Chris Craik [Mon, 21 Sep 2015 23:21:04 +0000 (23:21 +0000)]
Merge "Remove legacy enable/disable methods from Blend"

8 years agoMerge "Remove unnecessary glop color storage"
Chris Craik [Mon, 21 Sep 2015 23:19:42 +0000 (23:19 +0000)]
Merge "Remove unnecessary glop color storage"

8 years agoRemove unnecessary glop color storage
Chris Craik [Mon, 21 Sep 2015 23:16:22 +0000 (16:16 -0700)]
Remove unnecessary glop color storage

Change-Id: I68817449d2e0d593dccb7e9be8c8ca45b7ab2fc2

8 years agoRemove legacy enable/disable methods from Blend
Chris Craik [Mon, 21 Sep 2015 22:59:55 +0000 (15:59 -0700)]
Remove legacy enable/disable methods from Blend

Change-Id: I147f96d1fbdd34b9d056620e7259a9f96b13fea7

8 years agoMerge "Misc fixes for window moving and resizing"
Chong Zhang [Mon, 21 Sep 2015 22:59:02 +0000 (22:59 +0000)]
Merge "Misc fixes for window moving and resizing"

8 years agoMisc fixes for window moving and resizing
Chong Zhang [Sat, 19 Sep 2015 01:46:28 +0000 (18:46 -0700)]
Misc fixes for window moving and resizing

- Do not skip resizeTask if we're starting or ending drag. We need
  the relayout because surface mode is changing.

- When we're changing the surface mode, need to wait for the first
  draw to finish before we can modify shown frame. Otherwise there
  could be 1 old frame displayed with new position, which makes the
  window position look a bit off.

- Clean up dragResizing/dragResizeChanged flags.

Change-Id: Ia396d6b88fd616ad57aa8cd24ca7e1161add7205

8 years agoFrameworks/base: Propagate boot status to installd
Andreas Gampe [Mon, 21 Sep 2015 20:20:07 +0000 (13:20 -0700)]
Frameworks/base: Propagate boot status to installd

Propagate the boot status explicitly to installd so that we do not
have to rely on dev.bootcomplete, which isn't meaningfully set
when the device needs the decryption screen on boot.

Bug: 23898216
Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7

8 years agoWrapperInit: remove dead execStandalone method
Daniel Micay [Mon, 21 Sep 2015 22:14:56 +0000 (18:14 -0400)]
WrapperInit: remove dead execStandalone method

This became dead with the removal of support for the non-runtime-init
code path in f48029f00a66e23d7872a00b56fbcf88528ba476.

Change-Id: Id68e0da4658e83f0d3bfd8645152165faacac5fa

8 years agoMerge "Read autoclick delay from settings"
Toni Barzic [Mon, 21 Sep 2015 22:13:26 +0000 (22:13 +0000)]
Merge "Read autoclick delay from settings"

8 years agoam 01ce0783: (-s ours) am 5695a7f6: am ef44f99d: am 88f92ec5: am fed28546: am 3e344f3...
Zach Jang [Mon, 21 Sep 2015 22:09:47 +0000 (22:09 +0000)]
am 01ce0783: (-s ours) am 5695a7f6: am ef44f99d: am 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Setting

* commit '01ce078379715047b767c11a8181599c85a58c74':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 5d05906d: (-s ours) am 3a273f45: am 4a9ccd15: am c53f18b7: am 937141cb: am 0cae838...
Zach Jang [Mon, 21 Sep 2015 22:09:39 +0000 (22:09 +0000)]
am 5d05906d: (-s ours) am 3a273f45: am 4a9ccd15: am c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '5d05906d56ef9f118a7b6f6979ed4b7b9c31a575':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoMerge "Do not do setSurface on window size changes"
Chong Zhang [Mon, 21 Sep 2015 22:09:10 +0000 (22:09 +0000)]
Merge "Do not do setSurface on window size changes"

8 years agoMerge "MultiThreaded rendering of different renderNodes"
Stefan Kuhne [Mon, 21 Sep 2015 22:08:30 +0000 (22:08 +0000)]
Merge "MultiThreaded rendering of different renderNodes"

8 years agoam 5695a7f6: am ef44f99d: am 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596...
Zach Jang [Mon, 21 Sep 2015 22:02:36 +0000 (22:02 +0000)]
am 5695a7f6: am ef44f99d: am 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '5695a7f6402aef65f5f4a90a2a833446168ea999':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 3a273f45: am 4a9ccd15: am c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b517324...
Zach Jang [Mon, 21 Sep 2015 22:02:29 +0000 (22:02 +0000)]
am 3a273f45: am 4a9ccd15: am c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '3a273f457cd045dcd8ea30f75d0704607499d60f':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam ef44f99d: am 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda08...
Zach Jang [Mon, 21 Sep 2015 21:52:55 +0000 (21:52 +0000)]
am ef44f99d: am 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'ef44f99d90e81de4dff92d7cdbdb58e6b38fcbd4':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 4a9ccd15: am c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195...
Zach Jang [Mon, 21 Sep 2015 21:52:49 +0000 (21:52 +0000)]
am 4a9ccd15: am c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '4a9ccd15bd42cfb600d180ae6b7a5ddbebaffc59':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam e1964182: am 9314f94b: am b7b17fa6: am 281a868c: am e1a6299b: Relax locking when...
Jeff Sharkey [Mon, 21 Sep 2015 21:47:35 +0000 (21:47 +0000)]
am e1964182: am 9314f94b: am b7b17fa6: am 281a868c: am e1a6299b: Relax locking when scanning private volumes.

* commit 'e1964182de52d00950219810798ea4e7900fb57b':
  Relax locking when scanning private volumes.

8 years agoam 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cec...
Zach Jang [Mon, 21 Sep 2015 21:45:09 +0000 (21:45 +0000)]
am 88f92ec5: am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '88f92ec5a76c94dcb084ffcc8a4fc36a66bb9ca2':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b...
Zach Jang [Mon, 21 Sep 2015 21:45:05 +0000 (21:45 +0000)]
am c53f18b7: am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'c53f18b7b3cea030983e23fbf0d49dfcda77b249':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 9314f94b: am b7b17fa6: am 281a868c: am e1a6299b: Relax locking when scanning priva...
Jeff Sharkey [Mon, 21 Sep 2015 21:39:01 +0000 (21:39 +0000)]
am 9314f94b: am b7b17fa6: am 281a868c: am e1a6299b: Relax locking when scanning private volumes.

* commit '9314f94b687deb21acd7f05810d3edf1a4e8fcbc':
  Relax locking when scanning private volumes.

8 years agoam fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf99...
Zach Jang [Mon, 21 Sep 2015 21:37:34 +0000 (21:37 +0000)]
am fed28546: am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'fed2854653d7e9d596cf1d9cb9c41ff05e744e94':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e4...
Zach Jang [Mon, 21 Sep 2015 21:37:30 +0000 (21:37 +0000)]
am 937141cb: am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '937141cb75160a1a51b9568481225aec286c5a86':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2...
Zach Jang [Mon, 21 Sep 2015 21:30:32 +0000 (21:30 +0000)]
am 3e344f3f: (-s ours) am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '3e344f3fcb66f3e94a3b5436d5901dec0b94cbb3':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT...
Zach Jang [Mon, 21 Sep 2015 21:30:27 +0000 (21:30 +0000)]
am 0cae8381: (-s ours) am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '0cae8381666248e44875756e72998e55ed3f9151':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09...
Zach Jang [Mon, 21 Sep 2015 21:07:04 +0000 (21:07 +0000)]
am ba80596b: am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'ba80596bc0d51b3ddf14c1612c341992bc3ac5fc':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag...
Zach Jang [Mon, 21 Sep 2015 21:06:58 +0000 (21:06 +0000)]
am b5173241: am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'b5173241d160a5b6f4d440a01c9a9b0281ee4e66':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam b7b17fa6: am 281a868c: am e1a6299b: Relax locking when scanning private volumes.
Jeff Sharkey [Mon, 21 Sep 2015 20:48:56 +0000 (20:48 +0000)]
am b7b17fa6: am 281a868c: am e1a6299b: Relax locking when scanning private volumes.

* commit 'b7b17fa6a14a6916f12568f02360a1ec1792f256':
  Relax locking when scanning private volumes.

8 years agoDo not do setSurface on window size changes
Chong Zhang [Mon, 21 Sep 2015 20:25:58 +0000 (13:25 -0700)]
Do not do setSurface on window size changes

Surface should only be invalidated when surface generation changed
(which we're already doing). Window size change doesn't always imply
a surface change. During a drag-resizing action, the window size is
constantly changing but the surface remains the same. setSurface
could take 12ms+ each frame and cause frame drops.

bug: 23793966

Change-Id: Iac0456122e8916cf06b1a7a0940584ab4bf4065d

8 years agoMerge "Unify extensions parsing behavior"
Chris Craik [Mon, 21 Sep 2015 20:43:23 +0000 (20:43 +0000)]
Merge "Unify extensions parsing behavior"

8 years agoam 281a868c: am e1a6299b: Relax locking when scanning private volumes.
Jeff Sharkey [Mon, 21 Sep 2015 20:40:08 +0000 (20:40 +0000)]
am 281a868c: am e1a6299b: Relax locking when scanning private volumes.

* commit '281a868c69e0915efc16eb3c65f669bbf0df69df':
  Relax locking when scanning private volumes.

8 years agoam e1a6299b: Relax locking when scanning private volumes.
Jeff Sharkey [Mon, 21 Sep 2015 20:29:58 +0000 (20:29 +0000)]
am e1a6299b: Relax locking when scanning private volumes.

* commit 'e1a6299b994bbdb304550e00d5b3b26a064bdf0c':
  Relax locking when scanning private volumes.

8 years agoMerge "save "retain loader" state"
Todd Kennedy [Mon, 21 Sep 2015 20:18:58 +0000 (20:18 +0000)]
Merge "save "retain loader" state"

8 years agoUnify extensions parsing behavior
Chris Craik [Mon, 14 Sep 2015 22:54:12 +0000 (15:54 -0700)]
Unify extensions parsing behavior

Removes remnants of EGL extension support, and persistence of
GL extension list.

Change-Id: I35aec12d900bdb33549ea47654bb8146f350ef48

8 years agoam f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f35...
Zach Jang [Mon, 21 Sep 2015 19:10:51 +0000 (19:10 +0000)]
am f8cda089: am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'f8cda08986a5caa14daace69e24c82224ac5a9fc':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp...
Zach Jang [Mon, 21 Sep 2015 19:10:46 +0000 (19:10 +0000)]
am e54c195a: am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'e54c195a53694696e0913722fa721c882e33753e':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT...
Zach Jang [Mon, 21 Sep 2015 18:58:27 +0000 (18:58 +0000)]
am b2b3cecb: am 7b5bf993: am fe4cbf2b: (-s ours) am cff4e09e: am bdf7f358: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit 'b2b3cecbd3de80d40f8c207c6aa94532c3426829':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoam 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security...
Zach Jang [Mon, 21 Sep 2015 18:58:18 +0000 (18:58 +0000)]
am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

* commit '0a8197b1e43bc3771fc3f8595619603ec8f6f641':
  DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings

8 years agoEnforce a timeout for Content Providers to be published.
Robert Carr [Thu, 17 Sep 2015 17:54:58 +0000 (10:54 -0700)]
Enforce a timeout for Content Providers to be published.

ActivityManagerService: In the case where we are launching
an application on behalf of a Content Provider request,
enforce a timeout inbetween the application attaching and
the content providers being published. Consider that a defective
content provider may block in ContentProvider::onCreate
indefinitely: in such a case the PROC_START_TIMEOUT has already
been removed as the activity manager must have called bindApplication.

In these cases, there will be nothing to wake threads blocking
on the (non timed) wait for provider to be published at the end of
ActivityManagerService::getContentProviderImpl. This can cause binder
threads to block 1 by 1 until eventually AMS runs out and becomes
unresponsive.

Bug: 22141958
Change-Id: I2226da5df5c79b37f0b896423b3c1eaa4a7ecbba
(cherry picked from commit da33c13434cb20a11b522374411a5b819503e4e0)

8 years agoMerge "Save Fragment's hidden state"
Todd Kennedy [Mon, 21 Sep 2015 18:01:26 +0000 (18:01 +0000)]
Merge "Save Fragment's hidden state"

8 years agoRead autoclick delay from settings
Toni Barzic [Thu, 10 Sep 2015 23:40:04 +0000 (16:40 -0700)]
Read autoclick delay from settings

Instead of hardcoding autoclick delay, use
Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY value.
Adds logic for observing the setting's changes and updating the delay
that should be used when scheduling automatical click.

BUG=23113412

Change-Id: Iffe3df0cb64ab28f13d2803d01d581280aedf422