OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Force a light to be set for the first time" into oc-dev
Oleksiy Avramchenko [Thu, 25 May 2017 23:10:24 +0000 (23:10 +0000)]
Merge "Force a light to be set for the first time" into oc-dev
am: 9ddb0f8691  -s ours

Change-Id: I45be47b28daa351915890459cbf9046a28d65812

7 years agoMerge "Fixed memory leak with the inflater" into oc-dev
Selim Cinek [Thu, 25 May 2017 23:08:11 +0000 (23:08 +0000)]
Merge "Fixed memory leak with the inflater" into oc-dev
am: 3d5fd7a959

Change-Id: I90d93918d1b188d09f6d2cf3ed70ceed38b07086

7 years agoMerge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev
Chet Haase [Thu, 25 May 2017 23:05:43 +0000 (23:05 +0000)]
Merge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev
am: 68311f8712

Change-Id: I5c5a18d57e5658262793f0bd67f8a9febda055cd

7 years agoMerge "Force a light to be set for the first time" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:54:59 +0000 (22:54 +0000)]
Merge "Force a light to be set for the first time" into oc-dev

7 years agoMerge "Fixed memory leak with the inflater" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:54:08 +0000 (22:54 +0000)]
Merge "Fixed memory leak with the inflater" into oc-dev

7 years agoMerge "Fixed an issue when inflating too many notifications" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:53:54 +0000 (22:53 +0000)]
Merge "Fixed an issue when inflating too many notifications" into oc-dev
am: 3a6f2a30ce

Change-Id: Ic2a82150d08eb70762c08822b040860e79f66b0b

7 years agoMerge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:51:14 +0000 (22:51 +0000)]
Merge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev

7 years agoMerge "Fixed an issue when inflating too many notifications" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:42:11 +0000 (22:42 +0000)]
Merge "Fixed an issue when inflating too many notifications" into oc-dev

7 years agoMerge "Handle install time ephemeral permissions" into oc-dev
Chad Brubaker [Thu, 25 May 2017 22:36:15 +0000 (22:36 +0000)]
Merge "Handle install time ephemeral permissions" into oc-dev
am: dc89202d1a

Change-Id: I4da687bd1f5008788e54cc03309a01b060d1829e

7 years agoMerge "Add test to verify all sysui tests extend the right stuff" into oc-dev
Jason Monk [Thu, 25 May 2017 22:30:40 +0000 (22:30 +0000)]
Merge "Add test to verify all sysui tests extend the right stuff" into oc-dev
am: 34b64f2559

Change-Id: I412152b803be5a4e70b018c38ec3bbda76a51a01

7 years agoMerge "Handle install time ephemeral permissions" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:28:24 +0000 (22:28 +0000)]
Merge "Handle install time ephemeral permissions" into oc-dev

7 years agoMerge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev
Julia Reynolds [Thu, 25 May 2017 22:28:32 +0000 (22:28 +0000)]
Merge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev
am: e6bf4f808d

Change-Id: Ie81e000348bd6a4e247c40681202965285f2584c

7 years agoMerge "Add test to verify all sysui tests extend the right stuff" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:21:23 +0000 (22:21 +0000)]
Merge "Add test to verify all sysui tests extend the right stuff" into oc-dev

7 years agoMerge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:14:31 +0000 (22:14 +0000)]
Merge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev

7 years agoMerge "Add a function to verify if idmap is made from given target/overlay packages...
Jaekyun Seok [Thu, 25 May 2017 22:05:51 +0000 (22:05 +0000)]
Merge "Add a function to verify if idmap is made from given target/overlay packages" into oc-dev
am: a941e29c55

Change-Id: I47bf589cf849a81a310d0890156bf7c937dd354a

7 years agoMerge "Fix up the QS gutter" into oc-dev
Jason Monk [Thu, 25 May 2017 21:52:02 +0000 (21:52 +0000)]
Merge "Fix up the QS gutter" into oc-dev
am: 78ee090f78

Change-Id: I84250204436869ad18365acc42688fd6455f94a4

7 years agoMerge "Add a function to verify if idmap is made from given target/overlay packages...
TreeHugger Robot [Thu, 25 May 2017 21:50:52 +0000 (21:50 +0000)]
Merge "Add a function to verify if idmap is made from given target/overlay packages" into oc-dev

