OSDN Git Service

android-x86/frameworks-base.git
8 years agoRevert "Announce access point changes."
Julia Reynolds [Tue, 14 Jun 2016 17:28:47 +0000 (17:28 +0000)]
Revert "Announce access point changes."

Fixes: 29151018

This reverts commit 7ed62eb7a214126d3dbfd6abd7d6a7db73cc9f3c.

Change-Id: If40669b21cc2a2db7e2bb27c7c981d889cb094ed

8 years agoAnnounce access point changes.
Julia Reynolds [Tue, 3 May 2016 18:40:44 +0000 (14:40 -0400)]
Announce access point changes.

Bug: 24202851
Change-Id: I0de0d9bf89191750694a7ba2fac4a95babe62aeb

8 years agoDon't unbundle updated notifications.
Julia Reynolds [Mon, 2 May 2016 18:31:09 +0000 (14:31 -0400)]
Don't unbundle updated notifications.

Bug: 28520827
Change-Id: I76593df3869a86353a1583e64e98b4aef04a7d1f

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 08:12:08 +0000 (08:12 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9
am: 38d54f72e3

* commit '38d54f72e3795eb67eceacf5325b14a13492b25d':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I12d68857f2fed0bb62b040df4193fc00cc97f500

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 08:08:03 +0000 (08:08 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd
am: d92fe240b9

* commit 'd92fe240b9811bd1b20af0b744f1aa727c80b97c':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I7371da3bffa54b8904bd18d52b9803fb45afa31e

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 08:03:54 +0000 (08:03 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs
am: 73813c06cd

* commit '73813c06cd59a94fe53483b657fa58e954c97551':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I92bcad43201a90273af9428a1a0a97e7e66b03bb

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 07:53:52 +0000 (07:53 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs

8 years agoMerge "Add missing theme entries to Holo.Light" into nyc-dev
Seigo Nonaka [Mon, 2 May 2016 02:55:12 +0000 (02:55 +0000)]
Merge "Add missing theme entries to Holo.Light" into nyc-dev

8 years agoMerge "Address review comments on ag/962875." into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 09:19:50 +0000 (09:19 +0000)]
Merge "Address review comments on ag/962875." into nyc-dev

8 years agoMerge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 03:29:26 +0000 (03:29 +0000)]
Merge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev

8 years agoMerge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into...
TreeHugger Robot [Sat, 30 Apr 2016 03:26:37 +0000 (03:26 +0000)]
Merge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into nyc-dev

8 years agoMerge "BatteryStats: Keep track of coulomb counter" into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 02:21:36 +0000 (02:21 +0000)]
Merge "BatteryStats: Keep track of coulomb counter" into nyc-dev

8 years agoBatteryStats: Reset per-User Bluetooth and Modem controller activity
Adam Lesinski [Sat, 30 Apr 2016 00:56:58 +0000 (17:56 -0700)]
BatteryStats: Reset per-User Bluetooth and Modem controller activity

Bug:28469956
Change-Id: I4db68ecc5b7bde8dd552caadee489b7bad3d6cbc

8 years agoBatteryStats: Keep track of coulomb counter
Adam Lesinski [Fri, 29 Apr 2016 00:31:12 +0000 (17:31 -0700)]
BatteryStats: Keep track of coulomb counter

Bug:27174034
Change-Id: Ica66817faa20b9788536f28f0e593483f033904b

8 years agoMerge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 00:36:52 +0000 (00:36 +0000)]
Merge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev

8 years agoSet ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default
Wale Ogunwale [Fri, 29 Apr 2016 23:46:47 +0000 (16:46 -0700)]
Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default

Previous assumption was ActivityInfo was completely initialized in
PackageParser, but that isn't the case with the ResolverActivity
whose ActivityInfo in populated in PackageManagerService.
This was causing the device to exist multi-window mode since
the default ActivityInfo.resizeMode was 0 (RESIZE_MODE_UNRESIZEABLE).

