Commit Graph

414118 Commits

Author SHA1 Message Date
Beverly
69234d7448 Set min width of checkbox to 48dp
Test: Accessibility Scanner
Fixes: 130775870
Change-Id: I7bf4b92d51d511551dd0aa7ac525d454b968b436
2019-04-22 13:36:27 -04:00
Fabian Kozynski
cc9e2873df Merge "Fixed concatenation to properly discard empty strings" into qt-dev 2019-04-19 18:59:37 +00:00
TreeHugger Robot
0a71ae9536 Merge "Fix app transition delayed cases" into qt-dev 2019-04-19 18:31:56 +00:00
TreeHugger Robot
f2087397ef Merge "Propogate per-display IME status to SysUI" into qt-dev 2019-04-19 18:31:46 +00:00
TreeHugger Robot
151675e37e Merge "Work on issue #130684057: oom_adj scores for 1P apps are abnormally low" into qt-dev 2019-04-19 18:29:26 +00:00
Susi Kharraz-Post
fb3c3679c1 Merge "Add logging field for direct share selection" into qt-dev 2019-04-19 17:47:55 +00:00
Govinda Wasserman
f43587e42d Merge "Adds onInvocationProgress method to AssistManager." into qt-dev 2019-04-19 17:37:58 +00:00
Julia Reynolds
a2620b9c97 Merge "Update clearData flow for notification settings" into qt-dev 2019-04-19 17:29:05 +00:00
Andrii Kulian
8fb611c6ad Merge "Add event logs for top resumed state change" into qt-dev 2019-04-19 16:52:02 +00:00
Fabian Kozynski
3a15b6c1df Merge "Visual changes in QS and made targets clickable" into qt-dev 2019-04-19 16:05:28 +00:00
TreeHugger Robot
b6c8270c7a Merge "Remove ripple from Dark mode tile" into qt-dev 2019-04-19 16:02:24 +00:00
TreeHugger Robot
c246d3a33e Merge "GtsPermissionTestCases: Temporarily remove the GtsPermissionTestCases from TEST MAPPING." into qt-dev 2019-04-19 16:01:04 +00:00
Sudheer Shanka
26bcc0e5ae Merge "Use MediaStore.scanFile instead of manually inserting to MediaProvider." into qt-dev 2019-04-19 15:57:38 +00:00
Lucas Dupin
d1792d4bec Merge "Do not show lock screen when SIM is removed" into qt-dev 2019-04-19 15:54:01 +00:00
TreeHugger Robot
0d257a35a6 Merge "Change how PagedTileLayout is measured" into qt-dev 2019-04-19 15:30:34 +00:00
Julia Reynolds
224ef13774 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
2019-04-19 11:08:27 -04:00
Susi Kharraz-Post
8c14f77cb2 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
2019-04-19 14:44:09 +00:00
Aaron Heuckroth
862db88cb2 Merge "Add unit tests to ListGridLayout." into qt-dev 2019-04-19 14:22:44 +00:00
Govinda Wasserman
b130e947d2 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
2019-04-19 09:35:10 -04:00
Beverly Tai
aac2e8c687 Merge "Check zen modes+manual rule for in consol zen pol" into qt-dev 2019-04-19 13:17:20 +00:00
TreeHugger Robot
7a08cb5c80 Merge "DngCreator: more lens distortion handling" into qt-dev 2019-04-19 12:56:17 +00:00
TreeHugger Robot
f84cc965fe Merge "Make sure focused window is tracked by accessibility even if it is obscured." into qt-dev 2019-04-19 12:35:16 +00:00
TreeHugger Robot
79a58a7fbc Merge "Monitor swap" into qt-dev 2019-04-19 08:53:22 +00:00
TreeHugger Robot
3da53d5297 Merge "Ensure that we are removing recent tasks for a user including their profiles" into qt-dev 2019-04-19 06:56:51 +00:00
TreeHugger Robot
1b92e90402 Merge "Change argument of MediaSession2.Builder#setExtras() as @NonNull" into qt-dev 2019-04-19 06:52:03 +00:00
Winson Chung
1a7a6fa3d4 Merge "Check that sysui states before allowing back gesture" into qt-dev 2019-04-19 06:14:46 +00:00
Rafal Slawik
44af3b3202 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 65a9b7122a)
2019-04-19 06:13:27 +00:00
TreeHugger Robot
84f4980bc2 Merge "Add a flag to cancelDragAndDrop to skip animation" into qt-dev 2019-04-19 05:40:41 +00:00
TreeHugger Robot
ba3b157e32 Merge "Add AppPredictionServiceResolverComparator" into qt-dev 2019-04-19 05:37:21 +00:00
TreeHugger Robot
c87a593dee Merge "Add fallback for TEXTURE_TICK" into qt-dev 2019-04-19 05:35:02 +00:00
lumark
7570cac60e Propogate per-display IME status to SysUI
CL [1] introduced SystemUI to support updating IME window status per
display. (i.e. IStatusBarService#setImeWindowStatus left TODO item to
add displayId parameter to select the target display.)

