OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Work on issue #130684057: oom_adj scores for 1P apps are abnormally low" into...
TreeHugger Robot [Fri, 19 Apr 2019 18:29:26 +0000 (18:29 +0000)]
Merge "Work on issue #130684057: oom_adj scores for 1P apps are abnormally low" into qt-dev

5 years agoMerge "Add logging field for direct share selection" into qt-dev
Susi Kharraz-Post [Fri, 19 Apr 2019 17:47:55 +0000 (17:47 +0000)]
Merge "Add logging field for direct share selection" into qt-dev

5 years agoMerge "Adds onInvocationProgress method to AssistManager." into qt-dev
Govinda Wasserman [Fri, 19 Apr 2019 17:37:58 +0000 (17:37 +0000)]
Merge "Adds onInvocationProgress method to AssistManager." into qt-dev

5 years agoMerge "Update clearData flow for notification settings" into qt-dev
Julia Reynolds [Fri, 19 Apr 2019 17:29:05 +0000 (17:29 +0000)]
Merge "Update clearData flow for notification settings" into qt-dev

5 years agoMerge "Add event logs for top resumed state change" into qt-dev
Andrii Kulian [Fri, 19 Apr 2019 16:52:02 +0000 (16:52 +0000)]
Merge "Add event logs for top resumed state change" into qt-dev

5 years agoMerge "Visual changes in QS and made targets clickable" into qt-dev
Fabian Kozynski [Fri, 19 Apr 2019 16:05:28 +0000 (16:05 +0000)]
Merge "Visual changes in QS and made targets clickable" into qt-dev

5 years agoMerge "Remove ripple from Dark mode tile" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 16:02:24 +0000 (16:02 +0000)]
Merge "Remove ripple from Dark mode tile" into qt-dev

5 years agoMerge "GtsPermissionTestCases: Temporarily remove the GtsPermissionTestCases from...
TreeHugger Robot [Fri, 19 Apr 2019 16:01:04 +0000 (16:01 +0000)]
Merge "GtsPermissionTestCases: Temporarily remove the GtsPermissionTestCases from TEST MAPPING." into qt-dev

5 years agoMerge "Use MediaStore.scanFile instead of manually inserting to MediaProvider." into...
Sudheer Shanka [Fri, 19 Apr 2019 15:57:38 +0000 (15:57 +0000)]
Merge "Use MediaStore.scanFile instead of manually inserting to MediaProvider." into qt-dev

5 years agoMerge "Do not show lock screen when SIM is removed" into qt-dev
Lucas Dupin [Fri, 19 Apr 2019 15:54:01 +0000 (15:54 +0000)]
Merge "Do not show lock screen when SIM is removed" into qt-dev

5 years agoMerge "Change how PagedTileLayout is measured" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 15:30:34 +0000 (15:30 +0000)]
Merge "Change how PagedTileLayout is measured" into qt-dev

5 years agoUpdate clearData flow for notification settings
Julia Reynolds [Fri, 19 Apr 2019 15:08:27 +0000 (11:08 -0400)]
Update clearData flow for notification settings

Some settings need to be maintained (like whether the app
is the default dialer), so don't just wipe away all of the settings.

Test: atest; clear data on default dialer and ensure missed call
notification is still in priority bucket
Fixes: 127855529

Change-Id: Ieba035ffd04de9eef64fa0dfa914209d887d40bf

5 years agoAdd logging field for direct share selection
Susi Kharraz-Post [Wed, 17 Apr 2019 20:33:41 +0000 (16:33 -0400)]
Add logging field for direct share selection

To help evaluate the new ranking algo we want to know if the package for
a direct share was also offered as one of the ranked apps.
Logging the position if it is part of the top apps, otherwise logging
-1.
Also added a test case I missed for HashedStringCache and removing the
test for hashing resulting in the same hashed string when called twice
from the ChooserActivityTest since we now cover that in the
HashedStringCacheTest.

Bug: 130658734
Test: Added more test cases in ChooserActivityTest and did manual
testing

Change-Id: I0e34a6bf64114d94197f62b8219652c33c03a410

5 years agoMerge "Add unit tests to ListGridLayout." into qt-dev
Aaron Heuckroth [Fri, 19 Apr 2019 14:22:44 +0000 (14:22 +0000)]
Merge "Add unit tests to ListGridLayout." into qt-dev