7 years agoMerge "AOD: Fix camera icon visibility" into oc-dev
Adrian Roos [Thu, 25 May 2017 21:48:37 +0000 (21:48 +0000)]
Merge "AOD: Fix camera icon visibility" into oc-dev
am: f3a50f1675

Change-Id: I012732902d2f076e247f69f297bc4613ad4d0e94

7 years agoMerge "Fix up the QS gutter" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 21:41:47 +0000 (21:41 +0000)]
Merge "Fix up the QS gutter" into oc-dev

7 years agoMerge "AOD: Fix camera icon visibility" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 21:40:50 +0000 (21:40 +0000)]
Merge "AOD: Fix camera icon visibility" into oc-dev

7 years agoMerge "Use cached keyguard flags during relaunch." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:53:49 +0000 (20:53 +0000)]
Merge "Use cached keyguard flags during relaunch." into oc-dev
am: 9eb635c428

Change-Id: I33a077d03618fdebebdd36af2e0db103fbd7ce3d

7 years agoMerge "Do not remove task until all activities have been destroyed." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:51:09 +0000 (20:51 +0000)]
Merge "Do not remove task until all activities have been destroyed." into oc-dev
am: f18c5862e8

Change-Id: Id35bc99e1c6871fc16935f901710c2f7b1fc567e

7 years agoMerge "Use cached keyguard flags during relaunch." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:43:30 +0000 (20:43 +0000)]
Merge "Use cached keyguard flags during relaunch." into oc-dev

7 years agoMerge "Do not remove task until all activities have been destroyed." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:42:15 +0000 (20:42 +0000)]
Merge "Do not remove task until all activities have been destroyed." into oc-dev

7 years agoMerge "Ensure that windows are drawn before starting transition into PiP." into oc-dev
Winson Chung [Thu, 25 May 2017 20:36:30 +0000 (20:36 +0000)]
Merge "Ensure that windows are drawn before starting transition into PiP." into oc-dev
am: ef4e38f96f

Change-Id: If433030b4fdd9885fc67ee3025fc30fd60eb3880

7 years agoMerge "Ensure that windows are drawn before starting transition into PiP." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 20:30:21 +0000 (20:30 +0000)]
Merge "Ensure that windows are drawn before starting transition into PiP." into oc-dev

7 years agoMerge "Dont reset the menu state if the menu is showing during an update" into oc-dev
Mady Mellor [Thu, 25 May 2017 20:20:40 +0000 (20:20 +0000)]
Merge "Dont reset the menu state if the menu is showing during an update" into oc-dev
am: 814d666f76

Change-Id: I0b31d86447dd53236f5e4253cea79ab47902c7fe

7 years agoMerge "Don’t reset the menu state if the menu is showing during an update" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 20:08:54 +0000 (20:08 +0000)]
Merge "Don’t reset the menu state if the menu is showing during an update" into oc-dev

7 years agoMerge "Update preloaded classes for O" into oc-dev
Mathieu Chartier [Thu, 25 May 2017 20:00:57 +0000 (20:00 +0000)]
Merge "Update preloaded classes for O" into oc-dev
am: 9fb12725f2

Change-Id: I27200ac2f8858f755d7ff1d9fa4cc7f7eb406705

7 years agoMerge "Update preloaded classes for O" into oc-dev
Mathieu Chartier [Thu, 25 May 2017 19:54:38 +0000 (19:54 +0000)]
Merge "Update preloaded classes for O" into oc-dev

7 years agoMerge "ClientMonitor should only send cancel() once to fp daemon" into oc-dev
Kevin Chyn [Thu, 25 May 2017 19:53:16 +0000 (19:53 +0000)]
Merge "ClientMonitor should only send cancel() once to fp daemon" into oc-dev
am: d3d1c558eb

Change-Id: Iff80bb545a1c75256f76541b09cc642796945cf9

7 years agoMerge "ClientMonitor should only send cancel() once to fp daemon" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 19:45:45 +0000 (19:45 +0000)]
Merge "ClientMonitor should only send cancel() once to fp daemon" into oc-dev

7 years agoMerge "Add ability to add existing connection AND set parent at the same time." into...
Tyler Gunn [Thu, 25 May 2017 19:44:32 +0000 (19:44 +0000)]
Merge "Add ability to add existing connection AND set parent at the same time." into oc-dev
am: 95f4f14e0b