For IMMS, we applied this API base on current token's displayId, and refined
the code flow in Sysui to reset IME window state for non-target display's
NavBar when single IME switch to another display case.

And make sure some cases in IMMS should reset IME window status:
- When current method unbind.
- When current top window focus display is not same as current token's display.
  (That means the input session may connected but IME window not
  yet attached. Note that it doesn't include external display without
  system decoration and show IME window on default display case since it
  is intentional behavior and we still need to update status for this
  case.)

Also added testSetImeWindowStatusWhenImeSwitchOnDisplay in
NavigationBarFragmentTest to enhance the ability of verifying external
navigation bar.

[1]: 24e7a9fdb5

Bug: 127309955
Bug: 117478341
Test: atest NavigationBarFragmentTest
Test: manual as below steps:
      - Pre-condition:
          1. Enable desktop mode.
          2. Create simulated display.
      - Use case 1):
          1. Launch an activity with input field on simulated display.
          2. Bring up the IME there, expect back key icon on external
             NavBar will changed when IME bring up.
          3. Tap on primary display or launch an activity there.
	     (or pressing home key)
          4. Expect IME will hide & back key icon on external NavBar will
             set back.
      - Use case 2):
          1. Launch activity with input field on default display.
          2. Tapping EditText in activity on default display.
	  3. Expect IME will bring up here and back key icon on default
	     display will changed when IME bring up.
          4. Launch activity without input field in external display.
	     (i.e. clock app)
          5. Expect Both Default & external display's nav bar back key icon
	     will set back.

Change-Id: Ia414b8aea631e295cccd6f6da44d04bad16545c7
2019-04-19 13:33:21 +08:00
TreeHugger Robot
a78b3bac8f Merge "String review follow-up" into qt-dev 2019-04-19 05:31:43 +00:00
TreeHugger Robot
ee187db646 Merge "Remove restricted uitls methods for cross-profile calendar." into qt-dev 2019-04-19 05:24:24 +00:00
TreeHugger Robot
b99646c3a3 Merge "Update wirelessly charging text on lockscreen" into qt-dev 2019-04-19 05:03:53 +00:00
TreeHugger Robot
bd873544af Merge "Update Bubble clock face" into qt-dev 2019-04-19 04:58:01 +00:00
Tim Murray
aaf62b991f Merge "psi support for low memory detection inside ActivityManagerService" into qt-dev 2019-04-19 04:40:56 +00:00
Hyundo Moon
fb0af60377 Change argument of MediaSession2.Builder#setExtras() as @NonNull
Bug: 130777551
Test: make update-api -j;
Change-Id: I39431850d87a6a5e066b83dbbf39e4e9100ac839
2019-04-19 13:17:39 +09:00
TreeHugger Robot
f037899df6 Merge "[wm]: ensure task positioner controller is always cleaned up" into qt-dev 2019-04-19 04:09:23 +00:00
Jin Seok Park
1c41060583 Merge "Rename MediaSession2/MediaController2 methods" into qt-dev 2019-04-19 03:16:11 +00:00
Lucas Dupin
733379cc3a Merge "Move padlock to the top of the lock screen" into qt-dev 2019-04-19 03:16:00 +00:00
TreeHugger Robot
1f4e4e433d Merge "Make LocaleList.isPseudoLocale a public API" into qt-dev 2019-04-19 03:11:31 +00:00
Po-Chien Hsueh
ea0a579127 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
2019-04-19 10:46:48 +08:00
Andrii Kulian
8602401358 Add event logs for top resumed state change
Bug: 130807813
Test: Build and run, check logs
Change-Id: Ib00a38fa308888bfc784d53145fff54325e355d3
2019-04-18 19:41:23 -07:00
Daichi Hirono
3e9d510586 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
2019-04-19 02:30:06 +00:00
Xiangyu/Malcolm Chen
7deafd415b Merge "Adding @hide API to return whether an APN is metered or not." into qt-dev 2019-04-19 02:18:45 +00:00
George Hodulik
c681ce43f9 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>
2019-04-19 02:10:16 +00:00
easoncylee
c264e3c091 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
2019-04-19 01:46:15 +00:00
Mady Mellor
a00cc123db Merge "Revert "Remove the bubble if the notification is no longer FLAG_BUBBLE"" into qt-dev 2019-04-19 01:44:15 +00:00
Mady Mellor
3d5f9da544 Revert "Remove the bubble if the notification is no longer FLAG_BUBBLE"
This reverts commit 34a3073cfd.
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
2019-04-19 01:39:23 +00:00
Mady Mellor
19fd800795 Merge "Remove the bubble if the notification is no longer FLAG_BUBBLE" into qt-dev 2019-04-19 01:36:39 +00:00