OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into...
Dianne Hackborn [Fri, 26 Feb 2016 18:44:53 +0000 (18:44 +0000)]
Merge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev

8 years agoMerge "Delete confirmation and notification improvements." into nyc-dev
Steve McKay [Fri, 26 Feb 2016 18:34:19 +0000 (18:34 +0000)]
Merge "Delete confirmation and notification improvements." into nyc-dev

8 years agoMerge "When system server goes down, crash apps." into nyc-dev
Jeff Sharkey [Fri, 26 Feb 2016 18:14:51 +0000 (18:14 +0000)]
Merge "When system server goes down, crash apps." into nyc-dev

8 years agoMerge "Create linker-namespace for the classloader" into nyc-dev
Dimitry Ivanov [Fri, 26 Feb 2016 18:03:54 +0000 (18:03 +0000)]
Merge "Create linker-namespace for the classloader" into nyc-dev

8 years agoMerge "Don't use Settings for storing the backup enable state" into nyc-dev
Chris Tate [Fri, 26 Feb 2016 18:03:38 +0000 (18:03 +0000)]
Merge "Don't use Settings for storing the backup enable state" into nyc-dev

8 years agoMerge "Open bugreport info when touching notification (as well as DETAILS button...
Felipe Leme [Fri, 26 Feb 2016 17:49:53 +0000 (17:49 +0000)]
Merge "Open bugreport info when touching notification (as well as DETAILS button)." into nyc-dev

8 years agoMerge "Frameworks/base: Refactor android.os.Debug" into nyc-dev
Andreas Gampe [Fri, 26 Feb 2016 17:39:19 +0000 (17:39 +0000)]
Merge "Frameworks/base: Refactor android.os.Debug" into nyc-dev

8 years agoMerge "JNI plumbing for native audio routing API" into nyc-dev
Paul Mclean [Fri, 26 Feb 2016 17:32:27 +0000 (17:32 +0000)]
Merge "JNI plumbing for native audio routing API" into nyc-dev

8 years agoMerge "Remove READ_WRITE_CONTACT_METADATA, which is no longer used" into nyc-dev
Makoto Onuki [Fri, 26 Feb 2016 17:21:04 +0000 (17:21 +0000)]
Merge "Remove READ_WRITE_CONTACT_METADATA, which is no longer used" into nyc-dev

8 years agoJNI plumbing for native audio routing API
Paul McLean [Tue, 26 Jan 2016 21:43:35 +0000 (14:43 -0700)]
JNI plumbing for native audio routing API

Bug: 23899814
Change-Id: I3a831bb661fbdfe1981ae3482fcc8773c7df22b6

8 years agoMerge "Introduce IMPORTANCE_MIN." into nyc-dev
Julia Reynolds [Fri, 26 Feb 2016 16:10:59 +0000 (16:10 +0000)]
Merge "Introduce IMPORTANCE_MIN." into nyc-dev

8 years agoAdd unavailable state to the flashlight icon
Jason Monk [Thu, 25 Feb 2016 21:46:55 +0000 (16:46 -0500)]
Add unavailable state to the flashlight icon

Bug: 26851684
Change-Id: I08c438aaef3e5f0731fbd1b5fef79c87c75d3022

8 years agoMerge "Add scroll indicators to QS editing" into nyc-dev
Jason Monk [Fri, 26 Feb 2016 16:03:33 +0000 (16:03 +0000)]
Merge "Add scroll indicators to QS editing" into nyc-dev

8 years agoMerge "Fix drag to add tiles showing too many times" into nyc-dev
Jason Monk [Fri, 26 Feb 2016 16:02:44 +0000 (16:02 +0000)]
Merge "Fix drag to add tiles showing too many times" into nyc-dev

8 years agoMerge "Expose bssids for AccessPoints" into nyc-dev
Jason Monk [Fri, 26 Feb 2016 16:01:45 +0000 (16:01 +0000)]
Merge "Expose bssids for AccessPoints" into nyc-dev

8 years agoIntroduce IMPORTANCE_MIN.
Julia Reynolds [Thu, 25 Feb 2016 14:34:04 +0000 (09:34 -0500)]
Introduce IMPORTANCE_MIN.

Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699

