OSDN Git Service

android-x86/frameworks-base.git
5 years agoUpdate appearance of proxied notifications in guts
Julia Reynolds [Wed, 24 Apr 2019 15:58:38 +0000 (11:58 -0400)]
Update appearance of proxied notifications in guts

Test: manual
Fixes: 131174114
Change-Id: I8725d34e7f2e43c17a1d16fba8ecbe20a0a3d3c9

5 years agoString change
Julia Reynolds [Wed, 24 Apr 2019 14:06:16 +0000 (10:06 -0400)]
String change

Bug: 123899489
Test: make
Change-Id: If9d42711a1442bef57924e5ad01023697edd95ed

5 years agoMerge "Fix broken test case 'testOverlayInfoStateTransitions'" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 13:21:34 +0000 (13:21 +0000)]
Merge "Fix broken test case 'testOverlayInfoStateTransitions'" into qt-dev

5 years agoMerge "Backwards-incompatible resolv module API change for making setResolverConfigur...
Wayne Ma [Wed, 24 Apr 2019 13:05:59 +0000 (13:05 +0000)]
Merge "Backwards-incompatible resolv module API change for making setResolverConfiguration take a parcelable." into qt-dev

5 years agoMerge "Remove Settings constants for NetworkStack" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 11:46:25 +0000 (11:46 +0000)]
Merge "Remove Settings constants for NetworkStack" into qt-dev

5 years agoMerge "Make Watchdog request timeout flag configurable" into qt-dev
Shafik Nassar [Wed, 24 Apr 2019 10:39:39 +0000 (10:39 +0000)]
Merge "Make Watchdog request timeout flag configurable" into qt-dev

5 years agoMerge "Add test for rollback of same version apk." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 10:24:57 +0000 (10:24 +0000)]
Merge "Add test for rollback of same version apk." into qt-dev

5 years agoMerge "Change the test mapping configuration of GTS modules by using "imports.""...
TreeHugger Robot [Wed, 24 Apr 2019 09:36:07 +0000 (09:36 +0000)]
Merge "Change the test mapping configuration of GTS modules by using "imports."" into qt-dev

5 years agoFix broken test case 'testOverlayInfoStateTransitions'
Mårten Kongstad [Wed, 10 Apr 2019 12:33:12 +0000 (14:33 +0200)]
Fix broken test case 'testOverlayInfoStateTransitions'

Commit e0b984e8054 "Diff overlays between PackageManagerService and
OverlayManagerService" removed the OverlayInfo.STATE_TARGET_UPGRADING
state. Update the OverlayManagerServiceImplTests tests accordingly.

Bug: 130257545
Test: atest 'com.android.server.om.OverlayManagerServiceImplTests#testOverlayInfoStateTransitions'
Change-Id: I06fed8cfe4daf0206843d140ae7ab594cc89ab09

5 years agoMerge "Fix idmap scan to apply odm and oem policies" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 08:33:38 +0000 (08:33 +0000)]
Merge "Fix idmap scan to apply odm and oem policies" into qt-dev

5 years agoMerge "Add support for /oem/overlay" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 08:33:38 +0000 (08:33 +0000)]
Merge "Add support for /oem/overlay" into qt-dev

5 years agoMerge changes I84461d40,Ib3ab9105 into qt-dev
Lorenzo Colitti [Wed, 24 Apr 2019 08:11:26 +0000 (08:11 +0000)]
Merge changes I84461d40,Ib3ab9105 into qt-dev

* changes:
  Allow overlaying the DNS probe timeout.
  Add a timeout for the DNS probe.

5 years agoMerge "Disable flaky tests" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 06:58:00 +0000 (06:58 +0000)]
Merge "Disable flaky tests" into qt-dev

5 years agoMerge "Run performInitialGrantsIfNecessaryAsync() on main thread." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 05:57:24 +0000 (05:57 +0000)]
Merge "Run performInitialGrantsIfNecessaryAsync() on main thread." into qt-dev