5 years agoAdds onInvocationProgress method to AssistManager.
Govinda Wasserman [Mon, 15 Apr 2019 14:07:37 +0000 (10:07 -0400)]
Adds onInvocationProgress method to AssistManager.

This will allow Assistant invoction methods such as squeeze to show the
new assistant animations.

Test: Tested locally
BUG:123661896
Change-Id: I6b5cb3e55df3ff109fea1cfcce6d3161f8685401

5 years agoMerge "Check zen modes+manual rule for in consol zen pol" into qt-dev
Beverly Tai [Fri, 19 Apr 2019 13:17:20 +0000 (13:17 +0000)]
Merge "Check zen modes+manual rule for in consol zen pol" into qt-dev

5 years agoMerge "DngCreator: more lens distortion handling" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 12:56:17 +0000 (12:56 +0000)]
Merge "DngCreator: more lens distortion handling" into qt-dev

5 years agoMerge "Make sure focused window is tracked by accessibility even if it is obscured...
TreeHugger Robot [Fri, 19 Apr 2019 12:35:16 +0000 (12:35 +0000)]
Merge "Make sure focused window is tracked by accessibility even if it is obscured." into qt-dev

5 years agoMerge "Monitor swap" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 08:53:22 +0000 (08:53 +0000)]
Merge "Monitor swap" into qt-dev

5 years agoMerge "Ensure that we are removing recent tasks for a user including their profiles...
TreeHugger Robot [Fri, 19 Apr 2019 06:56:51 +0000 (06:56 +0000)]
Merge "Ensure that we are removing recent tasks for a user including their profiles" into qt-dev

5 years agoMerge "Change argument of MediaSession2.Builder#setExtras() as @NonNull" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 06:52:03 +0000 (06:52 +0000)]
Merge "Change argument of MediaSession2.Builder#setExtras() as @NonNull" into qt-dev

5 years agoMerge "Check that sysui states before allowing back gesture" into qt-dev
Winson Chung [Fri, 19 Apr 2019 06:14:46 +0000 (06:14 +0000)]
Merge "Check that sysui states before allowing back gesture" into qt-dev

5 years agoMonitor swap
Rafal Slawik [Tue, 16 Apr 2019 12:16:15 +0000 (13:16 +0100)]
Monitor swap

Pull value of VmSwap from /proc/PID/status when capturing
ProcessMemoryState atom.

Before change:
(average pull time nanos) 43355896
(max pull time nanos) 75649278

After change:
(average pull time nanos) 86307073
(max pull time nanos) 151681474

Delta: 2x increase
Pulling frequency is controled via statsd and we trade-off more
expensive reads for more actionable data (helping detect memory leaks).

Bug: 130624561
Test: atest MemoryStatUtilTest
Test: benchmark pulling ProcessMemoryState atom
Test: manually take a statsd report
Change-Id: I1d90563b70b5253b3d31ddab4810db870620c4d4
(cherry picked from commit 65a9b7122ada9db7a95cdfe31fa97b328bd04a06)

5 years agoMerge "Add a flag to cancelDragAndDrop to skip animation" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:40:41 +0000 (05:40 +0000)]
Merge "Add a flag to cancelDragAndDrop to skip animation" into qt-dev

5 years agoMerge "Add AppPredictionServiceResolverComparator" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:37:21 +0000 (05:37 +0000)]
Merge "Add AppPredictionServiceResolverComparator" into qt-dev

5 years agoMerge "Add fallback for TEXTURE_TICK" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:35:02 +0000 (05:35 +0000)]
Merge "Add fallback for TEXTURE_TICK" into qt-dev

5 years agoMerge "String review follow-up" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:31:43 +0000 (05:31 +0000)]
Merge "String review follow-up" into qt-dev

5 years agoMerge "Remove restricted uitls methods for cross-profile calendar." into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:24:24 +0000 (05:24 +0000)]
Merge "Remove restricted uitls methods for cross-profile calendar." into qt-dev

5 years agoMerge "Update wirelessly charging text on lockscreen" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:03:53 +0000 (05:03 +0000)]
Merge "Update wirelessly charging text on lockscreen" into qt-dev