8 years agoMerge "Remove inline settings slider." into nyc-dev
Julia Reynolds [Fri, 26 Feb 2016 14:41:30 +0000 (14:41 +0000)]
Merge "Remove inline settings slider." into nyc-dev

8 years agoFix ASAN builds after app_process change.
Nicolas Geoffray [Fri, 26 Feb 2016 13:16:50 +0000 (13:16 +0000)]
Fix ASAN builds after app_process change.

Bug:27245894

Change-Id: Ie2fc1edcbd874e8ad3b932f8e24ef38c9817b2cd

8 years agozygote to preload public native libraries
Dimitry Ivanov [Mon, 22 Feb 2016 19:22:11 +0000 (11:22 -0800)]
zygote to preload public native libraries

Preload public native libraries when starting a zygote
This lets other users of libnativeloader (like dex2oat)
avoid unnecessary cold loads of libandroid.so which could
take up to a second.

Bug: http://b/27245894
Change-Id: I1499a7485c186b185fce8a1f8d05afcd579d59cc

8 years agoMerge "MediaSession: Update javadoc of prepare-related methods" into nyc-dev
Donghyun Cho [Fri, 26 Feb 2016 08:23:40 +0000 (08:23 +0000)]
Merge "MediaSession: Update javadoc of prepare-related methods" into nyc-dev

8 years agoMerge "Stops performing operations that does not supported by MTP device." into nyc-dev
Daichi Hirono [Fri, 26 Feb 2016 07:21:22 +0000 (07:21 +0000)]
Merge "Stops performing operations that does not supported by MTP device." into nyc-dev

8 years agoStops performing operations that does not supported by MTP device.
Daichi Hirono [Sun, 21 Feb 2016 06:50:30 +0000 (15:50 +0900)]
Stops performing operations that does not supported by MTP device.

MTP devices can return supported operation list. The CL sets root flag
by referring it.

BUG=26147375

Change-Id: I02397821e208cf5a8fcf7457aa279d2818ce24c7

8 years agoMerge "PIP: Restore PIP size when PIP menu is gone" into nyc-dev
Jaewan Kim [Fri, 26 Feb 2016 06:13:26 +0000 (06:13 +0000)]
Merge "PIP: Restore PIP size when PIP menu is gone" into nyc-dev

8 years agoPIP: Restore PIP size when PIP menu is gone
Jaewan Kim [Fri, 26 Feb 2016 04:04:12 +0000 (20:04 -0800)]
PIP: Restore PIP size when PIP menu is gone

Change-Id: Ifb1bf992b875dc2cf10a3e9e05ca0b1fe6bd535b

8 years agoMerge "PowerManager: Hide the SUSTAINED_PERFORMANCE API." into nyc-dev
Ruchi Kandoi [Fri, 26 Feb 2016 02:26:55 +0000 (02:26 +0000)]
Merge "PowerManager: Hide the SUSTAINED_PERFORMANCE API." into nyc-dev

8 years agoFrameworks/base: Refactor android.os.Debug
Andreas Gampe [Fri, 26 Feb 2016 02:03:03 +0000 (18:03 -0800)]
Frameworks/base: Refactor android.os.Debug

Refactor some static fields into a holder. This allows to statically
initialize the class in the boot image. It also has some minimal
positive impact on the class size, a net benefit when tracing is
not used.

Bug: 27248115
Change-Id: I0cdfb6acf916ad8d9a7d82bba32929dba15d4200

8 years agoDon't use Settings for storing the backup enable state
Christopher Tate [Wed, 24 Feb 2016 01:41:26 +0000 (17:41 -0800)]
Don't use Settings for storing the backup enable state

Bug 19678828

Change-Id: Ieb572bcb2e8fe4d03f654dd52596c8dc4fdd72a9

8 years agoMerge "Fix typo in SwappedOut reporting" into nyc-dev
Thierry Strudel [Fri, 26 Feb 2016 01:47:35 +0000 (01:47 +0000)]
Merge "Fix typo in SwappedOut reporting" into nyc-dev