Change-Id: If762616920b266064cd1ee5520d5778ebb1475a7

7 years agoFixed memory leak with the inflater
Selim Cinek [Thu, 25 May 2017 17:27:28 +0000 (10:27 -0700)]
Fixed memory leak with the inflater

Because min priority children could be removed from
their parents after the removal, a new inflation task
would be started, leading to the view being instantly
readded again. This lead to memory leaks.

It also fixes a bug where the inflation would not inflate
enough views that could lead to crashes / wrong layouts.

Finally there was a indexing error when handling removal
of group summaries.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Iac242946bd30060967ee7877560d40e63f39f996
Fixes: 62067645

7 years agoMerge "Add ability to add existing connection AND set parent at the same time." into...
Tyler Gunn [Thu, 25 May 2017 19:33:58 +0000 (19:33 +0000)]
Merge "Add ability to add existing connection AND set parent at the same time." into oc-dev

7 years agoAOD: Fix camera icon visibility
Adrian Roos [Thu, 25 May 2017 19:33:17 +0000 (12:33 -0700)]
AOD: Fix camera icon visibility

Fixes a bug where the camera icon could become
visible in AOD even though it should not.

Fixes: 62038727
Test: Trigger ambient display, uninstall button provider plugin, observe camera button does not show
Change-Id: Ie97085dff58b6ecd0157126e30b86138f585d454

7 years agoMerge "[PackageManagerService]:Fix system app can't uninstall apps silently" into...
Sudheer Shanka [Thu, 25 May 2017 19:26:58 +0000 (19:26 +0000)]
Merge "[PackageManagerService]:Fix system app can't uninstall apps silently" into oc-dev
am: 975ee1f25a

Change-Id: I2872b5a97aa8912655505d0c180f70706002d10e

7 years agoAdd test to verify all sysui tests extend the right stuff
Jason Monk [Tue, 23 May 2017 14:42:59 +0000 (10:42 -0400)]
Add test to verify all sysui tests extend the right stuff

And then make it pass.

Test: runtest systemui
Fixes: 38500852
Change-Id: I377164219e4a4f4d1a99f11ef06da03c2b527eb0

7 years agoMerge "[PackageManagerService]:Fix system app can't uninstall apps silently" into...
Sudheer Shanka [Thu, 25 May 2017 19:17:44 +0000 (19:17 +0000)]
Merge "[PackageManagerService]:Fix system app can't uninstall apps silently" into oc-dev

7 years agoMerge "Fix permission is not granted to work profile system app by default" into...
Tony Mak [Thu, 25 May 2017 19:09:24 +0000 (19:09 +0000)]
Merge "Fix permission is not granted to work profile system app by default" into oc-dev
am: 0995b177ab

Change-Id: I0fa9263de3416837f361247ddd95b69cc70b1575

7 years agoMerge "Fix backup and restore of package blocks" into oc-dev
Julia Reynolds [Thu, 25 May 2017 19:03:53 +0000 (19:03 +0000)]
Merge "Fix backup and restore of package blocks" into oc-dev
am: 2686322e71

Change-Id: Ic6d42f58038d7a4feead2f5a3c2c03f11f71e79e

7 years agoMerge "Creating HW bitmaps from RenderNode" into oc-dev
John Reck [Thu, 25 May 2017 19:01:10 +0000 (19:01 +0000)]
Merge "Creating HW bitmaps from RenderNode" into oc-dev
am: d63b77c627

Change-Id: Ia95a9f190c36999f70fdadbe45e1774beab80988

7 years agoMerge "Fix permission is not granted to work profile system app by default" into...
Tony Mak [Thu, 25 May 2017 18:57:32 +0000 (18:57 +0000)]
Merge "Fix permission is not granted to work profile system app by default" into oc-dev

7 years agoMerge "docs: Clarifying code snippet for View.autoFill()" into oc-dev
Felipe Leme [Thu, 25 May 2017 18:54:14 +0000 (18:54 +0000)]
Merge "docs: Clarifying code snippet for View.autoFill()" into oc-dev
am: c8124cb94c

Change-Id: I10f0767e85c25e6257ab2d4f02e5a7d8a0ef6fac