Bug: 28378995
Change-Id: I46e58d434f2a0274c461a8ff00b59ed3d2a1dd52

8 years agoMerge "Insulate the account.db from updates." into nyc-dev
Carlos Valdivia [Fri, 29 Apr 2016 23:02:37 +0000 (23:02 +0000)]
Merge "Insulate the account.db from updates." into nyc-dev

8 years agoMerge "Flag to mark foreground jobs, fix data saver." into nyc-dev
Jeff Sharkey [Fri, 29 Apr 2016 22:53:20 +0000 (22:53 +0000)]
Merge "Flag to mark foreground jobs, fix data saver." into nyc-dev

8 years agoMerge "touch less, tap more." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 22:07:48 +0000 (22:07 +0000)]
Merge "touch less, tap more." into nyc-dev

8 years agoMerge "Only platform defined permissions need a review." into nyc-dev
Svetoslav Ganov [Fri, 29 Apr 2016 21:39:43 +0000 (21:39 +0000)]
Merge "Only platform defined permissions need a review." into nyc-dev

8 years agoMerge "Fix DirectReply taking too long in HUNs" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 21:32:48 +0000 (21:32 +0000)]
Merge "Fix DirectReply taking too long in HUNs" into nyc-dev

8 years agoMerge "DirectReply: Send button was wrongly actionable on empty field" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 21:31:29 +0000 (21:31 +0000)]
Merge "DirectReply: Send button was wrongly actionable on empty field" into nyc-dev

8 years agoMerge "Patch fontchain_lint to exclude modern_pentathlon." into nyc-dev
Raph Levien [Fri, 29 Apr 2016 21:25:19 +0000 (21:25 +0000)]
Merge "Patch fontchain_lint to exclude modern_pentathlon." into nyc-dev

8 years agoPatch fontchain_lint to exclude modern_pentathlon.
Doug Felt [Fri, 29 Apr 2016 20:20:05 +0000 (13:20 -0700)]
Patch fontchain_lint to exclude modern_pentathlon.

Fix build breakage.
Bug: 28426800

Change-Id: Idcc8f1b66014b25758c163d908d34f06011d9927

8 years agoMerge "Don't wedge full data backups by blocking the data consumer thread" into nyc-dev
Chris Tate [Fri, 29 Apr 2016 21:00:48 +0000 (21:00 +0000)]
Merge "Don't wedge full data backups by blocking the data consumer thread" into nyc-dev

8 years agoMerge "Fix ViewRoot inset adjustment after initial setup." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 20:37:32 +0000 (20:37 +0000)]
Merge "Fix ViewRoot inset adjustment after initial setup." into nyc-dev

8 years agotouch less, tap more.
Chris Wren [Fri, 29 Apr 2016 20:28:23 +0000 (16:28 -0400)]
touch less, tap more.

Bug: 26715804
Change-Id: Ifd8480e8c6f62036723510070d7222cd688c8b81

8 years agoMerge "Fix build break due to 32/64 bit compilation." into nyc-dev
Daniel Estrada Alva [Fri, 29 Apr 2016 20:29:32 +0000 (20:29 +0000)]
Merge "Fix build break due to 32/64 bit compilation." into nyc-dev

8 years agoMerge "Do not change surface properties when waiting for transition to ready" into...
Chong Zhang [Fri, 29 Apr 2016 20:11:54 +0000 (20:11 +0000)]
Merge "Do not change surface properties when waiting for transition to ready" into nyc-dev

8 years agoFix build break due to 32/64 bit compilation.
destradaa [Fri, 29 Apr 2016 20:11:33 +0000 (13:11 -0700)]
Fix build break due to 32/64 bit compilation.

Change-Id: I9aba08a5fd512c52c9d0c9d4853c72a3e81a22cd

8 years agoMerge "Adding null check on VolumeInfo" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 20:11:19 +0000 (20:11 +0000)]
Merge "Adding null check on VolumeInfo" into nyc-dev

