Commit Graph

414369 Commits

Author SHA1 Message Date
TreeHugger Robot
388f6726ea Merge "Notification guts redesign" into qt-dev 2019-04-23 21:45:25 +00:00
TreeHugger Robot
04f13b4288 Merge "Removed the experimental code for gestural mode" into qt-dev 2019-04-23 21:11:28 +00:00
Mady Mellor
aebf984d90 Merge "Let NoMan know when something is no longer a bubble" into qt-dev 2019-04-23 21:07:05 +00:00
TreeHugger Robot
c51ef32c2b Merge "3->1 binder calls to OverlayManager for Navbar settings" into qt-dev 2019-04-23 21:03:36 +00:00
Jordan Liu
5a3afc8ce7 Merge "Do not populate SLOT_KEY with wrong slot info" into qt-dev 2019-04-23 20:40:09 +00:00
TreeHugger Robot
6db82f8965 Merge "Clean up left over prototype code in Navigation Bar" into qt-dev 2019-04-23 20:12:16 +00:00
Matt Pape
b4a49aa45b Merge "Update settings to properties mapper to use multi property listener." into qt-dev 2019-04-23 19:54:38 +00:00
TreeHugger Robot
dc7de27113 Merge "Camera: fix null pointer dereference" into qt-dev 2019-04-23 19:37:25 +00:00
Howard Ro
14e7eb7108 Merge "Revert "Add apex packages to uid_mapping"" into qt-dev 2019-04-23 19:36:25 +00:00
Makoto Onuki
ec41ca2aa7 Merge "pm set-home-activity waits until completion" into qt-dev 2019-04-23 19:36:08 +00:00
Howard Ro
8979ff52f0 Revert "Add apex packages to uid_mapping"
This reverts commit 67b1e54327.

Bug: 131167067
Reason for revert: b/131167067

Change-Id: I9a6aa7121a83c50fc99954bd2485eccfb26d74f5
2019-04-23 19:35:29 +00:00
TreeHugger Robot
9c505c5572 Merge "Don't start an observer without an extcon device" into qt-dev 2019-04-23 19:33:35 +00:00
TreeHugger Robot
aabebff4b8 Merge "Sharesheet - make work profile badges render" into qt-dev 2019-04-23 19:20:56 +00:00
TreeHugger Robot
5bac48f7c0 Merge "Copy private resources into SettingsLib's ProgressBar." into qt-dev 2019-04-23 19:11:26 +00:00
Hyunyoung Song
65c58f6783 3->1 binder calls to OverlayManager for Navbar settings
Bug: 131112014
Test: builds
Change-Id: I2518ccd28493ef82793c9af192e72ee6521e6fd6
2019-04-23 11:33:58 -07:00
TreeHugger Robot
8cb5228673 Merge "Adding callback when surface params are applied" into qt-dev 2019-04-23 18:32:26 +00:00
Julia Reynolds
8728d00ead Notification guts redesign
Test: atest
Fixes: 130766408
Fixes: 129453207
Bug: 127992400
Fixes: 129507783
Fixes: 130342795
Fixes: 130805969