5 years agoAllow overlaying the DNS probe timeout.
Lorenzo Colitti [Wed, 24 Apr 2019 05:43:50 +0000 (14:43 +0900)]
Allow overlaying the DNS probe timeout.

Test: m
Bug: 129312219
Change-Id: I84461d40e4d2e63ce8c111c047cbc085cb49443e

5 years agoMerge "Race condition while injecting ACTION_OUTSIDE" into qt-dev
Jackal Guo [Wed, 24 Apr 2019 05:47:11 +0000 (05:47 +0000)]
Merge "Race condition while injecting ACTION_OUTSIDE" into qt-dev

5 years agoAdd a timeout for the DNS probe.
Lorenzo Colitti [Tue, 23 Apr 2019 16:57:47 +0000 (09:57 -0700)]
Add a timeout for the DNS probe.

Bug: 129312219
Test: atest NetworkStackTests
Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Change-Id: Ib3ab9105d7ae39f551b51e8d5a04b9ec5e549655
Merged-In: Ib3ab9105d7ae39f551b51e8d5a04b9ec5e549655
(cherry picked from commit c7204f689dc58c3ac84818cb1f8fb9add307d90c)

5 years agoMerge "Add overlay tag for default dns servers." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 05:07:30 +0000 (05:07 +0000)]
Merge "Add overlay tag for default dns servers." into qt-dev

5 years agoMerge "Post a notification when ACQUIRED_RECALIBRATE is received" into qt-dev
Kevin Chyn [Wed, 24 Apr 2019 04:56:10 +0000 (04:56 +0000)]
Merge "Post a notification when ACQUIRED_RECALIBRATE is received" into qt-dev

5 years agoMerge "DngCreator: Assume square pixel centered at (x+0.5, y+0.5)" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 04:50:43 +0000 (04:50 +0000)]
Merge "DngCreator: Assume square pixel centered at (x+0.5, y+0.5)" into qt-dev

5 years agoMerge "Address API council feedback" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 04:29:32 +0000 (04:29 +0000)]
Merge "Address API council feedback" into qt-dev

5 years agoMerge "Move HUN car notifications into SystemUI" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 03:49:16 +0000 (03:49 +0000)]
Merge "Move HUN car notifications into SystemUI" into qt-dev

5 years agoMerge "Fix performance regression by fixing keys used in Typeface.Builder" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 03:35:15 +0000 (03:35 +0000)]
Merge "Fix performance regression by fixing keys used in Typeface.Builder" into qt-dev

5 years agoAdd overlay tag for default dns servers.
Xiao Ma [Wed, 24 Apr 2019 02:28:10 +0000 (11:28 +0900)]
Add overlay tag for default dns servers.

Bug: 130324939
Test: m && flashall && verified dns servers resource has been changed.
Change-Id: Ic897d066567e7c826a18959e1dcc1260f82b4013

5 years agoMerge "Check and configure pixel format when locking canvas" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 02:28:39 +0000 (02:28 +0000)]
Merge "Check and configure pixel format when locking canvas" into qt-dev

5 years agoAddress API council feedback
Svet Ganov [Tue, 23 Apr 2019 21:06:11 +0000 (14:06 -0700)]
Address API council feedback

Test: manual

bug:130643623

Change-Id: I489f32858abfa4fe8eeda96cbb103d75e2a87551

5 years agoMerge "Sharesheet - Scrolling UI adjustments" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:56:52 +0000 (01:56 +0000)]
Merge "Sharesheet - Scrolling UI adjustments" into qt-dev

5 years agoMerge "Transition to bold when shrinking clock" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:34:32 +0000 (01:34 +0000)]
Merge "Transition to bold when shrinking clock" into qt-dev

5 years agoMerge "Make MediaController#getSessionInfo() as @NonNull" into qt-dev
Hyundo Moon [Wed, 24 Apr 2019 01:31:39 +0000 (01:31 +0000)]
Merge "Make MediaController#getSessionInfo() as @NonNull" into qt-dev