8 years agoMerge "Add namespace before attr name in defPropMap" into nyc-dev
Deepanshu Gupta [Fri, 29 Apr 2016 20:06:00 +0000 (20:06 +0000)]
Merge "Add namespace before attr name in defPropMap" into nyc-dev

8 years agoMerge "Revert "Switch LayoutLib to Java 8"" into nyc-dev
Deepanshu Gupta [Fri, 29 Apr 2016 20:05:37 +0000 (20:05 +0000)]
Merge "Revert "Switch LayoutLib to Java 8"" into nyc-dev

8 years agoOnly platform defined permissions need a review.
Svet Ganov [Fri, 29 Apr 2016 19:50:10 +0000 (12:50 -0700)]
Only platform defined permissions need a review.

The only permissions a user can control for a legacy app in
runtime style without crashing the app are the ones defined
by the platform because we have app ops only for these and
also we contorl the access to data guarded by them.

bug:27102458

Change-Id: Ifd1350d056b4fe29739ab8fdc5cbea89fa2e4037

8 years agoFlag to mark foreground jobs, fix data saver.
Jeff Sharkey [Thu, 28 Apr 2016 21:33:18 +0000 (15:33 -0600)]
Flag to mark foreground jobs, fix data saver.

When a job will eventually run in the foreground, the internal
scheduling needs to ignore any background network restrictions when
satisfying constraints.  This also means the job should ignore the
current device doze state, since the requesting app could get the
same behavior by starting their own foreground service.

Always dispatch network policy changes to ConnectivityService first
to ensure that it has up-to-date information.  Fix bugs around data
saver that were causing networks to not be marked as BLOCKED for
background apps; before this fix apps would have been spinning in
internal connectivity loops, thinking that the network was actually
connected when the kernel was actually blocking their traffic.

Offer new ConnectivityService method overloads to ignore the blocked
state for a specific UID.

Print unsatisfied job constraints to aid debugging.

Bug: 26571724
Change-Id: Iaaa17933e6dc1bf6d3dff26d0bfc12222e51e241

8 years agoMerge "Fixes on handling messages from apps to host." into nyc-dev
Daniel Estrada Alva [Fri, 29 Apr 2016 19:24:16 +0000 (19:24 +0000)]
Merge "Fixes on handling messages from apps to host." into nyc-dev

8 years agoMerge "Fix crash loop when activity controller was set" into nyc-dev
Andrii Kulian [Fri, 29 Apr 2016 19:20:15 +0000 (19:20 +0000)]
Merge "Fix crash loop when activity controller was set" into nyc-dev

8 years agoMerge "Less clipping." into nyc-dev
Julia Reynolds [Fri, 29 Apr 2016 19:12:12 +0000 (19:12 +0000)]
Merge "Less clipping." into nyc-dev

8 years agoMerge "Fix QS Edit flashing on exit" into nyc-dev
Jason Monk [Fri, 29 Apr 2016 19:04:17 +0000 (19:04 +0000)]
Merge "Fix QS Edit flashing on exit" into nyc-dev

8 years agoFix QS Edit flashing on exit
Jason Monk [Fri, 29 Apr 2016 18:58:29 +0000 (14:58 -0400)]
Fix QS Edit flashing on exit

Always save tile specs after move and don't trigger an entire data
set changed because we are aware of all changes.

Change-Id: Ic75b9ea8ed9b7d1a11d02f9af7858f3d040ec074
Fixes: 28334197

8 years agoLess clipping.
Julia Reynolds [Fri, 29 Apr 2016 18:48:43 +0000 (14:48 -0400)]
Less clipping.

Bug: 28385494
Change-Id: Ic28041621e5574e003b46aa84e8b69dc3472506d

8 years agoFix DirectReply taking too long in HUNs
Adrian Roos [Fri, 29 Apr 2016 18:28:37 +0000 (11:28 -0700)]
Fix DirectReply taking too long in HUNs

The HUN logic delays removing notifications for a second or
two, but this makes Direct Reply stick around too long after
sending. To prevent this, cancel notifications in the sending
state immediately.