7 years agoMerge "Fix backup and restore of package blocks" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 18:48:56 +0000 (18:48 +0000)]
Merge "Fix backup and restore of package blocks" into oc-dev

7 years agoMerge "Creating HW bitmaps from RenderNode" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 18:48:18 +0000 (18:48 +0000)]
Merge "Creating HW bitmaps from RenderNode" into oc-dev

7 years agoEnsure that windows are drawn before starting transition into PiP.
Winson Chung [Wed, 24 May 2017 19:13:33 +0000 (12:13 -0700)]
Ensure that windows are drawn before starting transition into PiP.

- Building upon ag/2125930, we ensure that all windows are drawn before
  starting the enter PiP animation.

Bug: 37420370
Test: bit FrameworksServicesTests:com.android.server.wm.BoundsAnimationControllerTests
Test: android.server.cts.ActivityManagerPinnedStackTests

Change-Id: I73fb71681f62bbc684efedbd3d40c3e1a670db46

7 years agoMerge "docs: Clarifying code snippet for View.autoFill()" into oc-dev
Felipe Leme [Thu, 25 May 2017 18:39:09 +0000 (18:39 +0000)]
Merge "docs: Clarifying code snippet for View.autoFill()" into oc-dev

7 years agoMerge "Respect empty vibration effect configs in PhoneWindowManager and VibratorServi...
Erik Wolsheimer [Thu, 25 May 2017 18:22:57 +0000 (18:22 +0000)]
Merge "Respect empty vibration effect configs in PhoneWindowManager and VibratorService" into oc-dev
am: 4c6a49ed47

Change-Id: Ib92f2dbad240bae9f46a23aa61eb2b7d09a96896

7 years agoFix up the QS gutter
Jason Monk [Wed, 24 May 2017 18:57:10 +0000 (14:57 -0400)]
Fix up the QS gutter

 - Don't show when collapsed, show divider instead
 - Don't show when no notifications
 - Animate between states while expanding/collapsing
 - Other visual cleanup

Test: visual
Change-Id: I923c963fa70d63601b6a181299b04c5fc49922bb
Fixes: 38199857
Fixes: 38483355
Fixes: 38409326
Fixes: 38417776

7 years agoMerge "Working around bugreport crash issues" into oc-dev
Makoto Onuki [Thu, 25 May 2017 18:19:18 +0000 (18:19 +0000)]
Merge "Working around bugreport crash issues" into oc-dev
am: 5176a4cda3

Change-Id: Id5f50a4fad73b51079685b86839ccbe9912c2148

7 years agoMerge "Respect empty vibration effect configs in PhoneWindowManager and VibratorServi...
TreeHugger Robot [Thu, 25 May 2017 18:10:22 +0000 (18:10 +0000)]
Merge "Respect empty vibration effect configs in PhoneWindowManager and VibratorService" into oc-dev

7 years agoMerge "Working around bugreport crash issues" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 18:07:23 +0000 (18:07 +0000)]
Merge "Working around bugreport crash issues" into oc-dev

7 years agoMerge "Camera2: Fix broken onCaptureBufferLost callback" into oc-dev
Eino-Ville Talvala [Thu, 25 May 2017 17:25:34 +0000 (17:25 +0000)]
Merge "Camera2: Fix broken onCaptureBufferLost callback" into oc-dev
am: 906948e7e2

Change-Id: I0007db72b0ca923c0e42bbb6ddadf34e927b5612

7 years agoMerge "Fix guest tint" into oc-dev
Jason Monk [Thu, 25 May 2017 17:19:48 +0000 (17:19 +0000)]
Merge "Fix guest tint" into oc-dev
am: 70d4423eb6

Change-Id: I65d05cbf2b3cc31e5fb2376eb3ab9a0782cc0c9d

7 years agoMerge "Camera2: Fix broken onCaptureBufferLost callback" into oc-dev
Eino-Ville Talvala [Thu, 25 May 2017 17:11:00 +0000 (17:11 +0000)]
Merge "Camera2: Fix broken onCaptureBufferLost callback" into oc-dev

7 years agoMerge "Fix guest tint" into oc-dev
Jason Monk [Thu, 25 May 2017 17:09:09 +0000 (17:09 +0000)]
Merge "Fix guest tint" into oc-dev