5 years agoMerge "Camera: Relax BURST_CAPTURE FPS requirements" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:19:09 +0000 (01:19 +0000)]
Merge "Camera: Relax BURST_CAPTURE FPS requirements" into qt-dev

5 years agoMerge "Add encryption in incidentd." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:01:25 +0000 (01:01 +0000)]
Merge "Add encryption in incidentd." into qt-dev

5 years agoMerge "Initialize Global Actions Panel when one is available" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 00:51:06 +0000 (00:51 +0000)]
Merge "Initialize Global Actions Panel when one is available" into qt-dev

5 years agoMerge "Fix click and long click lock behavior" into qt-dev
Lucas Dupin [Wed, 24 Apr 2019 00:41:45 +0000 (00:41 +0000)]
Merge "Fix click and long click lock behavior" into qt-dev

5 years agoMove HUN car notifications into SystemUI
Brad Stenning [Mon, 15 Apr 2019 17:17:01 +0000 (10:17 -0700)]
Move HUN car notifications into SystemUI

Bug:130664005
Test: Manual via KitchenSink

Change-Id: I4da0ce924962f82c8f4ba1168ba956833c07056a
(cherry picked from commit 93d098db9a57c47b41088f75f0eef46348f0d928)

5 years agoMerge "Fix incorrect error log message in GnssVisibilityControl class" into qt-dev
Anil Admal [Wed, 24 Apr 2019 00:12:41 +0000 (00:12 +0000)]
Merge "Fix incorrect error log message in GnssVisibilityControl class" into qt-dev

5 years agoMerge "ASurfaceControl: fix surface damage" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 23:57:19 +0000 (23:57 +0000)]
Merge "ASurfaceControl: fix surface damage" into qt-dev

5 years agoMerge "Sharesheet - update direct share loading animation" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 23:48:41 +0000 (23:48 +0000)]
Merge "Sharesheet - update direct share loading animation" into qt-dev

5 years agoMerge "Add logging for dozing on or off due to sensor wake up." into qt-dev
Steven Wu [Tue, 23 Apr 2019 23:46:43 +0000 (23:46 +0000)]
Merge "Add logging for dozing on or off due to sensor wake up." into qt-dev

5 years agoMerge "Finish up Intent identifier implementation." into qt-dev
Dianne Hackborn [Tue, 23 Apr 2019 22:43:34 +0000 (22:43 +0000)]
Merge "Finish up Intent identifier implementation." into qt-dev

5 years agoMerge "Add overlayable_icons_test to framework/SystemUI" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 22:39:55 +0000 (22:39 +0000)]
Merge "Add overlayable_icons_test to framework/SystemUI" into qt-dev

5 years agoAdd encryption in incidentd.
Yao Chen [Sun, 21 Apr 2019 21:34:30 +0000 (14:34 -0700)]
Add encryption in incidentd.

+ Sections which require encryption will be encryted on disk.

+ When the sections are requested by clients (e.g., permission controller, report assignee),
  incidentd will decrypte the data.

+ For efficiency, encryption is done ONLY for sections that require encryption.

+ Use Keystore API for key management.

Bug: 131084614
Test: incidentd_test
Change-Id: I84d6b86807ba5bbde1051e847b2df6e79e6b5be5

5 years agoMerge "Ask netd to swap stats map before reading" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:57:09 +0000 (21:57 +0000)]
Merge "Ask netd to swap stats map before reading" into qt-dev

5 years agoMerge "Notification guts redesign" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:45:25 +0000 (21:45 +0000)]
Merge "Notification guts redesign" into qt-dev

5 years agoMerge "Removed the experimental code for gestural mode" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:11:28 +0000 (21:11 +0000)]
Merge "Removed the experimental code for gestural mode" into qt-dev

5 years agoASurfaceControl: fix surface damage
Marissa Wall [Tue, 23 Apr 2019 21:10:15 +0000 (14:10 -0700)]
ASurfaceControl: fix surface damage

There are two problems with surface control.
1) By merging the rects, the Region turned into 0,0,0,0 instead of
an or of the Rects.
2) In the case where an app intends to have a region of 0,0,0,0,
we should treat it the same as a region of 0,0,-1,-1.