Change-Id: I9e655bb17674265761e1f6cc25acb2fb9f0c72a6
Fixes: 28421972

8 years agoMerge "close a potential race condition in registerAsSystemService" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 18:25:04 +0000 (18:25 +0000)]
Merge "close a potential race condition in registerAsSystemService" into nyc-dev

8 years agoFix ViewRoot inset adjustment after initial setup.
Robert Carr [Thu, 28 Apr 2016 20:27:08 +0000 (13:27 -0700)]
Fix ViewRoot inset adjustment after initial setup.

If the insets change, "mWidth/mHeight" won't change
as it's based on the window frame (not the surface size),
we need to track when the insets change and call
HardwareRenderer.setup with the new values.

Bug: 28257246
Bug: 28368990
Change-Id: Ida304b57c4671d010d1cf7b370674c9453841c97

8 years agoInsulate the account.db from updates.
Carlos Valdivia [Wed, 27 Apr 2016 02:36:50 +0000 (19:36 -0700)]
Insulate the account.db from updates.

I think we were getting accounts uninstalled on android devices when
SyncManagers called validateAccounts() while GmsCore was updating.

I try to prevent this by not removing accounts unless the data directory
has actually been removed (which shouldn't happen during updates).

Bug: 25611016
Change-Id: Ib526b3000ad741815d48fd020af2cc19d6205166

8 years agoMerge "Don't show data disabled icon when user isn't setup" into nyc-dev
Jason Monk [Fri, 29 Apr 2016 17:55:57 +0000 (17:55 +0000)]
Merge "Don't show data disabled icon when user isn't setup" into nyc-dev

8 years agoDirectReply: Send button was wrongly actionable on empty field
Adrian Roos [Fri, 29 Apr 2016 17:45:38 +0000 (10:45 -0700)]
DirectReply: Send button was wrongly actionable on empty field

Change-Id: I672d897d42ef340e84d9dc938e6edf26e2b8d9c3
Fixes: 28420826

8 years agoMerge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs am:...
Amanda Kassay [Fri, 29 Apr 2016 17:39:04 +0000 (17:39 +0000)]
Merge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs am: 8d21a984a6 am: 935c4835ac
am: a7700c08fc

* commit 'a7700c08fc15d03efeaae39b093c4585a669208e':
  Update studio_tos modal with correct id. b/28425669

Change-Id: I08a5dd9daaa66717212aa553babe9701fadb17bf

8 years agoDon't show data disabled icon when user isn't setup
Jason Monk [Fri, 29 Apr 2016 17:37:58 +0000 (13:37 -0400)]
Don't show data disabled icon when user isn't setup

Change-Id: I2d540b8c0cb613cbf120ffadc404ee03d0447a8b
Fixes: 28246388

8 years agoMerge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs am:...
Amanda Kassay [Fri, 29 Apr 2016 17:36:09 +0000 (17:36 +0000)]
Merge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs am: 8d21a984a6
am: 935c4835ac

* commit '935c4835aca0507b57d8d5aee7e5b544d4856f32':
  Update studio_tos modal with correct id. b/28425669

Change-Id: I38a93109a57589551f3abd539604b439a605b82d

8 years agoMerge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs
Amanda Kassay [Fri, 29 Apr 2016 17:33:53 +0000 (17:33 +0000)]
Merge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs
am: 8d21a984a6

* commit '8d21a984a65884698d3b91f91b07f3391ec28f6d':
  Update studio_tos modal with correct id. b/28425669

Change-Id: Ic0bbcb91b272c6230bbf7a6f6ec3725dff04acdc

8 years agoMerge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs
Amanda Kassay [Fri, 29 Apr 2016 17:26:26 +0000 (17:26 +0000)]
Merge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs

8 years agoMerge "Make EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it" into...
Clara Bayarri [Fri, 29 Apr 2016 16:38:11 +0000 (16:38 +0000)]
Merge "Make EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it" into nyc-dev

8 years agoMerge "Only change picker modes when used in dialog" into nyc-dev
Alan Viverette [Fri, 29 Apr 2016 16:31:15 +0000 (16:31 +0000)]
Merge "Only change picker modes when used in dialog" into nyc-dev

8 years agoMerge "media: document MediaFormat.KEY_FRAME_RATE better" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 16:04:14 +0000 (16:04 +0000)]
Merge "media: document MediaFormat.KEY_FRAME_RATE better" into nyc-dev