8 years agoFix typo in SwappedOut reporting
Thierry Strudel [Fri, 26 Feb 2016 01:46:38 +0000 (17:46 -0800)]
Fix typo in SwappedOut reporting

Change-Id: I55b3725eba054d3d6d2b38041cf375fc7b141c69

8 years agoMerge "Fix '<' / '>' in JobService docs" into nyc-dev
Chris Tate [Fri, 26 Feb 2016 01:38:33 +0000 (01:38 +0000)]
Merge "Fix '<' / '>' in JobService docs" into nyc-dev

8 years agoRemove READ_WRITE_CONTACT_METADATA, which is no longer used
Makoto Onuki [Fri, 26 Feb 2016 00:15:30 +0000 (16:15 -0800)]
Remove READ_WRITE_CONTACT_METADATA, which is no longer used

Bug 27365657

Change-Id: Iaf1b62991bbb0ccce9488e4e50bc49a12663a2d0

8 years agoMerge "Fix permission check in hasEnrolledFingerprints()" into nyc-dev
Jim Miller [Fri, 26 Feb 2016 01:12:47 +0000 (01:12 +0000)]
Merge "Fix permission check in hasEnrolledFingerprints()" into nyc-dev

8 years agoMerge "Tidy up stale lock wallpaper state in set-both operation" into nyc-dev
Chris Tate [Fri, 26 Feb 2016 01:11:34 +0000 (01:11 +0000)]
Merge "Tidy up stale lock wallpaper state in set-both operation" into nyc-dev

8 years agoFix permission check in hasEnrolledFingerprints()
Jim Miller [Fri, 26 Feb 2016 00:42:28 +0000 (16:42 -0800)]
Fix permission check in hasEnrolledFingerprints()

Fixes bug 27350799

Change-Id: Icd00985b5ad9a8159733e9180c79f646b275b60d

8 years agoOpen bugreport info when touching notification (as well as DETAILS button).
Felipe Leme [Fri, 26 Feb 2016 01:06:58 +0000 (17:06 -0800)]
Open bugreport info when touching notification (as well as DETAILS button).

Also added test case for CANCEL button on system notification.

BUG: 26906985
Change-Id: I92eac2e5ec18a8d1d4412f5c1832a52705caf3b3

8 years agoMerge "Properly reject empty unclipped savelayers" into nyc-dev
Chris Craik [Fri, 26 Feb 2016 01:06:48 +0000 (01:06 +0000)]
Merge "Properly reject empty unclipped savelayers" into nyc-dev

8 years agoProperly reject empty unclipped savelayers
Chris Craik [Fri, 26 Feb 2016 00:54:08 +0000 (16:54 -0800)]
Properly reject empty unclipped savelayers

bug:27225580
bug:27281241

Empty unclipped savelayers (clipped at defer time, often by dirty rect)
were resulting in invalid layer clear rectangles. Simplify by just
rejecting these unclipped savelayers entirely at defer.

Also, use repaint rect as base clip for constructed ops within
LayerBuilder.

Change-Id: I5c466199e85201a2f68f5cdc60b29187c849961b

8 years agoTidy up stale lock wallpaper state in set-both operation
Christopher Tate [Thu, 25 Feb 2016 22:39:17 +0000 (14:39 -0800)]
Tidy up stale lock wallpaper state in set-both operation

Also fix bug that was failing to remember the lock-only wallpaper, and
along the way make the disk write a single large block operation instead
of a number of small writes.

Bug 27353079

Change-Id: Ib1351e509af95905dced41e69c6e13dcce839511

8 years agoWhen system server goes down, crash apps.
Jeff Sharkey [Fri, 26 Feb 2016 00:40:12 +0000 (17:40 -0700)]
When system server goes down, crash apps.

Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.

The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.

Bug: 27364859
Change-Id: If632cc36f68cd399a34de513b2d979abaa36fcaa

8 years agoMerge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev
Felipe Leme [Fri, 26 Feb 2016 00:32:27 +0000 (00:32 +0000)]
Merge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev

8 years agoMerge "Force cancel pending RemotePrintDocument commands when the PrintActivity exits...
Philip P. Moltmann [Fri, 26 Feb 2016 00:28:51 +0000 (00:28 +0000)]
Merge "Force cancel pending RemotePrintDocument commands when the PrintActivity exits" into nyc-dev

8 years agoFix '<' / '>' in JobService docs
Christopher Tate [Fri, 26 Feb 2016 00:18:32 +0000 (16:18 -0800)]
Fix '<' / '>' in JobService docs

Bug 27291714

Change-Id: I7e6ec24442bdd071d34faa980d201f4c747cadff

8 years agoUsing Message.obtain() to decrease number of Messages allocated.
Felipe Leme [Fri, 26 Feb 2016 00:22:38 +0000 (16:22 -0800)]
Using Message.obtain() to decrease number of Messages allocated.

BUG: 26906985
Change-Id: Ide8c6e308dcc83e9627ec775a4d977d17cd2f0a9

8 years agoIMS: Reason Codes For Call Pull Scenarios
Omkar Kolangade [Fri, 26 Feb 2016 00:23:16 +0000 (00:23 +0000)]
IMS: Reason Codes For Call Pull Scenarios
am: f38780b483

* commit 'f38780b483de489635749f523258003506c8bbbc':
  IMS: Reason Codes For Call Pull Scenarios

8 years agoPowerManager: Hide the SUSTAINED_PERFORMANCE API.
Ruchi Kandoi [Fri, 26 Feb 2016 00:22:54 +0000 (16:22 -0800)]
PowerManager: Hide the SUSTAINED_PERFORMANCE API.

Bug: 27365880
Change-Id: Ia84a5af85f6e8ef0740ce4b41dbc5bab4cbeef05

8 years agoMerge "Modify WakeupMessage to only send the message if not canceled" into mm-wireles...
Mitchell Wills [Fri, 26 Feb 2016 00:20:00 +0000 (00:20 +0000)]
Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev
am: 9505e0ac3f

* commit '9505e0ac3f6bef7ad850f3b6fc9ec576b65b1e55':
  Modify WakeupMessage to only send the message if not canceled

8 years agoMerge "Allow sample rate UNSPECIFIED to mean a route-dependent value" into nyc-dev
Glenn Kasten [Fri, 26 Feb 2016 00:17:44 +0000 (00:17 +0000)]
Merge "Allow sample rate UNSPECIFIED to mean a route-dependent value" into nyc-dev

8 years agoMerge "Accept non-EA jobs while user is locked." into nyc-dev
Jeff Sharkey [Fri, 26 Feb 2016 00:15:45 +0000 (00:15 +0000)]
Merge "Accept non-EA jobs while user is locked." into nyc-dev

8 years agoMerge "configfs is special; don't delete dir contents." into nyc-dev
Jeff Sharkey [Fri, 26 Feb 2016 00:12:44 +0000 (00:12 +0000)]
Merge "configfs is special; don't delete dir contents." into nyc-dev

8 years agoAccept non-EA jobs while user is locked.
Jeff Sharkey [Fri, 26 Feb 2016 00:10:50 +0000 (17:10 -0700)]
Accept non-EA jobs while user is locked.

We'll keep them around in the pending queue until the user is
unlocked, at which point we'll consider running them.

Bug: 27358148
Change-Id: I2eb538a89206d4caac620b3b4e989b011b309201

8 years agoconfigfs is special; don't delete dir contents.
Jeff Sharkey [Fri, 26 Feb 2016 00:08:11 +0000 (17:08 -0700)]
configfs is special; don't delete dir contents.

Bug: 27342722
Change-Id: I63e8316a6a6260869b4fdd94fde59b5ec3d7b30a

8 years agoMerge "Removed clock type from GnssClock" into nyc-dev
Lifu Tang [Thu, 25 Feb 2016 23:59:43 +0000 (23:59 +0000)]
Merge "Removed clock type from GnssClock" into nyc-dev

8 years agoIMS: Reason Codes For Call Pull Scenarios
Omkar Kolangade [Wed, 24 Feb 2016 19:53:06 +0000 (11:53 -0800)]
IMS: Reason Codes For Call Pull Scenarios

Adding reason codes for call pull success
and failure scenarios.