Bug: 131175047
Test: ASurfaceControl
Change-Id: Ib2e3b90ac215e069d3d3c2eca81ff1013b4287aa

5 years agoMerge "Let NoMan know when something is no longer a bubble" into qt-dev
Mady Mellor [Tue, 23 Apr 2019 21:07:05 +0000 (21:07 +0000)]
Merge "Let NoMan know when something is no longer a bubble" into qt-dev

5 years agoMerge "3->1 binder calls to OverlayManager for Navbar settings" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:03:36 +0000 (21:03 +0000)]
Merge "3->1 binder calls to OverlayManager for Navbar settings" into qt-dev

5 years agoInitialize Global Actions Panel when one is available
Steve Elliott [Tue, 23 Apr 2019 20:59:06 +0000 (16:59 -0400)]
Initialize Global Actions Panel when one is available

This bug was accidentally introduced when the dialog initialization
logic was modified in ag/6925312.

Test: manual
Bug: 129964234
Change-Id: I7a1a01c22e556b362bbb850be94464530e5a3a96

5 years agoMerge "Do not populate SLOT_KEY with wrong slot info" into qt-dev
Jordan Liu [Tue, 23 Apr 2019 20:40:09 +0000 (20:40 +0000)]
Merge "Do not populate SLOT_KEY with wrong slot info" into qt-dev

5 years agoFix performance regression by fixing keys used in Typeface.Builder
Seigo Nonaka [Tue, 23 Apr 2019 20:21:27 +0000 (13:21 -0700)]
Fix performance regression by fixing keys used in Typeface.Builder

The key used in Typeface.Builder is different from the key used in
findFromCache method. The problem is key generation in Typeface.Builder
since the key should be created from requested parameters not the actual
font styles.

Here is the raw performance differences on walleye-userdebug

android.graphics.perftests.TypefaceCreatePerfTest(us):
  createFromResources: 248 -> 23: (-225, -90.7%)

Bug: 131167183
Test: manually collected perf test result.
Change-Id: Idea25095979707ac84b7f4bc1ede0c2daefd6127

5 years agoFix click and long click lock behavior
Lucas Dupin [Tue, 23 Apr 2019 17:19:27 +0000 (10:19 -0700)]
Fix click and long click lock behavior

Accessibility clicks should unlock the phone and long presses should
disable trust agents.

Fixes: 131059420
Fixes: 130326686
Test: long press with trust agent
Test: double tap with TalkBack on lock screen
Test: double tap with TalkBack on bouncer
Change-Id: Ib2df54c540ebed0adf6c3cbcb82376c02e54d540

5 years agoMerge "Clean up left over prototype code in Navigation Bar" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 20:12:16 +0000 (20:12 +0000)]
Merge "Clean up left over prototype code in Navigation Bar" into qt-dev

5 years agoPost a notification when ACQUIRED_RECALIBRATE is received
Kevin Chyn [Tue, 23 Apr 2019 18:28:43 +0000 (11:28 -0700)]
Post a notification when ACQUIRED_RECALIBRATE is received

Fixes: 130898604

Test: Builds

Change-Id: Ic157f124d8c92a2a79294dffaacdb0c2e40f03e5

5 years agoMerge "Update settings to properties mapper to use multi property listener." into...
Matt Pape [Tue, 23 Apr 2019 19:54:38 +0000 (19:54 +0000)]
Merge "Update settings to properties mapper to use multi property listener." into qt-dev

5 years agoTransition to bold when shrinking clock
Robert Snoeberger [Mon, 22 Apr 2019 20:22:49 +0000 (16:22 -0400)]
Transition to bold when shrinking clock

Bug: 130223602
Test: visual - AOD to lock screen while playing music
Change-Id: Id03f93854bdb98a83664dc651cf1f30618f09176

5 years agoFix incorrect error log message in GnssVisibilityControl class
Anil Admal [Thu, 18 Apr 2019 01:08:46 +0000 (18:08 -0700)]
Fix incorrect error log message in GnssVisibilityControl class