8 years agoMerge "A11y: Show title if ticker is not available" into nyc-dev
Adrian Roos [Fri, 29 Apr 2016 15:59:42 +0000 (15:59 +0000)]
Merge "A11y: Show title if ticker is not available" into nyc-dev

8 years agoMake EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it
Clara Bayarri [Fri, 29 Apr 2016 15:56:02 +0000 (16:56 +0100)]
Make EXTRA_SHOW_MENU visible to Settings so StorageSettings can use it

Bug: 28197210
Change-Id: I798a891b1de9777f652a46c1d938e23c0c62f783

8 years agoMerge "Maintain internal consistency for TimePickerClockDelegate hour" into nyc-dev
Alan Viverette [Fri, 29 Apr 2016 15:22:06 +0000 (15:22 +0000)]
Merge "Maintain internal consistency for TimePickerClockDelegate hour" into nyc-dev

8 years agoMerge "The legacy DHCP client is gone. Delete the settings." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 15:17:39 +0000 (15:17 +0000)]
Merge "The legacy DHCP client is gone. Delete the settings." into nyc-dev

8 years agoMerge "Support transform'd GraphicBuffers" into nyc-dev
John Reck [Fri, 29 Apr 2016 14:49:19 +0000 (14:49 +0000)]
Merge "Support transform'd GraphicBuffers" into nyc-dev

8 years agoMerge "Video source test & bugfix" into nyc-dev
John Reck [Fri, 29 Apr 2016 14:49:11 +0000 (14:49 +0000)]
Merge "Video source test & bugfix" into nyc-dev

8 years agoMerge "Check permission on clearPassword and other CryptKeeper APIs" into nyc-dev
Paul Lawrence [Fri, 29 Apr 2016 14:43:12 +0000 (14:43 +0000)]
Merge "Check permission on clearPassword and other CryptKeeper APIs" into nyc-dev

8 years agoMerge "[WebView] Add documentation regarding geolocation api on secure origins."...
TreeHugger Robot [Fri, 29 Apr 2016 14:34:18 +0000 (14:34 +0000)]
Merge "[WebView] Add documentation regarding geolocation api on secure origins." into nyc-dev

8 years agoCheck permission on clearPassword and other CryptKeeper APIs
Paul Lawrence [Tue, 26 Apr 2016 22:21:02 +0000 (15:21 -0700)]
Check permission on clearPassword and other CryptKeeper APIs

Note - this should only ever be called from LockScreen after getting
the password to avoid the double prompt

Bug: 28376346
Change-Id: Ic44df4fdcc23408c56b1b9375deed1c6ad2af544

8 years agoclose a potential race condition in registerAsSystemService
Chris Wren [Fri, 29 Apr 2016 14:07:48 +0000 (10:07 -0400)]
close a potential race condition in registerAsSystemService

Bug: 27555424
Change-Id: I1537fd1aae3dba83de22d1b245bddd0a3922d289

8 years agoMerge "Ensure FloatingToolbar is not rendered at negative x, y coordinates." into...
Abodunrinwa Toki [Fri, 29 Apr 2016 14:04:04 +0000 (14:04 +0000)]
Merge "Ensure FloatingToolbar is not rendered at negative x, y coordinates." into nyc-dev

8 years agoAdd metric for managed profile setting
Tony Mak [Fri, 29 Apr 2016 09:27:48 +0000 (10:27 +0100)]
Add metric for managed profile setting

Bug: 28281560
Change-Id: I6ec0a8dbfea179476335b9d624020b80e51e97a8