BUG=27340495
Change-Id: I775316f52ed13862981500ebe035ee626adc934f

8 years agoDelete confirmation and notification improvements.
Steve McKay [Tue, 23 Feb 2016 18:06:50 +0000 (10:06 -0800)]
Delete confirmation and notification improvements.

Bug: 273445272734764727136182
Change-Id: Ia33f05b449a0bc30704e116287e18094e30382e0

8 years agoRemoved clock type from GnssClock
Lifu Tang [Thu, 25 Feb 2016 01:17:38 +0000 (17:17 -0800)]
Removed clock type from GnssClock

Bug: 27341583
Change-Id: I5ffd891737c3ddf83d9c6a78aa36c94858591199

8 years agoMerge "Make system locale persistent." into nyc-dev
Roozbeh Pournader [Thu, 25 Feb 2016 23:42:34 +0000 (23:42 +0000)]
Merge "Make system locale persistent." into nyc-dev

8 years agoMerge "Modify WakeupMessage to only send the message if not canceled" into mm-wireles...
Mitchell Wills [Thu, 25 Feb 2016 23:36:29 +0000 (23:36 +0000)]
Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev

8 years agoMerge "Disable HWUI_NEW_OPS" into nyc-dev
John Reck [Thu, 25 Feb 2016 23:28:36 +0000 (23:28 +0000)]
Merge "Disable HWUI_NEW_OPS" into nyc-dev

8 years agoMerge "Accessibility to toggle multiwindow mode" into nyc-dev
Phil Weaver [Thu, 25 Feb 2016 23:16:51 +0000 (23:16 +0000)]
Merge "Accessibility to toggle multiwindow mode" into nyc-dev

8 years agoMerge "Revert "AAPT: Allow duplicate attribute definitions if identical"" into nyc-dev
Adam Lesinski [Thu, 25 Feb 2016 23:13:23 +0000 (23:13 +0000)]
Merge "Revert "AAPT: Allow duplicate attribute definitions if identical"" into nyc-dev

8 years agoAccessibility to toggle multiwindow mode
Phil Weaver [Fri, 19 Feb 2016 23:12:29 +0000 (15:12 -0800)]
Accessibility to toggle multiwindow mode

Encapsulating the logic to toggle multiwindow mode from recents,
and plumbing it through to accessibility global actions. Sending
accessibility events when windows bounds change. Exposing the
dock divider window type to accessibility services.

Bug: 27250995
Change-Id: Ib7491f1f853dc7f01bf5c5a4ac1f914f55d0608a

8 years agoRevert "AAPT: Allow duplicate attribute definitions if identical"
Adam Lesinski [Thu, 25 Feb 2016 23:13:08 +0000 (23:13 +0000)]
Revert "AAPT: Allow duplicate attribute definitions if identical"

This reverts commit c25283b5e206ceae2aa6eb01877b79c3c1f0adfb.

Change-Id: I2f42a4360fa53c4333494afe0178dcec56d62d8e

8 years agoMerge "PIP: Apply the latest UI spec for onboarding activity" into nyc-dev
Jaewan Kim [Thu, 25 Feb 2016 23:11:49 +0000 (23:11 +0000)]
Merge "PIP: Apply the latest UI spec for onboarding activity" into nyc-dev

8 years agoPIP: Apply the latest UI spec for onboarding activity
Jaewan Kim [Tue, 23 Feb 2016 14:16:57 +0000 (06:16 -0800)]
PIP: Apply the latest UI spec for onboarding activity

Bug: 27273286
Change-Id: I57b3050e1f07ffbcee66e30404578937f65c3189

8 years agoDisable HWUI_NEW_OPS
John Reck [Thu, 25 Feb 2016 23:02:02 +0000 (15:02 -0800)]
Disable HWUI_NEW_OPS

Bug: 27365711

Change-Id: Ife7ecc7c688738df4028f30847a2ff914e433b99

8 years agoCreate linker-namespace for the classloader
Dimitry Ivanov [Tue, 23 Feb 2016 22:25:50 +0000 (14:25 -0800)]
Create linker-namespace for the classloader

With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.