5 years agoMerge "Update Bubble clock face" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 04:58:01 +0000 (04:58 +0000)]
Merge "Update Bubble clock face" into qt-dev

5 years agoMerge "psi support for low memory detection inside ActivityManagerService" into qt-dev
Tim Murray [Fri, 19 Apr 2019 04:40:56 +0000 (04:40 +0000)]
Merge "psi support for low memory detection inside ActivityManagerService" into qt-dev

5 years agoChange argument of MediaSession2.Builder#setExtras() as @NonNull
Hyundo Moon [Thu, 18 Apr 2019 07:27:41 +0000 (16:27 +0900)]
Change argument of MediaSession2.Builder#setExtras() as @NonNull

Bug: 130777551
Test: make update-api -j;
Change-Id: I39431850d87a6a5e066b83dbbf39e4e9100ac839

5 years agoMerge "[wm]: ensure task positioner controller is always cleaned up" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 04:09:23 +0000 (04:09 +0000)]
Merge "[wm]: ensure task positioner controller is always cleaned up" into qt-dev

5 years agoMerge "Rename MediaSession2/MediaController2 methods" into qt-dev
Jin Seok Park [Fri, 19 Apr 2019 03:16:11 +0000 (03:16 +0000)]
Merge "Rename MediaSession2/MediaController2 methods" into qt-dev

5 years agoMerge "Move padlock to the top of the lock screen" into qt-dev
Lucas Dupin [Fri, 19 Apr 2019 03:16:00 +0000 (03:16 +0000)]
Merge "Move padlock to the top of the lock screen" into qt-dev

5 years agoMerge "Make LocaleList.isPseudoLocale a public API" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 03:11:31 +0000 (03:11 +0000)]
Merge "Make LocaleList.isPseudoLocale a public API" into qt-dev

5 years agoString review follow-up
Po-Chien Hsueh [Tue, 16 Apr 2019 08:24:27 +0000 (16:24 +0800)]
String review follow-up

Rename "Android On Tap" to "Dynamic System Updates".
And, some string changes to follow review suggestions.

Bug: 129100345
Bug: 129330026
Test: make the package
Change-Id: I440e5beaa3831814d2f7f1063be16d073c5f2c38

5 years agoAdd event logs for top resumed state change
Andrii Kulian [Fri, 19 Apr 2019 02:41:23 +0000 (19:41 -0700)]
Add event logs for top resumed state change

Bug: 130807813
Test: Build and run, check logs
Change-Id: Ib00a38fa308888bfc784d53145fff54325e355d3

5 years agoAdd a flag to cancelDragAndDrop to skip animation
Daichi Hirono [Mon, 15 Apr 2019 06:58:11 +0000 (15:58 +0900)]
Add a flag to cancelDragAndDrop to skip animation

When running cancel animation for drag shadow image, the system cannot
start another drag operation, which is problematic when the system would
start the other drag operation quickly.

Bug: 130313958
Test: Cancel drag operation by calling cancelDragAndDrop
Change-Id: I5d6650a0ce9a4cd80bbdb1beabc9e514349ccadc

5 years agoMerge "Adding @hide API to return whether an APN is metered or not." into qt-dev
Xiangyu/Malcolm Chen [Fri, 19 Apr 2019 02:18:45 +0000 (02:18 +0000)]
Merge "Adding @hide API to return whether an APN is metered or not." into qt-dev

5 years agoAdd AppPredictionServiceResolverComparator
George Hodulik [Sat, 13 Apr 2019 00:10:31 +0000 (17:10 -0700)]
Add AppPredictionServiceResolverComparator

This will sort the share activities based on the APS sorting.
We add a constructor for ResolverListController which takes an
AbstractResolverComparator, so that ChooserActivity may pass in
the APS comparator if it is enabled and available.

Test: Manually tested on APS sorter that did no sorting.
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Bug: 129014961
Change-Id: I542254ffb0debad45bcd8d5073cc3f3e1bafc616
Signed-off-by: George Hodulik <georgehodulik@google.com>
5 years agoGtsPermissionTestCases: Temporarily remove the GtsPermissionTestCases
easoncylee [Fri, 19 Apr 2019 01:09:31 +0000 (09:09 +0800)]
GtsPermissionTestCases: Temporarily remove the GtsPermissionTestCases
from TEST MAPPING.