8 years agoThe legacy DHCP client is gone. Delete the settings.
Lorenzo Colitti [Fri, 29 Apr 2016 13:17:48 +0000 (22:17 +0900)]
The legacy DHCP client is gone. Delete the settings.

Bug: 27192644
Change-Id: I5bc23f3e269e17d50fa2531a57fb0e2049ae18bf

8 years ago[WebView] Add documentation regarding geolocation api on secure origins.
Tim Volodine [Wed, 27 Apr 2016 13:14:09 +0000 (14:14 +0100)]
[WebView] Add documentation regarding geolocation api on secure origins.

Update to javadoc comments saying that for apps targeting N and up
the geolocation api is only supported on secure origins.
On non-secure origins requests to geolocation api are automatically
denied without calling the corresponding
WebChromeClient#onGeolocationPermissionsShowPrompt method.

BUG: 28080869
Change-Id: I57726f7f3b3d38db0535f742b1f74c40c1f1ce8b

8 years agoAddress review comments on ag/962875.
Lorenzo Colitti [Fri, 29 Apr 2016 09:00:03 +0000 (18:00 +0900)]
Address review comments on ag/962875.

Bug: 27824851
Change-Id: I7dd553a926b10faf6e0c2b0e3ed9d8e91b3cccf0

8 years agoMerge "Frameworks/base: Use holder in FileUtils" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 07:09:27 +0000 (07:09 +0000)]
Merge "Frameworks/base: Use holder in FileUtils" into nyc-dev

8 years agoMerge "PIP: Prevent PIP icons in Recents from blinking when PIP is closed" into nyc-dev
Jaewan Kim [Fri, 29 Apr 2016 05:57:40 +0000 (05:57 +0000)]
Merge "PIP: Prevent PIP icons in Recents from blinking when PIP is closed" into nyc-dev

8 years agoFrameworks/base: Use holder in FileUtils
Andreas Gampe [Fri, 29 Apr 2016 02:33:05 +0000 (19:33 -0700)]
Frameworks/base: Use holder in FileUtils

Use a holder for an uncommon Pattern instance in FileUtils.

Allows to compile-time initialize:
* android.os.FileUtils

Bug: 28174137
Change-Id: I4a7a388795a96678b4b26e4f2c02b1117d6a67f6

8 years agoFixes on handling messages from apps to host.
destradaa [Thu, 28 Apr 2016 00:53:23 +0000 (17:53 -0700)]
Fixes on handling messages from apps to host.

- Ensure that app to host events are not filtered out
- Populates the app handle appropriately for clients to reference the
  nano app sending the event

Bug: 28273520
Bug: 28272149

Change-Id: I7373fc84abcadc2ab17109484f2d04b02a474593

8 years agoDo not change surface properties when waiting for transition to ready
Chong Zhang [Fri, 29 Apr 2016 01:27:53 +0000 (18:27 -0700)]
Do not change surface properties when waiting for transition to ready

Window could become drawn before transition is ready, when transition
is waiting for the animation spec. If we show the surface too early,
one or more frame will be shown with wrong scale.

bug: 28296945
bug: 27742244
Change-Id: I34e84ed8a37ecdb71eb975351f1ee39d14dfba25

8 years agoMerge "Another intent sent by both system and apps." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 01:21:07 +0000 (01:21 +0000)]
Merge "Another intent sent by both system and apps." into nyc-dev

8 years agoMerge "AAPT: ProGuard config for components in main dex." into nyc-dev
Rohit Agrawal [Fri, 29 Apr 2016 01:19:06 +0000 (01:19 +0000)]
Merge "AAPT: ProGuard config for components in main dex." into nyc-dev

8 years agoAdding null check on VolumeInfo
Suprabh Shukla [Wed, 27 Apr 2016 21:05:54 +0000 (14:05 -0700)]
Adding null check on VolumeInfo

Storage manager returns null volumeInfo for a volume that is ejected.
Adding a null check to prevent crashing system ui.