With this change we ensure that every classloader
has initialized namespace associated with it.

As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882

8 years agoMerge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into...
Joshua Schwarz [Thu, 25 Feb 2016 22:51:54 +0000 (22:51 +0000)]
Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev am: dcd0b05dc3
am: e73af21807

* commit 'e73af21807706c12245d4a2c081b06a1a66ea88d':
  Add Google Now intent so that it is discoverable to AppLaunch metrics.

8 years agoMerge "UiBench adapted for TV" into nyc-dev
Hyungtae Kim [Thu, 25 Feb 2016 22:49:24 +0000 (22:49 +0000)]
Merge "UiBench adapted for TV" into nyc-dev

8 years agoMerge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into...
Joshua Schwarz [Thu, 25 Feb 2016 22:48:02 +0000 (22:48 +0000)]
Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev
am: dcd0b05dc3

* commit 'dcd0b05dc35fb058f89a16d370bb7965b339c1c5':
  Add Google Now intent so that it is discoverable to AppLaunch metrics.

8 years agoMerge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into...
Joshua Schwarz [Thu, 25 Feb 2016 22:45:20 +0000 (22:45 +0000)]
Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev

8 years agoMerge "Removed toast messsage sent after screenshot is taken." into nyc-dev
Felipe Leme [Thu, 25 Feb 2016 22:20:29 +0000 (22:20 +0000)]
Merge "Removed toast messsage sent after screenshot is taken." into nyc-dev

8 years agoMerge changes I4d542a09,Icd792ed4,I020dcbac into nyc-dev
Winson Chung [Thu, 25 Feb 2016 22:19:30 +0000 (22:19 +0000)]
Merge changes I4d542a09,Icd792ed4,I020dcbac into nyc-dev

* changes:
  Removing boot completed check before hiding Recents.
  Track double taps to launch the previous task.
  Dev preview changes for incompatible apps.

8 years agoRemoving boot completed check before hiding Recents.
Winson [Thu, 25 Feb 2016 20:10:42 +0000 (12:10 -0800)]
Removing boot completed check before hiding Recents.

- This was legacy from old code that was calling sendBroadcast(), and
  with the event bus, we no longer need to wait until boot is completed
  before launching home.

Bug: 26616934
Change-Id: I4d542a096174ac8b69035836e9311cbf8340b15b

8 years agoMerge "Revert "Fix exit transition and dismiss callback for popup exit transition...
Alan Viverette [Thu, 25 Feb 2016 22:17:10 +0000 (22:17 +0000)]
Merge "Revert "Fix exit transition and dismiss callback for popup exit transition"" into nyc-dev

8 years agoTrack double taps to launch the previous task.
Winson [Thu, 25 Feb 2016 18:18:33 +0000 (10:18 -0800)]
Track double taps to launch the previous task.

Change-Id: Icd792ed4f508f8a8540a5cd2d12c3bdfd5827410

8 years agoDev preview changes for incompatible apps.
Winson [Thu, 25 Feb 2016 03:38:41 +0000 (19:38 -0800)]
Dev preview changes for incompatible apps.

- Disable drop targets when picking up a task that can’t be docked, and
  show toast notifying user (for now)
- When a task is docked, update the task headers for non-dockable tasks
  to indicate that they don’t support multi window.  Update these
  headers every time the multi window state changes.

Bug: 26774190
Change-Id: I020dcbac9b1230dba166eecaa12366986e684f9e

8 years agoRevert "Fix exit transition and dismiss callback for popup exit transition"
Alan Viverette [Thu, 25 Feb 2016 21:57:08 +0000 (16:57 -0500)]
Revert "Fix exit transition and dismiss callback for popup exit transition"

This reverts most of commit 21d361806c9e2dce5bae5b30f44be5ad87f32c22, which
broke too many expectations in both apps and framework widgets. We need to
find a safer way to handle the exit transition callback.

Bug: 27359366
Bug: 27353218
Change-Id: I769ac7a25cb900c50e857839ca0563fbc5a3cb16