Bug: 124834825

Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/pm/permission/TEST_MAPPING
Change-Id: Iffbf902cda2d79a1f70042d050512b63ef56a0c3

5 years agoMerge "Revert "Remove the bubble if the notification is no longer FLAG_BUBBLE"" into...
Mady Mellor [Fri, 19 Apr 2019 01:44:15 +0000 (01:44 +0000)]
Merge "Revert "Remove the bubble if the notification is no longer FLAG_BUBBLE"" into qt-dev

5 years agoRevert "Remove the bubble if the notification is no longer FLAG_BUBBLE"
Mady Mellor [Fri, 19 Apr 2019 01:39:23 +0000 (01:39 +0000)]
Revert "Remove the bubble if the notification is no longer FLAG_BUBBLE"

This reverts commit 34a3073cfd47f70c5453f6eb1ccf446b0f7ee387.
Bug: 128459529
Reason for revert: I bypassed treehugger but after looking at all the test failures some of them might have been me

Change-Id: I5e34001a3340610a86ab5d9f6ffd29ef6ecd7b39

5 years agoMerge "Remove the bubble if the notification is no longer FLAG_BUBBLE" into qt-dev
Mady Mellor [Fri, 19 Apr 2019 01:36:39 +0000 (01:36 +0000)]
Merge "Remove the bubble if the notification is no longer FLAG_BUBBLE" into qt-dev

5 years agoUse MediaStore.scanFile instead of manually inserting to MediaProvider.
Sudheer Shanka [Fri, 19 Apr 2019 01:26:56 +0000 (18:26 -0700)]
Use MediaStore.scanFile instead of manually inserting to MediaProvider.

Bug: 126378047
Test: manual
Change-Id: Ided7c2fa861055d41581b15bd9d0678a29bcb825

5 years agoEnsure that we are removing recent tasks for a user including their profiles
Winson Chung [Wed, 17 Apr 2019 22:40:11 +0000 (15:40 -0700)]
Ensure that we are removing recent tasks for a user including their profiles

- Also ensure that only the recents component can freeze the task list

Bug: 130662533
Test: atest RecentTasksTest
Change-Id: I0bdebcfd03f998b5a897e7622e9207c442b05957

5 years agoMove padlock to the top of the lock screen
Lucas Dupin [Wed, 17 Apr 2019 23:50:58 +0000 (16:50 -0700)]
Move padlock to the top of the lock screen

Test: tap on notification on lock screen
Test: tap on notification on shade locked
Test: swipe down from the top expanding QS
Test: swipe up from LS
Test: switch between pin, pattern and password
Test: add and remove locked sim card
Test: atest KeyguardBottomAreaTest
Test: atest KeyguardClockPositionAlgorithmTest
Test: atest KeyguardMessageAreaTest
Test: atest KeyguardIndicationControllerTest
Test: atest StatusBarKeyguardViewManagerTest
Test: atest KeyguardBouncerTest
Test: atest KeyguardPatternViewTest
Fixes: 130398499
Fixes: 130298363
Fixes: 129784068
Fixes: 130223966
Change-Id: Ib1706de259fa4b1f4ef13f654cbd931457733d82

5 years agoAdding @hide API to return whether an APN is metered or not.
Malcolm Chen [Thu, 18 Apr 2019 20:49:17 +0000 (13:49 -0700)]
Adding @hide API to return whether an APN is metered or not.

In addition, make isMmsDataEnabled more generic:
isDataEnabledForApn

Bug: 128616035
Test: manual
Change-Id: Icd520c3094dd761a13435fae79b7b6b3ba2ebda9

5 years agoMerge "Fix crash." into qt-dev
Andrew Chant [Thu, 18 Apr 2019 23:14:57 +0000 (23:14 +0000)]
Merge "Fix crash." into qt-dev

5 years agoMerge "Make RemoteService propagate Context#bindService failure to PendingRequests...
TreeHugger Robot [Thu, 18 Apr 2019 23:07:32 +0000 (23:07 +0000)]
Merge "Make RemoteService propagate Context#bindService failure to PendingRequests" into qt-dev