Fixes: 130763415
Test: Verified on a Pixel device.
Change-Id: I83c150df1e99e9fb264fdafd846be1afb33897ed

5 years agoMerge "Camera: fix null pointer dereference" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:37:25 +0000 (19:37 +0000)]
Merge "Camera: fix null pointer dereference" into qt-dev

5 years agoMerge "Revert "Add apex packages to uid_mapping"" into qt-dev
Howard Ro [Tue, 23 Apr 2019 19:36:25 +0000 (19:36 +0000)]
Merge "Revert "Add apex packages to uid_mapping"" into qt-dev

5 years agoMerge "pm set-home-activity waits until completion" into qt-dev
Makoto Onuki [Tue, 23 Apr 2019 19:36:08 +0000 (19:36 +0000)]
Merge "pm set-home-activity waits until completion" into qt-dev

5 years agoRevert "Add apex packages to uid_mapping"
Howard Ro [Tue, 23 Apr 2019 18:59:33 +0000 (18:59 +0000)]
Revert "Add apex packages to uid_mapping"

This reverts commit 67b1e54327e828a39a0706740d3898a8b561a81f.

Bug: 131167067
Reason for revert: b/131167067

Change-Id: I9a6aa7121a83c50fc99954bd2485eccfb26d74f5

5 years agoMerge "Don't start an observer without an extcon device" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:33:35 +0000 (19:33 +0000)]
Merge "Don't start an observer without an extcon device" into qt-dev

5 years agoMerge "Sharesheet - make work profile badges render" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:20:56 +0000 (19:20 +0000)]
Merge "Sharesheet - make work profile badges render" into qt-dev

5 years agoAdd logging for dozing on or off due to sensor wake up.
Steven Wu [Tue, 23 Apr 2019 17:27:33 +0000 (13:27 -0400)]
Add logging for dozing on or off due to sensor wake up.

Test: manual
Bug: 117215619
Change-Id: Ic112fdcf05c934543698d9b6e3b98d56965c64e2

5 years agoMerge "Copy private resources into SettingsLib's ProgressBar." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:11:26 +0000 (19:11 +0000)]
Merge "Copy private resources into SettingsLib's ProgressBar." into qt-dev

5 years ago3->1 binder calls to OverlayManager for Navbar settings
Hyunyoung Song [Tue, 23 Apr 2019 18:24:55 +0000 (11:24 -0700)]
3->1 binder calls to OverlayManager for Navbar settings

Bug: 131112014
Test: builds
Change-Id: I2518ccd28493ef82793c9af192e72ee6521e6fd6

5 years agoMerge "Adding callback when surface params are applied" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 18:32:26 +0000 (18:32 +0000)]
Merge "Adding callback when surface params are applied" into qt-dev

5 years agoNotification guts redesign
Julia Reynolds [Fri, 19 Apr 2019 19:46:13 +0000 (15:46 -0400)]
Notification guts redesign

Test: atest
Fixes: 130766408
Fixes: 129453207
Bug: 127992400
Fixes: 129507783
Fixes: 130342795
Fixes: 130805969

Change-Id: I93984698c5380badb162774c818a1d040ccf9c1c

5 years agoAdd overlayable_icons_test to framework/SystemUI
Amin Shaikh [Wed, 17 Apr 2019 19:24:42 +0000 (15:24 -0400)]
Add overlayable_icons_test to framework/SystemUI

This ensures that developers do not accidentally delete/rename overlayed icons
without updating overlayable_icons_text.xml and renaming overlayed assets.

Bug: 130438597
Bug: 128571899
Test: make tests
Change-Id: I54411b3a587c4798a190f49071d5a8aa399cd824

5 years agoLet NoMan know when something is no longer a bubble
Mady Mellor [Thu, 18 Apr 2019 20:26:18 +0000 (13:26 -0700)]
Let NoMan know when something is no longer a bubble

This is needed for some of the notification group summary stuff to work.