8 years agoMerge "PIP: Apply the latest UI spec for PIP menu" into nyc-dev
Jaewan Kim [Thu, 25 Feb 2016 21:50:46 +0000 (21:50 +0000)]
Merge "PIP: Apply the latest UI spec for PIP menu" into nyc-dev

8 years agoMake sure QS tile layouts don't have overlapping rendering
Jason Monk [Thu, 25 Feb 2016 21:24:21 +0000 (16:24 -0500)]
Make sure QS tile layouts don't have overlapping rendering

Bug: 27361901
Change-Id: I177bbf8c0d13b0e9595d9b95c87eb01df1bc7d05

8 years agoMerge "Revert "[Fix extra data in cache]"" into nyc-dev
Simranjit Kohli [Thu, 25 Feb 2016 21:28:31 +0000 (21:28 +0000)]
Merge "Revert "[Fix extra data in cache]"" into nyc-dev

8 years agoRevert "[Fix extra data in cache]"
Simranjit Kohli [Thu, 25 Feb 2016 21:15:02 +0000 (21:15 +0000)]
Revert "[Fix extra data in cache]"

This reverts commit a666d74d4bc7e1298314c516d1309571fb87c212.

Bug: 27314050
Change-Id: I1562c51751f983a49a11e1d37d936974e17388ef

8 years agoMerge "Fix QS Issues" into nyc-dev
Jason Monk [Thu, 25 Feb 2016 21:10:50 +0000 (21:10 +0000)]
Merge "Fix QS Issues" into nyc-dev

8 years agoRemoved toast messsage sent after screenshot is taken.
Felipe Leme [Thu, 25 Feb 2016 21:10:14 +0000 (13:10 -0800)]
Removed toast messsage sent after screenshot is taken.

That toast was kind of reduntant (since the phone already vibrates
before taking a screenshot) and often useless (because it was displayed
seconds after requested).

BUG: 26577203
Change-Id: I0ba6f974eefd473d158f7fefb12f6a5d2a50b772

8 years agoMerge "Return true when keystrokes are handled in BaseKeyListener." into nyc-dev
Ben Kwa [Thu, 25 Feb 2016 21:10:05 +0000 (21:10 +0000)]
Merge "Return true when keystrokes are handled in BaseKeyListener." into nyc-dev

8 years agoWork on issue #26390161: Throttle syncs/jobs when system is low on RAM
Dianne Hackborn [Thu, 25 Feb 2016 00:56:42 +0000 (16:56 -0800)]
Work on issue #26390161: Throttle syncs/jobs when system is low on RAM

We now have a fixed array of job service contexts, which doesn't
vary by build configuration.  Instead, we keep track of the maximum
number of concurrent jobs we want to allow to run, and don't
make use of a context if it would put us over that limit.

The available contexts is now 8 (the largest used to be 6), although
the maximum we will normally schedule is still 6.  We have the other
two around only for use by the current foreground app, to allow it
to schedule work while the user is in it, even if we have reached
our normal limit on the number of concurrent jobs.

The maximum number of concurrent jobs varies based on the memory
state of the device, from 6 (if memory is normal) down to 1
(if memory is critical).  We aren't yet trying to stop all jobs
if memory gets lower than critical.

Instead of just keeping track of whether a uid is in the foreground,
we now track whether it is the top as well.  Only the top uid
can schedule additional jobs above the current limit.

Also improved some of the dumpsys output.

Change-Id: Icc95e42231a806f0bfa3e2f99ccc2b85cefac320

8 years agoMerge "AAPT: Allow duplicate attribute definitions if identical" into nyc-dev
Adam Lesinski [Thu, 25 Feb 2016 21:00:21 +0000 (21:00 +0000)]
Merge "AAPT: Allow duplicate attribute definitions if identical" into nyc-dev

8 years agoAdd scroll indicators to QS editing
Jason Monk [Thu, 25 Feb 2016 20:55:53 +0000 (15:55 -0500)]
Add scroll indicators to QS editing

Bug: 27220234
Bug: 27251104
Change-Id: I678af59401a98fb272c1d29b9c5e3c925d9ec7a5

8 years agoMerge "Allowing to expand the children from the lockscreen now" into nyc-dev
Selim Cinek [Thu, 25 Feb 2016 20:51:19 +0000 (20:51 +0000)]
Merge "Allowing to expand the children from the lockscreen now" into nyc-dev