7 years agoMerge "Fix flaky tests" into oc-dev
Jorim Jaggi [Thu, 25 May 2017 16:53:34 +0000 (16:53 +0000)]
Merge "Fix flaky tests" into oc-dev
am: b80cffad4b

Change-Id: Ia78dac2c9333a89f48a998b8df9b0f12e78da71c

7 years agoMerge "Triggering quiescent reboot during OTA" into oc-dev
Dmitri Plotnikov [Thu, 25 May 2017 16:51:17 +0000 (16:51 +0000)]
Merge "Triggering quiescent reboot during OTA" into oc-dev
am: d9417c53e0

Change-Id: I0b2b42d95d739701a367bd5d25bebbd64d033ad0

7 years agoMerge "Fix flaky tests" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 16:47:08 +0000 (16:47 +0000)]
Merge "Fix flaky tests" into oc-dev

7 years agoMerge "Triggering quiescent reboot during OTA" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 16:46:32 +0000 (16:46 +0000)]
Merge "Triggering quiescent reboot during OTA" into oc-dev

7 years agoMerge "HIDL: C++ Java parity" am: 475d9b283c am: 101aa88ad6
Steven Moreland [Thu, 25 May 2017 16:45:48 +0000 (16:45 +0000)]
Merge "HIDL: C++ Java parity" am: 475d9b283c am: 101aa88ad6
am: 5b33f9b441

Change-Id: I7a7ae9d03ad51248526f3e93884e99bf7bc9e0b5

7 years agoUse cached keyguard flags during relaunch.
Bryce Lee [Thu, 25 May 2017 14:52:12 +0000 (07:52 -0700)]
Use cached keyguard flags during relaunch.

It is possible for the display to be unfrozen before an
AppWindowToken is finished relaunching. This allows for other window
containers (such as the StatusBar) to influence the rotation when
unfreezing.

This changelist prevents the cached keyguard flag values for the
AppWindowToken when relaunching. This prevents incorrect values from
being reported during transient relaunch window states.

Fixes: 38262879
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests#testKeyguardFlagsDuringRelaunch

Change-Id: I2aa23ac282cf7626bb187c6cd1a4a3524f788877

7 years agoMerge "HIDL: C++ Java parity" am: 475d9b283c
Steven Moreland [Thu, 25 May 2017 16:39:40 +0000 (16:39 +0000)]
Merge "HIDL: C++ Java parity" am: 475d9b283c
am: 101aa88ad6

Change-Id: If341009ba5c22ec0e83170e856e83b23d8a925ce

7 years agoMerge "HIDL: C++ Java parity"
Steven Moreland [Thu, 25 May 2017 16:34:21 +0000 (16:34 +0000)]
Merge "HIDL: C++ Java parity"
am: 475d9b283c

Change-Id: I8195a0a4de291f26c637f5cd6802d6bbaf0d17a3

7 years agoMerge "HIDL: C++ Java parity"
Treehugger Robot [Thu, 25 May 2017 16:28:41 +0000 (16:28 +0000)]
Merge "HIDL: C++ Java parity"

7 years agoFix backup and restore of package blocks
Julia Reynolds [Mon, 22 May 2017 12:45:27 +0000 (08:45 -0400)]
Fix backup and restore of package blocks

-Restore block status for apps that already exist
E.g. apps on the system image
- Stop depending on appops, it's duplicative and
not backuped/restored

Fixes: 38340377
Test: runtest systemui-notification, toast and notification
cts tests, backup android, clear data on packages, restore android,
verify that blocked apps stay blocked.
Change-Id: I29a33d7db2701bd64a7b30411dcf77c0a2f321d1

7 years agoMerge "Autofill UI should still show when dataset authentication is cancelled." into...
Felipe Leme [Thu, 25 May 2017 14:38:10 +0000 (14:38 +0000)]
Merge "Autofill UI should still show when dataset authentication is cancelled." into oc-dev
am: c368c0b5ab

Change-Id: I3fe0b21fc76ae8c0edf8c3a742fa4bdbd0173fb2

7 years agoMerge "Autofill UI should still show when dataset authentication is cancelled." into...
Felipe Leme [Thu, 25 May 2017 14:32:04 +0000 (14:32 +0000)]
Merge "Autofill UI should still show when dataset authentication is cancelled." into oc-dev