Bug: b/28211502
Change-Id: Icd18dda8cad4e6020df3e4c5b3be6daaa3b22fbe

8 years agoMerge "Stop user faster and clear stale broadcasts" into nyc-dev
Amith Yamasani [Fri, 29 Apr 2016 00:51:30 +0000 (00:51 +0000)]
Merge "Stop user faster and clear stale broadcasts" into nyc-dev

8 years agoMerge "Add Complex XML Resources guide to docs" into nyc-dev
Adam Lesinski [Fri, 29 Apr 2016 00:13:41 +0000 (00:13 +0000)]
Merge "Add Complex XML Resources guide to docs" into nyc-dev

8 years agoMerge "ImageWallpaper: Only draw on valid surfaces" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 00:13:22 +0000 (00:13 +0000)]
Merge "ImageWallpaper: Only draw on valid surfaces" into nyc-dev

8 years agoMerge "Fixed wrong loop variable (AKA: I, Y U NO J?)" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 00:11:41 +0000 (00:11 +0000)]
Merge "Fixed wrong loop variable (AKA: I, Y U NO J?)" into nyc-dev

8 years agoMerge "Clean up fingerprint enrollment API" into nyc-dev
Jim Miller [Thu, 28 Apr 2016 23:48:41 +0000 (23:48 +0000)]
Merge "Clean up fingerprint enrollment API" into nyc-dev

8 years agoMerge "Fix restoring surface for child windows" into nyc-dev
Chong Zhang [Thu, 28 Apr 2016 23:18:27 +0000 (23:18 +0000)]
Merge "Fix restoring surface for child windows" into nyc-dev

8 years agoFix restoring surface for child windows
Chong Zhang [Thu, 28 Apr 2016 22:30:33 +0000 (15:30 -0700)]
Fix restoring surface for child windows

Use allAppWindows instead of windows, as windows doesn't contain
any child windows, it causes the child windows to be not restored
until the child window does relayout.

bug: 28296945

Change-Id: I7d272e660752002c08349128c3958aa041979c34

8 years agoFixed wrong loop variable (AKA: I, Y U NO J?)
Felipe Leme [Thu, 28 Apr 2016 22:37:20 +0000 (15:37 -0700)]
Fixed wrong loop variable (AKA: I, Y U NO J?)

BUG: 27366993
BUG: 28451218
Change-Id: I8455ada4194e7fc44ae7448e5cd763d22065fd2e

8 years agoImageWallpaper: Only draw on valid surfaces
Adrian Roos [Thu, 28 Apr 2016 22:22:29 +0000 (15:22 -0700)]
ImageWallpaper: Only draw on valid surfaces

Previously, the wallpaper would draw even when
the surface had been destroyed, leading to
crashes.

Change-Id: I6465e832abb3bfd92495bca9b60dac474b35f6d6
Fixes: 28329816

8 years agoMerge "Additional alarm sounds for N" into nyc-dev
Jean-Michel Trivi [Thu, 28 Apr 2016 22:14:01 +0000 (22:14 +0000)]
Merge "Additional alarm sounds for N" into nyc-dev

8 years agoClean up fingerprint enrollment API
Jim Miller [Thu, 28 Apr 2016 22:12:53 +0000 (15:12 -0700)]
Clean up fingerprint enrollment API

The enrollment API was using userId and groupId interchangeably.
This cleanes up the interface to consistently use userId.

Partial fix for bug 28268635

Change-Id: I678e4b17a25f82c5cf17db49cd23f862be11667b

8 years agoDon't wedge full data backups by blocking the data consumer thread
Christopher Tate [Thu, 28 Apr 2016 01:16:17 +0000 (18:16 -0700)]
Don't wedge full data backups by blocking the data consumer thread

In particular, don't ask the producer about error overrides when
it is still relying on the consumer to do its job first.  This
needs to be policy for *any* transport-side error condition, not
just the one that was previously handled safely.  Any transport-
initiated error "on the fly" means that the app-facing side of
the engine doesn't know to stop feeding data, and mustn't be
consulted with any blocking request.

