Commit Graph

414131 Commits

Author SHA1 Message Date
TreeHugger Robot
7abea9fa92 Merge "Fix thermal throttling atoms" into qt-dev 2019-04-19 20:22:40 +00:00
TreeHugger Robot
d4cced9ab6 Merge "Sharesheet - Move work profile text into list" into qt-dev 2019-04-19 20:12:27 +00:00
Lei Yu
622d628fa8 Merge "Add DeviceConfig namespace for settings ui" into qt-dev 2019-04-19 19:44:53 +00:00
TreeHugger Robot
d4b9202696 Merge "AudioService: support "full volume devices"" into qt-dev 2019-04-19 19:42:27 +00:00
TreeHugger Robot
83f228f6cd Merge "Allow caller holding BIND_CONTENT_SUGGESTIONS_SERVICE to make suggestion calls" into qt-dev 2019-04-19 19:31:37 +00:00
Christopher Ferris
5c06f8cecb Merge "Move to android_mallopt for malloc debug calls." into qt-dev 2019-04-19 19:19:19 +00:00
TreeHugger Robot
85a99c394b Merge "Suppress singletap wakeup gesture while pulsing on dock" into qt-dev 2019-04-19 19:10:46 +00: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
Christopher Ferris
4740d54243 Move to android_mallopt for malloc debug calls.
Remove the guardrail/MemoryLeakTrackUtil.* files. They aren't used
and they are a copy of frameworks/av/media/utils/MemoryLeakTrackUtil.*.

Bug: 130028357

Test: Enable backtrace for calendar, run am dumpheap -n <PID> <FILE>
Change-Id: I6ce69465b0c04fae97b3622df2763a2996063d85
Merged-In: I6ce69465b0c04fae97b3622df2763a2996063d85
(cherry picked from commit 98180a344c)
2019-04-19 11:15:50 -07: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
Matt Pietal
74c6ed0ee5 Sharesheet - Move work profile text into list
Move the profile switching logic into the scrollable list area. Fix
visual artifact due to reusing drawable.

Bug: 130353935
Test: atest ChooserActivityTest + visual inspection
Change-Id: I0666b0e61ea696017c2da4854e407d502b7b556c
2019-04-19 11:31:43 -04: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
Jerry Chang
f89d8571b8 Suppress singletap wakeup gesture while pulsing on dock
Fix: 129788726
Test: atest SystemUITests
Test: manual
Change-Id: I6a147ea2dce542eb578a29338f437fb58b8490ee
2019-04-19 15:39:50 +08: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