5 years agoDo not show lock screen when SIM is removed
Lucas Dupin [Thu, 18 Apr 2019 20:59:04 +0000 (13:59 -0700)]
Do not show lock screen when SIM is removed

Test: insert and remove locked sim card on lock screen
Test: insert and remove locked sim card on sim pin pad
Test: insert and remove locked sim card on launcher
Fixes: 123492487
Change-Id: I09eabdb46a4d6016a35e2b0c2b71c72ec6914af6

5 years agoMerge "Modify docs to reflect operational changes in overrideConfig" into qt-dev
Brad Ebinger [Thu, 18 Apr 2019 21:39:33 +0000 (21:39 +0000)]
Merge "Modify docs to reflect operational changes in overrideConfig" into qt-dev

5 years agoMerge "Added BlendMode equivalent APIs to replace deprecated PorterDuff variants...
Nader Jawad [Thu, 18 Apr 2019 21:18:32 +0000 (21:18 +0000)]
Merge "Added BlendMode equivalent APIs to replace deprecated PorterDuff variants" into qt-dev

5 years agoCheck that sysui states before allowing back gesture
Winson Chung [Wed, 17 Apr 2019 23:54:23 +0000 (16:54 -0700)]
Check that sysui states before allowing back gesture

- Ensure not in immersive mode, and also that the notification panel is
  not expanded

Bug: 130340004
Bug: 130417141
Test: Manual, ensure back doesn't work when notification panel is down or
      app is in immersive mode

Change-Id: I29f5cd80cc89b28802ca8b2c9e2956ae5b3b1151

5 years agoMerge "Fix dark mode NPE" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 21:00:31 +0000 (21:00 +0000)]
Merge "Fix dark mode NPE" into qt-dev

5 years agoWork on issue #130684057: oom_adj scores for 1P apps are abnormally low
Dianne Hackborn [Wed, 17 Apr 2019 21:18:18 +0000 (14:18 -0700)]
Work on issue #130684057: oom_adj scores for 1P apps are abnormally low

Also bind with BIND_NOT_VISIBLE from JobScheduler, so we don't raise the
target's oom_adj in to the visible range.  It isn't.

Bug: 130684057
Test: manual
Change-Id: I995fc74136941b064b625b59915a8e182de91221

5 years agoFix crash.
Joel Galenson [Thu, 18 Apr 2019 20:30:45 +0000 (13:30 -0700)]
Fix crash.

Fix a SysUI NullPointerException.

Bug: 130821357
Test: atest BubbleControllerTest KeyButtonViewTest
Change-Id: I56923480bd2c3441cd9328e52b4b5bd35d676dc2

5 years agoAdd unit tests to ListGridLayout.
Aaron Heuckroth [Thu, 18 Apr 2019 18:23:48 +0000 (14:23 -0400)]
Add unit tests to ListGridLayout.

Test: Automated tests pass.

Fixes: 130809323
Change-Id: Ib4193536e437b9ec406690ea648ac78d2eac185c

5 years agoUpdate wirelessly charging text on lockscreen
Beverly [Thu, 18 Apr 2019 20:19:00 +0000 (16:19 -0400)]
Update wirelessly charging text on lockscreen

Test: manual
Bug: 130762799
Bug: 130762485
Change-Id: I87fc87fafd968cdb4987b1c55e79dbccf70ae137

5 years agoModify docs to reflect operational changes in overrideConfig
Brad Ebinger [Wed, 17 Apr 2019 22:27:13 +0000 (15:27 -0700)]
Modify docs to reflect operational changes in overrideConfig

Bug: 130372397
Test: Manual
Merged-In: Iff2a6e2cf867ab2e8677ac67f31d87e0365ec9fa
Change-Id: Iff2a6e2cf867ab2e8677ac67f31d87e0365ec9fa
(cherry picked from commit ddad44d41a32c7fbad33745c4542ce2931d627f4)

5 years agoMerge "Add @TestApi to StatusBarManager @SystemApi methods" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 19:58:25 +0000 (19:58 +0000)]
Merge "Add @TestApi to StatusBarManager @SystemApi methods" into qt-dev