7 years agoMerge "Remove time_zones_by_country.xml file" am: 3436fd4833 am: 1541ef3712
Neil Fuller [Thu, 25 May 2017 11:01:07 +0000 (11:01 +0000)]
Merge "Remove time_zones_by_country.xml file" am: 3436fd4833 am: 1541ef3712
am: 4e9c135a5a

Change-Id: I8d03ce9616c702d73fb6a807d45c58afd332b50b

7 years agoMerge "Remove time_zones_by_country.xml file" am: 3436fd4833
Neil Fuller [Thu, 25 May 2017 10:54:07 +0000 (10:54 +0000)]
Merge "Remove time_zones_by_country.xml file" am: 3436fd4833
am: 1541ef3712

Change-Id: Iba095c44c332658f7eea448dcf653b46bce5d8e8

7 years agoMerge "Remove time_zones_by_country.xml file"
Neil Fuller [Thu, 25 May 2017 10:46:41 +0000 (10:46 +0000)]
Merge "Remove time_zones_by_country.xml file"
am: 3436fd4833

Change-Id: I75cf86290b0dcc5aa99b9d0ebacbc5aa07269aab

7 years agoMerge "Remove time_zones_by_country.xml file"
Neil Fuller [Thu, 25 May 2017 10:39:14 +0000 (10:39 +0000)]
Merge "Remove time_zones_by_country.xml file"

7 years agoMerge "Expand logging capabilities of Tethering subsystem" into oc-dev
Erik Kline [Thu, 25 May 2017 09:14:17 +0000 (09:14 +0000)]
Merge "Expand logging capabilities of Tethering subsystem" into oc-dev
am: fc6e6d1372  -s ours

Change-Id: I44c8ac70d0d3c53e52807697e62c40474d5fa356

7 years agoMerge "Expand logging capabilities of Tethering subsystem" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 09:04:33 +0000 (09:04 +0000)]
Merge "Expand logging capabilities of Tethering subsystem" into oc-dev

7 years agoMerge "Revert fix for FingerprintManager leak" into oc-dev
Kevin Chyn [Thu, 25 May 2017 04:33:07 +0000 (04:33 +0000)]
Merge "Revert fix for FingerprintManager leak" into oc-dev
am: 807a8c6e7c

Change-Id: I9f9132b1785c4e7c7d04dcc7decfbc4e447fbdd0

7 years agoMerge "Revert fix for FingerprintManager leak" into oc-dev
Kevin Chyn [Thu, 25 May 2017 04:28:09 +0000 (04:28 +0000)]
Merge "Revert fix for FingerprintManager leak" into oc-dev

7 years agoMerge "Fixed an issue where groups could stay userlocked" into oc-dev
Selim Cinek [Thu, 25 May 2017 03:38:01 +0000 (03:38 +0000)]
Merge "Fixed an issue where groups could stay userlocked" into oc-dev
am: e736807efd

Change-Id: I8d2bdf59d406985ac336eddcf8f868a985f30612

7 years agoMerge "Fixed an issue where groups could stay userlocked" into oc-dev
Selim Cinek [Thu, 25 May 2017 03:29:10 +0000 (03:29 +0000)]
Merge "Fixed an issue where groups could stay userlocked" into oc-dev

7 years agoTriggering quiescent reboot during OTA
Dmitri Plotnikov [Wed, 10 May 2017 23:26:38 +0000 (16:26 -0700)]
Triggering quiescent reboot during OTA

Bug: 34201965
Test: follow instructions in https://docs.google.com/document/d/1RjvUGRi_Ys5-BRoJz6_SnixuipFiF-GAs6CNc7w-Qj0/edit and use fake-ota
Change-Id: I540f86cf11746faefc25bc74319512eba6d0d783

7 years agoFix and clarify behavior of vertical/horizontal attributes
Chet Haase [Thu, 25 May 2017 01:27:14 +0000 (18:27 -0700)]
Fix and clarify behavior of vertical/horizontal attributes

There were a couple of problems with the new paddingHorizontal
and layout_mareginHorizontal attributes. For one thing, the behavior
of layout_marginHorizontal needed to change with respect to marginStart/End.
Instead of the implemented behavior where Horizontal took precedence over
start/end, the behavior is being changed such that start/end can override
horizontal. This makes it consistent with the way that the attributes work
for padding.