More importantly, this is needed so that we can properly report to apps
if their notification is bubbled or not, e.g. if the user dismisses the
bubble & the notification is in the shade, that shouldn't be reported as
'FLAG_BUBBLE' as that notification is not actually being shown as a bubble.

* Adds onBubbleNotificationChanged to NotificationDelegate to pipe through
  changes in bubble state, currently we only ever change it to 'false' but
  this CL includes ability to flip it to 'true' (and also checks if the
  notif should actually be able to bubble)
* Factors code that indicates something is approved to bubble into own
  method
* Adds way to set BubbleMetadata on a notification (hidden !!)

Bug: 130250809
Test: atest NotificationManagerServiceTest
Change-Id: I8df4cc1231ed5d078ce4d50a70d2631f82fd2306

5 years agoMerge "Add a lock to protect persistent stats snapshot" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 18:19:06 +0000 (18:19 +0000)]
Merge "Add a lock to protect persistent stats snapshot" into qt-dev

5 years agoDo not populate SLOT_KEY with wrong slot info
Jordan Liu [Mon, 22 Apr 2019 20:58:02 +0000 (13:58 -0700)]
Do not populate SLOT_KEY with wrong slot info

The slotId is not necessarily the phoneId, so do not broadcast as if it
is. SLOT_KEY is a hidden extra so this should not impact apps in general
(if they need the old extra they can still use the hidden PHONE_KEY).

For select broadcasts like SIM_CARD_STATE_CHANGED, we will manually
populate the slot key. This is a temporary solution to b/130664115 and
we should eventually review and consider making the SLOT_KEY public for
some broadcasts.

Bug: 130664115
Test: manual
Change-Id: I84bd4c6bc4277e32cee9916dd18dd80948a808a0
(cherry picked from commit 21c3aeb49de064b011a452143f99b623acb94786)

5 years agoMerge "Add content description to sensors off icon in status bar" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:56:46 +0000 (17:56 +0000)]
Merge "Add content description to sensors off icon in status bar" into qt-dev

5 years agoMerge "Add action metrics for Wi-Fi provision features" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:36:54 +0000 (17:36 +0000)]
Merge "Add action metrics for Wi-Fi provision features" into qt-dev

5 years agoMerge "Fix urn compare in EmergencyNumber" into qt-dev
Shuo Qian [Tue, 23 Apr 2019 17:27:26 +0000 (17:27 +0000)]
Merge "Fix urn compare in EmergencyNumber" into qt-dev

5 years agoMerge "Make sure to sync GPU after deleting memory in trimMemory." into qt-dev
Greg Daniel [Tue, 23 Apr 2019 16:52:06 +0000 (16:52 +0000)]
Merge "Make sure to sync GPU after deleting memory in trimMemory." into qt-dev

5 years agoMerge "Add delay to power-button power-off after gesture wakeup." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 16:31:24 +0000 (16:31 +0000)]
Merge "Add delay to power-button power-off after gesture wakeup." into qt-dev

5 years agoDisable flaky tests
John Reck [Tue, 23 Apr 2019 16:23:52 +0000 (09:23 -0700)]
Disable flaky tests

Fixes: 130587638
Fixes: 130158977
Test: this
Change-Id: I173a56b61205aff0903141beeb65e84b739d66e0

5 years agoMerge "Remove allocation from HeaderTileLayout#onLayout" into qt-dev
Fabian Kozynski [Tue, 23 Apr 2019 16:21:57 +0000 (16:21 +0000)]
Merge "Remove allocation from HeaderTileLayout#onLayout" into qt-dev

5 years agoSharesheet - Scrolling UI adjustments
Matt Pietal [Tue, 23 Apr 2019 15:35:53 +0000 (11:35 -0400)]
Sharesheet - Scrolling UI adjustments

Add elevation on scroll for 'scroll under' effect. Remove scrollbars.

Bug: 129979914
Test: Visual inspection
Change-Id: Ia2fd19fc2fd2f3f2e966991e8a907f25c6925df9