We also now detect unexpected PACKAGE_REJECTED by the transport
after data streaming has begun, and translate that to the general
TRANSPORT_ERROR for correct handling down the line.

Bug 28399225
Bug 28375634

Change-Id: I613dc21bc9f2d23e6520eed6c3ac2e9dbc1d88dc

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893...
Andrew Solovay [Thu, 28 Apr 2016 21:23:06 +0000 (21:23 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893309eb am: f31c9f4e8c
am: 6a5ce2914a

* commit '6a5ce2914a0360cf08c6b49a9f3ef66ad9fe6a1c':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I0874460d818d6c86fa95acf5075c46402c94b935

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893...
Andrew Solovay [Thu, 28 Apr 2016 21:20:43 +0000 (21:20 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893309eb
am: f31c9f4e8c

* commit 'f31c9f4e8c606dcabad6eb63ac7801b77d1de328':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: Iff6598a73fcffdfc8d576d2722b4c434d0f0ce3f

8 years agoFix crash loop when activity controller was set
Andrii Kulian [Thu, 28 Apr 2016 21:18:37 +0000 (14:18 -0700)]
Fix crash loop when activity controller was set

If activity controller was set and application crashed - process was killed,
but records in task history were not erased and AM restarted crashed activity.
This caused crash loop if activity was crashing on every launch.

This CL handles app crash correctly in this case + lets AM handle
instrumentation test crash in ActivityManagerService#handleAppDiedLocked to
remove code duplication.

Bug: 28374171
Change-Id: Idf50d1e2cc784c0ae970aa290b82fe1eedd6d1fd

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f
Andrew Solovay [Thu, 28 Apr 2016 21:18:19 +0000 (21:18 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f
am: 04893309eb

* commit '04893309eb8abeb331fbc1fadac6d141dc2a4d63':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I3b8c7eb3dc4d4761aba349b7dbecc1039ae5eb65

8 years agoMerge "TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN" into nyc-dev
Dongwon Kang [Thu, 28 Apr 2016 21:17:30 +0000 (21:17 +0000)]
Merge "TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN" into nyc-dev

8 years agodocs: Updated support library overview, CPd from mnc-mr-docs
Andrew Solovay [Thu, 28 Apr 2016 21:16:02 +0000 (21:16 +0000)]
docs: Updated support library overview, CPd from mnc-mr-docs
am: dd3b48de2f

* commit 'dd3b48de2fd4c47d0e225f6fd5b81b73fafd3643':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I33fe9708e9d34bba1720f7f210d89518ad39de0c

8 years agoMerge "docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f am...
Android Build Merger (Role) [Thu, 28 Apr 2016 21:00:23 +0000 (21:00 +0000)]
Merge "docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f am: 4290ad19e2" into nyc-dev

8 years agodocs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f
Andrew Solovay [Thu, 28 Apr 2016 20:59:50 +0000 (20:59 +0000)]
docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f
am: 4290ad19e2

* commit '4290ad19e2b96887b88a08e8e39629b34d4d4117':
  docs: Moving library docs out of /tools/

Change-Id: I3f42ace3cce49c0d66cc51607c6b7bf182a445c2

8 years agoMerge "Show lockscreen wallpaper on SIM screens" into nyc-dev
Adrian Roos [Thu, 28 Apr 2016 20:57:25 +0000 (20:57 +0000)]
Merge "Show lockscreen wallpaper on SIM screens" into nyc-dev

8 years agodocs: Moving library docs out of /tools/ am: 7877f69ddd
Andrew Solovay [Thu, 28 Apr 2016 20:57:26 +0000 (20:57 +0000)]
docs: Moving library docs out of /tools/ am: 7877f69ddd
am: 6bbce8db4f

* commit '6bbce8db4fd9d4fe5d56fb7eb17793f0c8ac7294':
  docs: Moving library docs out of /tools/

Change-Id: I89594b6fc16e8d14aac5825f7f05b7cf928ffb69