Change-Id: I93984698c5380badb162774c818a1d040ccf9c1c
2019-04-23 14:29:41 -04:00
Mady Mellor
a54e9fab92 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
2019-04-23 11:22:00 -07:00
TreeHugger Robot
ac8913be19 Merge "Add a lock to protect persistent stats snapshot" into qt-dev 2019-04-23 18:19:06 +00:00
Jordan Liu
656f6f8b66 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 21c3aeb49d)
2019-04-23 18:15:14 +00:00
TreeHugger Robot
fa7a24ef8e Merge "Add content description to sensors off icon in status bar" into qt-dev 2019-04-23 17:56:46 +00:00
TreeHugger Robot
831dc426f1 Merge "Add action metrics for Wi-Fi provision features" into qt-dev 2019-04-23 17:36:54 +00:00
Shuo Qian
8fb57ca86c Merge "Fix urn compare in EmergencyNumber" into qt-dev 2019-04-23 17:27:26 +00:00
Greg Daniel
68406a2dd5 Merge "Make sure to sync GPU after deleting memory in trimMemory." into qt-dev 2019-04-23 16:52:06 +00:00
TreeHugger Robot
65cf57bf6c Merge "Add delay to power-button power-off after gesture wakeup." into qt-dev 2019-04-23 16:31:24 +00:00
Fabian Kozynski
aeb929a3f9 Merge "Remove allocation from HeaderTileLayout#onLayout" into qt-dev 2019-04-23 16:21:57 +00:00
Lucas Dupin
14d351d41b Merge "Add ID field to the Callback" into qt-dev 2019-04-23 16:11:20 +00:00
TreeHugger Robot
4a81a539f4 Merge "Set config_bottomDialogCornerRadius for square icon shape." into qt-dev 2019-04-23 16:03:47 +00:00
TreeHugger Robot
f243662ba3 Merge "[wm] Add tests to check adjust bounds logic will always exit" into qt-dev 2019-04-23 15:57:37 +00:00
Anil Admal
d4203ddebf Merge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev 2019-04-23 15:32:05 +00:00
Anil Admal
69195f2b92 Merge "Change getGnssCapabilites() return type to @NonNull" into qt-dev 2019-04-23 15:31:48 +00:00
Blake Kragten
25b06f04d4 Merge "Update Rail Data Collection Frequency" into qt-dev 2019-04-23 14:26:48 +00:00
Chenbo Feng
bce7364aaf 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 25243b4eb9)
2019-04-23 14:21:05 +00:00
TreeHugger Robot
c2f1cc8b8e Merge "Freeze the networkstack-aidl-interfaces interface" into qt-dev 2019-04-23 14:15:25 +00:00
Fabian Kozynski
9aa53da1be Merge "Remove QS initial tooltip" into qt-dev 2019-04-23 14:08:25 +00:00
Sunny Goyal
21a47e6dea Adding callback when surface params are applied
Bug: 123874711
Test: Verified that there are no leak logs
Change-Id: I5dcb27c9c44d674363824e703b923fa83e3132b9
2019-04-23 06:36:01 -07:00
Alan Stokes
8cee482fdd Merge "Allow second consecutive activity start." into qt-dev 2019-04-23 13:26:40 +00:00
Fabian Kozynski
4aef4e57c8 Merge "Make QSCarrierText always selected" into qt-dev 2019-04-23 12:58:11 +00:00
Santos Cordon
623526b4b3 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
2019-04-23 11:55:29 +01:00
TreeHugger Robot
ec4c269f94 Merge "Fix NPE when scheduling transaction for null client" into qt-dev 2019-04-23 10:35:27 +00:00
Lorenzo Colitti
e8660ef639 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 9b89cdaaf4)
2019-04-23 09:41:44 +00:00
TreeHugger Robot
7c3708170c Merge "Restore window to undefined instead of freeform windowing mode" into qt-dev 2019-04-23 09:15:26 +00:00
TreeHugger Robot
27ad19ee9e Merge "provide a resource overlay to configure customized DNS Server." into qt-dev 2019-04-23 09:05:45 +00:00
TreeHugger Robot
c4fbf3f080 Merge "Remove CtsActivityManagerDeviceTestCases reference" into qt-dev 2019-04-23 09:00:25 +00:00
TreeHugger Robot
33ff97d7f6 Merge "Move some telephony methods to max-sdk-p list." into qt-dev 2019-04-23 08:58:36 +00:00
Alan Stokes
ac9a12924a Allow second consecutive activity start.
If we start two activities in onCreate the second one was being
blocked - because the current activity is no longer top but the new
activity is not yet visible. So we treat an INITIALIZING activity
as being visible for this purpose.

Bug: 130645908
Test: atest BackgroundActivityLaunchTest RootWindowContainerTests \
WmTests:ActivityStarterTests \
CtsWindowManagerDeviceTestCases:ActivityStarterTests
Change-Id: I96749f8b4d385527c91725827880bd12371d2411
2019-04-23 09:09:59 +01:00
Chalard Jean
27f23459d2 Merge "Fix an argument to the legacy broadcast" into qt-dev 2019-04-23 07:04:26 +00:00
Chalard Jean
55a1d5bd5f Merge "Fix a bug where + before % is ignored" into qt-dev 2019-04-23 07:03:24 +00:00
Mingguang Xu
b09eed2309 Merge "Wifi usability: Add timestamp in WifiUsabilityStats" into qt-dev 2019-04-23 06:00:22 +00:00
Bookatz
2b5a601f15 pm set-home-activity waits until completion
PackageManagerShellActivity.runSetHomeActivity used to be synchronous,
but in Q the underlying calls became asynchronous. This cl:

1. changes the shell command to use RoleManager's addRoleHolderAsUser,
instead of calling into PackageManagerService.
2. uses a RemoteCallback to restore the wait-until-complete aspect of
the shell command.
3. consequently, the shell command now accepts either a package name
or a component, but either way, the component will be determined
automatically from the package.

(This is an alternative to ag/6989721; see comments there for
motivation)

Fixes: 128686703
Fixes: 130167856
Test: atest CtsShortcutHostTestCases CtsShortcutManagerTestCases
(.ShortcutManagerThrottlingTest#testActivityUnthrottled fails, but that
is presumably unrelated)
Test: atest android.content.pm.cts.shortcutmanager.ShortcutManagerLauncherApiTest
Test: atest android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest
Change-Id: Ibce6282bf401ca471469448262ea87cfc504cf4f
2019-04-22 22:56:38 -07:00