Also, the attribute docs were not correct. For one thing, they needed to be
updated to match the new behavior for marginHorizontal. Also, the docs for
the padding attributes (including the docs for the existing "padding") were
not correct for the behavior as-implemented (specifically with respect to the
precedence of the attributes where paddingStart/End are concerned).

Bug: 37756178  double-check logic of horizontal/vertical attributes wrt start/end attributes
Test: Updated cts tests, submitting at the same time
Change-Id: I85a102549022cbec7d7b5c76f31ac985db103372

7 years agoMerge "NsdServiceInfo: move test to tests/net" am: 48859e01d5 am: 1b0f4bf606
Hugo Benichi [Thu, 25 May 2017 01:12:51 +0000 (01:12 +0000)]
Merge "NsdServiceInfo: move test to tests/net" am: 48859e01d5 am: 1b0f4bf606
am: e8c2700519

Change-Id: I44cae417fcddad72c13938b6fb751de6ed784046

7 years agoMerge "NsdServiceInfo: move test to tests/net" am: 48859e01d5
Hugo Benichi [Thu, 25 May 2017 01:06:48 +0000 (01:06 +0000)]
Merge "NsdServiceInfo: move test to tests/net" am: 48859e01d5
am: 1b0f4bf606

Change-Id: I2c27790f23d1ecc7b42dbbe28313f0533a1bab53

7 years agoUpdate preloaded classes for O
Mathieu Chartier [Fri, 19 May 2017 23:41:46 +0000 (16:41 -0700)]
Update preloaded classes for O

PSS changes don't seem to be non-noise.

Changed the process slightly, the threshold for persistent processes or
foreground processes is 3. The threshold for other apps is 10. The
reasoning for this is that these apps are always running so their
classes should be weighted more heavily.

The processes that had increased weighing were:
system
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.apps.nexuslauncher
com.google.android.gms
com.google.android.gms.persistent
com.google.android.inputmethod.latin

Preloaded classes: 4148 -> 4592
Compiled classes: 8677 -> 8524
Boot.oat size: 45474248 -> 45434448
Boot.art size: 13615104 -> 13733888

Bug: 34890992
Bug: 37689251
Test: N6P boots

Change-Id: Ief81bfb6d8ae2d971b85bf3e5e9ff11cb2236bab

7 years agoMerge "NsdServiceInfo: move test to tests/net"
Hugo Benichi [Thu, 25 May 2017 01:01:15 +0000 (01:01 +0000)]
Merge "NsdServiceInfo: move test to tests/net"
am: 48859e01d5

Change-Id: I3e864d744b956eff62512419018dd7cd5f692333

7 years agoMerge "NsdServiceInfo: move test to tests/net"
Hugo Benichi [Thu, 25 May 2017 00:50:24 +0000 (00:50 +0000)]
Merge "NsdServiceInfo: move test to tests/net"

7 years agoWorking around bugreport crash issues
Makoto Onuki [Wed, 24 May 2017 21:58:25 +0000 (14:58 -0700)]
Working around bugreport crash issues

Overall we need more synchronization, but I'm taking a safe approach
here for oc-dev for now.

Bug: 62043115
Test: adb shell am instrument -w com.android.shell.tests
Change-Id: I0e22c5160cb96ce51dc1775237f01b7bf5c97a17

7 years agoMerge "Ignore flow label when comparing RAs in APF" am: 81fda77884 am: 6ccdb3fe19
Joel Scherpelz [Thu, 25 May 2017 00:18:44 +0000 (00:18 +0000)]
Merge "Ignore flow label when comparing RAs in APF" am: 81fda77884 am: 6ccdb3fe19
am: ef0bd781b1

Change-Id: I53c2a493946ecc4e5617bcd3f5e64ff0b82fedf2

7 years agoMerge "Don't WTF when assist structure is missing." into oc-dev
Felipe Leme [Thu, 25 May 2017 00:13:10 +0000 (00:13 +0000)]
Merge "Don't WTF when assist structure is missing." into oc-dev
am: 9fe48b43ba

Change-Id: Ibe8fccf20f17327ce86635762accd87f4ccc8b08

