Commit Graph

414351 Commits

Author SHA1 Message Date
Makoto Onuki
ec41ca2aa7 Merge "pm set-home-activity waits until completion" into qt-dev 2019-04-23 19:36:08 +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
TreeHugger Robot
8cb5228673 Merge "Adding callback when surface params are applied" into qt-dev 2019-04-23 18:32:26 +00:00
TreeHugger Robot
ac8913be19 Merge "Add a lock to protect persistent stats snapshot" into qt-dev 2019-04-23 18:19:06 +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
Jean-Michel Trivi
0591251363 Merge "AudioService: manage hearing aid volume for calls" into qt-dev 2019-04-23 05:07:11 +00:00
Arc Wang
036f404d88 Add action metrics for Wi-Fi provision features
// ACTION: Share a Wi-Fi network by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_QR_CODE

  // ACTION: Connect to a Wi-Fi network by scanning a QR code
  ACTION_SETTINGS_ENROLL_WIFI_QR_CODE

  // ACTION: Share Wi-Fi hotspot by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE

Bug: 130521826
Test: manual
Change-Id: I99e55b53c49830347e48f688aa38afc3912e71b1
2019-04-23 11:26:45 +08:00
Chalard Jean
98c59fafc2 Fix an argument to the legacy broadcast
Test: new test for this
Fixes: 62650382
Change-Id: I918b8271d3c3c058553ca888cb54cd36a6efba66
Merged-In: I0fc408d546ae9d72b7dd9415e502252b484d4329
Merged-In: I9282930106d1eee3274d9e5c4e89de60e929a0e6
2019-04-23 02:36:32 +00:00
Tadashi G. Takaoka
28bc3708d0 Remove CtsActivityManagerDeviceTestCases reference
Bug: 130526034
Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/am
Change-Id: I68e3645bc5fc32c5c577551c18b9e8560c3f1216
2019-04-23 11:23:19 +09:00
Louis Chang
4221d79ab2 Fix NPE when scheduling transaction for null client
Application process was crash and the application thread was set
to null when obtaining the client transaction object. NPE was
thrown by using it to schedule transaction.

Bug: 130006936
Test: WindowProcessControllerTests
Test: ActivityStartControllerTests
Test: RootActivityContainerTests

Change-Id: I65ecb124e014e5d80ebc283884475619f95239fa
2019-04-23 10:19:59 +08:00
TreeHugger Robot
606f1c9ffb Merge "Vulkan Doc: update descriptions for Vulkan feature flags" into qt-dev 2019-04-23 02:04:05 +00:00
sqian
f2f51a8085 Fix urn compare in EmergencyNumber
Test: Sanity
Bug: 130979270
Change-Id: I585ecafcf9996e24befec2dbe86465a1d5a0f030
Merged-In: I585ecafcf9996e24befec2dbe86465a1d5a0f030
(cherry picked from commit 3b35404279)
2019-04-22 18:32:50 -07:00
Sara Kato
9498153dfd Merge "Add @Nullable annotation to getAccessibilityWindowId" into qt-dev 2019-04-23 01:28:23 +00:00
Jeff Chang
77e2b7b4ca Merge "Adjust toast window parameters to support FLAG_SHOW_WHEN_LOCKED" into qt-dev 2019-04-23 01:25:48 +00:00
Rob Carr
0d168340d1 Merge "DimLayer: More release fixes." into qt-dev 2019-04-23 01:15:20 +00:00
TreeHugger Robot
79760f0745 Merge "Update dark mode custom accent colors." into qt-dev 2019-04-23 01:13:59 +00:00
TreeHugger Robot
62ad8b9ccc Merge "Handle NPE when the notification shade is opened via click on button." into qt-dev 2019-04-23 00:44:47 +00:00
Pengquan Meng
057b94f43b Add carrier display name related CarrierConfig
Bug: 122921456
Test: build
Change-Id: I79836b2912be5223a2269e660bfaadf4aa72b930
2019-04-23 00:08:02 +00:00
TreeHugger Robot
29fe1106dd Merge "Adding null check when unregistering slice relay handler" into qt-dev 2019-04-23 00:04:28 +00:00