5 years agoMerge "GraphicsEnvironment: Expose query to determine ANGLE use" into qt-dev
Cody Northrop [Thu, 18 Apr 2019 19:47:07 +0000 (19:47 +0000)]
Merge "GraphicsEnvironment: Expose query to determine ANGLE use" into qt-dev

5 years agoMerge "Don't call ConnectivityService when holding ActivityManagerService lock."...
Irina Dumitrescu [Thu, 18 Apr 2019 19:25:14 +0000 (19:25 +0000)]
Merge "Don't call ConnectivityService when holding ActivityManagerService lock." into qt-dev

5 years agoMerge "Remove ContentCaptureServerSession when app died." into qt-dev
Felipe Leme [Thu, 18 Apr 2019 19:06:04 +0000 (19:06 +0000)]
Merge "Remove ContentCaptureServerSession when app died." into qt-dev

5 years agoMerge "Add build number to aapt2 version" into qt-dev
Ryan Mitchell [Thu, 18 Apr 2019 19:04:40 +0000 (19:04 +0000)]
Merge "Add build number to aapt2 version" into qt-dev

5 years agoFix dark mode NPE
Lucas Dupin [Thu, 18 Apr 2019 18:56:28 +0000 (11:56 -0700)]
Fix dark mode NPE

Fixes: 130812424
Test: toggle dark mode via tile after rebooting and dimssing power menu
Change-Id: I230c843f3246661286e2b4f56540da58fe8b0a3c

5 years agoMerge "Use checkOp instead of noteOp in AccountManagerService." into qt-dev
Dmitry Dementyev [Thu, 18 Apr 2019 18:50:56 +0000 (18:50 +0000)]
Merge "Use checkOp instead of noteOp in AccountManagerService." into qt-dev

5 years agoMerge "Move dark theme tile to the right" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 18:49:12 +0000 (18:49 +0000)]
Merge "Move dark theme tile to the right" into qt-dev

5 years agoDngCreator: more lens distortion handling
Yin-Chia Yeh [Thu, 11 Apr 2019 21:41:31 +0000 (14:41 -0700)]
DngCreator: more lens distortion handling

Handling the case where RAW image contains optical black regions.

Test: visually check DNG captured on Pixel 2 camera 0.
Bug: 118690688
Change-Id: I0586c37f30744e1badc6ff1e96d22a826972d656

5 years agoMerge "Change ServiceState and TelephonyRegistry logging" into qt-dev
Hall Liu [Thu, 18 Apr 2019 18:24:53 +0000 (18:24 +0000)]
Merge "Change ServiceState and TelephonyRegistry logging" into qt-dev

5 years agoMerge "Fix back presses dismissing bubbles when IME is up" into qt-dev
Mady Mellor [Thu, 18 Apr 2019 18:21:22 +0000 (18:21 +0000)]
Merge "Fix back presses dismissing bubbles when IME is up" into qt-dev

5 years agoMerge "Adds timestamp to Assistant invocation bundles." into qt-dev
Govinda Wasserman [Thu, 18 Apr 2019 18:17:15 +0000 (18:17 +0000)]
Merge "Adds timestamp to Assistant invocation bundles." into qt-dev

5 years agoMerge "Fix: Allow system IME to be disabled when another IME is available" into qt-dev
Tarandeep Singh [Thu, 18 Apr 2019 18:04:05 +0000 (18:04 +0000)]
Merge "Fix: Allow system IME to be disabled when another IME is available" into qt-dev

5 years agoRemove the bubble if the notification is no longer FLAG_BUBBLE
Mady Mellor [Thu, 11 Apr 2019 20:36:40 +0000 (13:36 -0700)]
Remove the bubble if the notification is no longer FLAG_BUBBLE

Previously if a notification that was a bubble got updated such that it
would fail our bubble criteria, we wouldn't actually remove the bubble we
would just stop updating that bubble. This CL fixes it so that we'll remove
the bubble in that case.

This CL also factors all of the 'shouldBubble' logic into Notification
InterruptionStateProvider.

Fixes: 128459529
Test: CTSVerifier tests in other CL; atest BubbleControllerTest
Change-Id: I4864ce1ef48354336bed57902083eeb57225e955

5 years agoMerge "Indicate that a TrustAgent kept the phone unlocked" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 17:28:38 +0000 (17:28 +0000)]
Merge "Indicate that a TrustAgent kept the phone unlocked" into qt-dev