7 years agoMerge "Ignore flow label when comparing RAs in APF" am: 81fda77884
Joel Scherpelz [Thu, 25 May 2017 00:12:22 +0000 (00:12 +0000)]
Merge "Ignore flow label when comparing RAs in APF" am: 81fda77884
am: 6ccdb3fe19

Change-Id: I8a463109f896fe91f391c26f4b341e0e0c417d8a

7 years agoMerge "Don't WTF when assist structure is missing." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 00:05:49 +0000 (00:05 +0000)]
Merge "Don't WTF when assist structure is missing." into oc-dev

7 years agoMerge "Ignore flow label when comparing RAs in APF"
Joel Scherpelz [Thu, 25 May 2017 00:04:12 +0000 (00:04 +0000)]
Merge "Ignore flow label when comparing RAs in APF"
am: 81fda77884

Change-Id: Id1a51e03e5065cabb4645d1e05f5e22ab4e98c0a

7 years agoRevert fix for FingerprintManager leak
Kevin Chyn [Wed, 24 May 2017 23:56:56 +0000 (16:56 -0700)]
Revert fix for FingerprintManager leak

Bug: 38509779
Bug: 32295793

Setting to null causes problem seen in b/38509779
Using weakreference will cause problems if the application
declares AuthenticationClient as a weak reference as well and would
very likely break a lot of existing apps.

Test: manual
Change-Id: Iedbdd76f3a402b766ce8a799bf76324d1164a0ec

7 years agoMerge "Ignore flow label when comparing RAs in APF"
Joel Scherpelz [Wed, 24 May 2017 23:54:21 +0000 (23:54 +0000)]
Merge "Ignore flow label when comparing RAs in APF"

7 years agoAutofill UI should still show when dataset authentication is cancelled.
Felipe Leme [Wed, 24 May 2017 20:16:31 +0000 (13:16 -0700)]
Autofill UI should still show when dataset authentication is cancelled.

Test: manual verification
Test: existing CtsAutoFillServiceTestCases pass
Test: LoginActivityTest.testDatasetAuthTwoFieldsUserCancelsFirstAttempt

Fixes: 38427468

Change-Id: If8785ad8fda1408a5dee66c53f7dcb4c85d78262

7 years agoMerge "Update the app window's thumbnail layer after starting window is removed"...
Matthew Ng [Wed, 24 May 2017 23:48:45 +0000 (23:48 +0000)]
Merge "Update the app window's thumbnail layer after starting window is removed" into oc-dev
am: 052ff89f65

Change-Id: I7a622e8e4fee766619828831315d11db1ace6ec9

7 years agoMerge "Update the app window's thumbnail layer after starting window is removed"...
TreeHugger Robot [Wed, 24 May 2017 23:44:10 +0000 (23:44 +0000)]
Merge "Update the app window's thumbnail layer after starting window is removed" into oc-dev

7 years agodocs: Clarifying code snippet for View.autoFill()
Andrew Solovay [Mon, 22 May 2017 22:36:11 +0000 (15:36 -0700)]
docs: Clarifying code snippet for View.autoFill()

Per bug, updating code snippet to clarify that it's an example of an
implementation of the method. Oscar & Felipe, please check that I did
it right!

Also fixed a couple of HTML syntax errors while I had the file open
(badly formatted escape-characters that Chrome figured out, but other
browsers might choke on) and a spelling error.

Revised Javadoc is staged to:

http://go/dac-stage/reference/android/view/View.html#autofill(android.view.autofill.AutofillValue)

Test: make ds-docs
Bug: 38347106
Change-Id: I587a66c53fd5ebeeb6108529723d2d7a74c61cf7

7 years agoMerge "Add ability to dump events in a timeline view." am: 255a171c5d am: 3b27d69612
Tyler Gunn [Wed, 24 May 2017 23:01:22 +0000 (23:01 +0000)]
Merge "Add ability to dump events in a timeline view." am: 255a171c5d am: 3b27d69612
am: a1c225936a

Change-Id: I34c3327e675d1948ae6074337cce800919e03030

7 years agoMerge "Add ability to dump events in a timeline view." am: 255a171c5d
Tyler Gunn [Wed, 24 May 2017 22:52:40 +0000 (22:52 +0000)]
Merge "Add ability to dump events in a timeline view." am: 255a171c5d
am: 3b27d69612

Change-Id: I5363916199a33e795fcfb8497815687cda91f6ef