5 years agoMerge "Add ID field to the Callback" into qt-dev
Lucas Dupin [Tue, 23 Apr 2019 16:11:20 +0000 (16:11 +0000)]
Merge "Add ID field to the Callback" into qt-dev

5 years agoMerge "Set config_bottomDialogCornerRadius for square icon shape." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 16:03:47 +0000 (16:03 +0000)]
Merge "Set config_bottomDialogCornerRadius for square icon shape." into qt-dev

5 years agoMerge "[wm] Add tests to check adjust bounds logic will always exit" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 15:57:37 +0000 (15:57 +0000)]
Merge "[wm] Add tests to check adjust bounds logic will always exit" into qt-dev

5 years agoMerge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev
Anil Admal [Tue, 23 Apr 2019 15:32:05 +0000 (15:32 +0000)]
Merge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev

5 years agoMerge "Change getGnssCapabilites() return type to @NonNull" into qt-dev
Anil Admal [Tue, 23 Apr 2019 15:31:48 +0000 (15:31 +0000)]
Merge "Change getGnssCapabilites() return type to @NonNull" into qt-dev

5 years agoAdd test for rollback of same version apk.
Richard Uhler [Tue, 23 Apr 2019 14:58:33 +0000 (15:58 +0100)]
Add test for rollback of same version apk.

The test is marked @Ignore because of a bug in RollbackManager that
fails to expire a rollback when there is a new update of an apk to its
same version code:

STACKTRACE:
java.lang.AssertionError: expected null, but was:<android.content.rollback.RollbackInfo@28c0495>
  at org.junit.Assert.fail(Assert.java:88)
  at org.junit.Assert.failNotNull(Assert.java:755)
  at org.junit.Assert.assertNull(Assert.java:737)
  at org.junit.Assert.assertNull(Assert.java:747)
  at com.android.tests.rollback.RollbackTestUtils.getUniqueRollbackInfoForPackage(RollbackTestUtils.java:321)
  at com.android.tests.rollback.RollbackTest.testSameVersionUpdate(RollbackTest.java:795)

Bug: 120200473
Test: atest RollbackTest
Change-Id: Ib03692c170ee689fcf667689dad25647e55f984f

5 years agoMerge "Update Rail Data Collection Frequency" into qt-dev
Blake Kragten [Tue, 23 Apr 2019 14:26:48 +0000 (14:26 +0000)]
Merge "Update Rail Data Collection Frequency" into qt-dev

5 years agoAsk netd to swap stats map before reading
Chenbo Feng [Thu, 28 Feb 2019 03:07:39 +0000 (19:07 -0800)]
Ask netd to swap stats map before reading

To avoid protentail race problem between netd and system_server when
reading the network stats map. Always inform netd before reading the
stats and let netd to do a swap between active stats map and inactive
stats map. So the system_server can safely remove the stats after
reading.

Bug: 126620214
Test: android.app.usage.cts.NetworkUsageStatsTest
      android.net.cts.TrafficStatsTest

Change-Id: I8fa37c26bec23ffca0b29b679e72ba1189f557f1
Merged-In: I8fa37c26bec23ffca0b29b679e72ba1189f557f1
(cherry picked from commit f729cb5fd654a0f099128734f849800fde9ba525)

5 years agoAdd a lock to protect persistent stats snapshot
Chenbo Feng [Fri, 12 Apr 2019 01:44:45 +0000 (18:44 -0700)]
Add a lock to protect persistent stats snapshot

Since the network stats could be polled from multiple services at
runtime, it is not thread safe for networkStatsFactory to hold a
persistent stats snapshot without any protection. Use a internal lock to
prevent concurrent modification on mPersistentSnapshot to fix the
problem.

Bug: 124764595
Test: android.app.usage.cts.NetworkUsageStatsTest
      android.net.cts.TrafficStatsTest

Change-Id: I73851336452110afb74d6dd1ca5e50047d5b3d4a
Merged-In: I73851336452110afb74d6dd1ca5e50047d5b3d4a
Merged-In: I22afb46f17697e8b6359d4f593802e0f4b95db8b
(cherry picked from commit 25243b4eb93c234412a35f9e5d9f1649f8964f83)