8 years agoAllowing to expand the children from the lockscreen now
Selim Cinek [Thu, 25 Feb 2016 20:49:08 +0000 (12:49 -0800)]
Allowing to expand the children from the lockscreen now

Bug: 24866646
Change-Id: Ibb4dc98e8148b912253153065c9c35e22a06f334

8 years agoMerge "Guard against monkey crash" into nyc-dev
Jason Monk [Thu, 25 Feb 2016 20:47:11 +0000 (20:47 +0000)]
Merge "Guard against monkey crash" into nyc-dev

8 years agoFix drag to add tiles showing too many times
Jason Monk [Thu, 25 Feb 2016 20:43:07 +0000 (15:43 -0500)]
Fix drag to add tiles showing too many times

It was appearing from the night tile being unavailable and causing
extra nulls in the list.  Fix the night mode tile so the nulls don't
happen.  Also fix the null handling to avoid this happening with other
bad specs.

Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02

8 years agoMerge "Fixed a bug with the scrolling after expanding a notification" into nyc-dev
Selim Cinek [Thu, 25 Feb 2016 20:40:12 +0000 (20:40 +0000)]
Merge "Fixed a bug with the scrolling after expanding a notification" into nyc-dev

8 years agoRemove inline settings slider.
Julia Reynolds [Tue, 23 Feb 2016 18:43:32 +0000 (13:43 -0500)]
Remove inline settings slider.

Bug: 22451710
Change-Id: Ia4f85569f878531102d91564d0728a94783cc79d

8 years agoForce cancel pending RemotePrintDocument commands when the PrintActivity exits
Philip P. Moltmann [Thu, 25 Feb 2016 19:20:41 +0000 (11:20 -0800)]
Force cancel pending RemotePrintDocument commands when the PrintActivity exits

Otherwise the print-client app can prevent the print activity from exiting as
we wait for the command to finish. As this is a violation of the
remote-print-document contract we deal with this similar to a command failure.
As the PrintActivity is exiting we don't further send any commands to the
print-client.

Bug: 27207751
Change-Id: Ieacb16786112f217ca5b8031bfb597598e28dc3d

8 years agoFixed a bug with the scrolling after expanding a notification
Selim Cinek [Thu, 25 Feb 2016 20:35:51 +0000 (12:35 -0800)]
Fixed a bug with the scrolling after expanding a notification

Bug: 24866646
Change-Id: I1ca8bfaa42e79dd7f3c5ebfbf94ff2a44718ec7e

8 years agoMerge "Only debuggable packages can be downgraded." into nyc-dev
Alex Klyubin [Thu, 25 Feb 2016 20:26:52 +0000 (20:26 +0000)]
Merge "Only debuggable packages can be downgraded." into nyc-dev

8 years agoMerge "Fix duplicate eventlogtags warnings" into nyc-dev
Adrian Roos [Thu, 25 Feb 2016 20:18:02 +0000 (20:18 +0000)]
Merge "Fix duplicate eventlogtags warnings" into nyc-dev

8 years agoReset UI fields when dialog is reused, otherwise it might contain fields
Felipe Leme [Thu, 25 Feb 2016 20:10:43 +0000 (12:10 -0800)]
Reset UI fields when dialog is reused, otherwise it might contain fields
from a previous bug report.

BUG: 26524513
Change-Id: If9d176806b28120b57dddeb62b636065f8ff7cf6

8 years agoMerge "Final (?) fixes on id / pid split." into nyc-dev
Felipe Leme [Thu, 25 Feb 2016 19:57:40 +0000 (19:57 +0000)]
Merge "Final (?) fixes on id / pid split." into nyc-dev

8 years agoMerge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wirel...
Pavel Zhamaitsiak [Thu, 25 Feb 2016 19:46:20 +0000 (19:46 +0000)]
Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev
am: d76b7ee263

* commit 'd76b7ee2636a9bc92d8e1e5fb5cb649e5bd67be9':
  Add registrationAssociatedUriChanged to ImsRegistrationListener