5 years agoMerge "Add ability to dump specific dependency controller" into qt-dev
Winson Chung [Thu, 18 Apr 2019 17:14:04 +0000 (17:14 +0000)]
Merge "Add ability to dump specific dependency controller" into qt-dev

5 years agoAdd ability to dump specific dependency controller
Winson Chung [Wed, 17 Apr 2019 22:42:40 +0000 (15:42 -0700)]
Add ability to dump specific dependency controller

Bug: 130804868
Test: adb shell dumpsys activity service SystemUIService Dependency OverviewProxyService
Change-Id: Ie88f62d0d0b17ded6f8ff5d3d850f1f444eed444

5 years agoMerge "Add EuiccManager#EXTRA_PHYSICAL_SLOT_ID to detect it's an operation for pSIM...
Jiuyu Sun [Thu, 18 Apr 2019 17:05:18 +0000 (17:05 +0000)]
Merge "Add EuiccManager#EXTRA_PHYSICAL_SLOT_ID to detect it's an operation for pSIM." into qt-dev

5 years agoMove dark theme tile to the right
Lucas Dupin [Thu, 18 Apr 2019 16:21:15 +0000 (09:21 -0700)]
Move dark theme tile to the right

Test: visual
Bug: 130253100
Change-Id: I833fbd13624b93c5b2318b19a30a270941d9bcae

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 15:48:26 +0000 (15:48 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 15:40:25 +0000 (15:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Add logs to identify screen state change callback in ATMS." into qt-dev
Varun Shah [Thu, 18 Apr 2019 15:31:48 +0000 (15:31 +0000)]
Merge "Add logs to identify screen state change callback in ATMS." into qt-dev

5 years agoMerge "Start bringing back legacy storage tests." into qt-dev
Jeff Sharkey [Thu, 18 Apr 2019 15:30:32 +0000 (15:30 +0000)]
Merge "Start bringing back legacy storage tests." into qt-dev

5 years agoVisual changes in QS and made targets clickable
Fabian Kozynski [Thu, 4 Apr 2019 18:17:48 +0000 (14:17 -0400)]
Visual changes in QS and made targets clickable

* Added clickable targets and intents to Next alarm, Ringer mode and
QSCarrier items. This includes making the tap targets 48dp high.
* Added contentDescription to alarm icon in QS Header info
* Changed icons to ones without inset so views are properly aligned
* Made text in QS header marquee
* Reduces vertical margin between tiles in landscape to fit 2 rows (when
not in VPN).
* Correctly align all children of QuickStatusBarHeader that should be
aligned

Test: visual
Test: manual, tap targets go to correct destination
Fixes: 129350749

Change-Id: I6cc984ec4d58bf1afc9eb6822ded786591f5c7b8

5 years agoChange how PagedTileLayout is measured
Fabian Kozynski [Mon, 15 Apr 2019 18:09:43 +0000 (14:09 -0400)]
Change how PagedTileLayout is measured

The change makes PagedTileLayout only use excess space from QSPanel
after other views have been measured and the padding has been accounted
for (see LinearLayout#measureVertical).

PagedTileLayout caches the last height to be measured so as to minimize
the number of times the number of rows is recalculated (and prevent
loops).

Also, fixed the calculation in TileLayout#updateMaxRows to match the
height calculation in TileLayout#onMeasure.

Test: manual, stress testing with multiple pages, adding and removing
tiles, starting and disconnecting VPN, changing display size
Bug:122714773

Change-Id: I5c85f03cfc79e341244d213fd92307821db80889

5 years agoUpdate Bubble clock face
Robert Snoeberger [Wed, 17 Apr 2019 18:01:03 +0000 (14:01 -0400)]
Update Bubble clock face

This is part of the response to burn in testing.

Fixes: 130422138
Test: mp sysuig and checked clock in picker app
Change-Id: I97816379c160801e67ffb7b9fbb340d2d98e1255

5 years agoMerge "DO NOT MERGE: disable iorap in q" into qt-dev
Tim Murray [Thu, 18 Apr 2019 15:18:48 +0000 (15:18 +0000)]
Merge "DO NOT MERGE: disable iorap in q" into qt-dev

5 years agoMerge "Change the validation URL for Chinese SIMs" into qt-dev
Lorenzo Colitti [Thu, 18 Apr 2019 15:06:34 +0000 (15:06 +0000)]
Merge "Change the validation URL for Chinese SIMs" into qt-dev

5 years agoMerge "Update Multi-OffHost related API definition" into qt-dev
Jack Yu [Thu, 18 Apr 2019 14:34:28 +0000 (14:34 +0000)]
Merge "Update Multi-OffHost related API definition" into qt-dev

5 years agoChange the validation URL for Chinese SIMs
Remi NGUYEN VAN [Fri, 12 Apr 2019 12:54:46 +0000 (05:54 -0700)]
Change the validation URL for Chinese SIMs

The default HTTPS and fallback validation URLs are not accessible from
China, so users in China never get a validated network on WiFi with the
default AOSP settings. OEMs selling devices targeting China typically
change the check URLs for that reason.

When the device uses a Chinese SIM card, change the default validation
URLs to URLs accessible accessible from China as of now.

Test: inserted China SIM, WiFi off/on, dumpsys network_stack shows new
      URL used
Bug: 111819230
Change-Id: Ib7f41f470ef1a9c7712f2477ebfab44e915cf1b9
Merged-In: Ib7f41f470ef1a9c7712f2477ebfab44e915cf1b9
(cherry picked from commit 990ea84d2d60256d8c752a4a582de0f5a28932c9)

5 years agoRemove ripple from Dark mode tile
Fabian Kozynski [Thu, 18 Apr 2019 13:05:15 +0000 (09:05 -0400)]
Remove ripple from Dark mode tile

As when enabling Battery saver and entering Dark Mode, the ripple
animation is interrupted due to QS recreating. This disables the
animation from the Dark mode tile.

Fixes: 130745997
Test: visual
Change-Id: I5c44c1408efe70f46a3ac301b86e01c77bc0e98d

5 years agoCheck zen modes+manual rule for in consol zen pol
Beverly [Mon, 15 Apr 2019 15:21:25 +0000 (11:21 -0400)]
Check zen modes+manual rule for in consol zen pol

When creating the consolidated zen policy:
- Check the zen mode of the automatic zen rules. These will take
precendence over the ZenPolicy.
- Check the manual zen rule.

Test: atest SystemUITests
Bug: 130152926
Change-Id: Ie7604d8f4fd625ea0e0c2fc701c5b903402f8494

5 years agoMerge "Return copies for get methods" into qt-dev
Jack Yu [Thu, 18 Apr 2019 12:42:12 +0000 (12:42 +0000)]
Merge "Return copies for get methods" into qt-dev

5 years agoDon't call ConnectivityService when holding ActivityManagerService lock.
Irina Dumitrescu [Mon, 15 Apr 2019 18:20:38 +0000 (19:20 +0100)]
Don't call ConnectivityService when holding ActivityManagerService lock.

Exclude system server thread from the threads on which we call updateHttpProxy() from the Activity Manager.

Test: atest HostsideVpnTests
Bug: 128465980
Change-Id: Ia2b2c6de8a01a264bfb09393144641d91ee2c164

5 years agoMerge "Ensure Contrast: Address API feedback" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 11:17:43 +0000 (11:17 +0000)]
Merge "Ensure Contrast: Address API feedback" into qt-dev

5 years agoMerge "Make sure Notification#deleteIntent cannot be used to start activities from...
Michal Karpinski [Thu, 18 Apr 2019 09:31:32 +0000 (09:31 +0000)]
Merge "Make sure Notification#deleteIntent cannot be used to start activities from background" into qt-dev

5 years agoMerge "Organize intelligence counters together" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 09:25:51 +0000 (09:25 +0000)]
Merge "Organize intelligence counters together" into qt-dev

5 years agoMerge "WifiMetrics: add histogram of passpoint provisioning" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 09:07:43 +0000 (09:07 +0000)]
Merge "WifiMetrics: add histogram of passpoint provisioning" into qt-dev

5 years agoMerge "Add ability to center a notification icon" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 06:53:48 +0000 (06:53 +0000)]
Merge "Add ability to center a notification icon" into qt-dev