5 years agoMerge "Freeze the networkstack-aidl-interfaces interface" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 14:15:25 +0000 (14:15 +0000)]
Merge "Freeze the networkstack-aidl-interfaces interface" into qt-dev

5 years agoMerge "Remove QS initial tooltip" into qt-dev
Fabian Kozynski [Tue, 23 Apr 2019 14:08:25 +0000 (14:08 +0000)]
Merge "Remove QS initial tooltip" into qt-dev

5 years agoAdding callback when surface params are applied
Sunny Goyal [Wed, 10 Apr 2019 22:48:06 +0000 (15:48 -0700)]
Adding callback when surface params are applied

Bug: 123874711
Test: Verified that there are no leak logs
Change-Id: I5dcb27c9c44d674363824e703b923fa83e3132b9

5 years agoMerge "Allow second consecutive activity start." into qt-dev
Alan Stokes [Tue, 23 Apr 2019 13:26:40 +0000 (13:26 +0000)]
Merge "Allow second consecutive activity start." into qt-dev

5 years agoMerge "Make QSCarrierText always selected" into qt-dev
Fabian Kozynski [Tue, 23 Apr 2019 12:58:11 +0000 (12:58 +0000)]
Merge "Make QSCarrierText always selected" into qt-dev

5 years agoAdd delay to power-button power-off after gesture wakeup.
Santos Cordon [Tue, 9 Apr 2019 16:02:38 +0000 (17:02 +0100)]
Add delay to power-button power-off after gesture wakeup.

Adds a small delay to avoid turning off the device if the user
hits the power button right after the device wakes up via a gesture.

Bug: 126560003
Test: Manual
Change-Id: I3116ce98f244e5660573d5fa764a77083aee7fc5

5 years agoMerge "Fix NPE when scheduling transaction for null client" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 10:35:27 +0000 (10:35 +0000)]
Merge "Fix NPE when scheduling transaction for null client" into qt-dev

5 years agoFix idmap scan to apply odm and oem policies
Ryan Mitchell [Tue, 23 Apr 2019 10:09:29 +0000 (03:09 -0700)]
Fix idmap scan to apply odm and oem policies

idmap2 scan was not allowing oem and odm overlays to fulfill the oem and
odm overlayable policies.

Bug: 129735590
Test: manual
Change-Id: I230f72b37b95a997d32f2ef136b6301d970a413c

5 years agoFreeze the networkstack-aidl-interfaces interface
Lorenzo Colitti [Tue, 23 Apr 2019 08:55:01 +0000 (01:55 -0700)]
Freeze the networkstack-aidl-interfaces interface

This freezes the interface as of the latest beta build, not the tip of
tree. IIpClient#setL2KeyAndGroupHint is not in the frozen definition in
particular.

Generated with:
m networkstack-aidl-interfaces-freeze-api \
    ipmemorystore-aidl-interfaces-freeze-api

Test: flashed, booted, WiFi and captive portal working
Bug: 128803828
Change-Id: Ideabe73fc93bbefca2d624ee9ca190cf31419424
Merged-In: Ideabe73fc93bbefca2d624ee9ca190cf31419424
(cherry picked from commit 9b89cdaaf401a6b77e160807039c06e537fa600a)

5 years agoMerge "Restore window to undefined instead of freeform windowing mode" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:15:26 +0000 (09:15 +0000)]
Merge "Restore window to undefined instead of freeform windowing mode" into qt-dev

5 years agoMerge "provide a resource overlay to configure customized DNS Server." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:05:45 +0000 (09:05 +0000)]
Merge "provide a resource overlay to configure customized DNS Server." into qt-dev

5 years agoMerge "Remove CtsActivityManagerDeviceTestCases reference" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:00:25 +0000 (09:00 +0000)]
Merge "Remove CtsActivityManagerDeviceTestCases reference" into qt-dev