Commit Graph

98273 Commits

Author SHA1 Message Date
TreeHugger Robot
9711bbdd15 Merge "Change visibility of members in StatsEvent" 2019-11-23 00:08:52 +00:00
Evan Rosky
1d650e941c Merge "Add per-display Configuration change reporting" 2019-11-22 23:43:49 +00:00
TreeHugger Robot
153f66fb91 Merge "Fix "Allow the system AssetManager to be reinitialized for testing"" 2019-11-22 22:39:00 +00:00
TreeHugger Robot
2768219198 Merge "Revert "Make getStateDescription() in View none final"" 2019-11-22 22:37:00 +00:00
TreeHugger Robot
72672006c8 Merge "Make Settings.Global.HIDE_ERROR_DIALOGS a TestApi" 2019-11-22 22:09:36 +00:00
Evan Rosky
822070856d Add per-display Configuration change reporting
Adds reporting per-display configuration changes to
hierarchy listeners. On system-ui's side, the
DisplayWindowController then dispatches to other registrants
within the process.

Bug: 133381284
Test: Added testDisplayWindowListener
Change-Id: I68c4e9e229b97a9e91ad0d4f5276447a947c413b
2019-11-22 11:36:11 -08:00
Deepika Likhite
27b2fa177d Revert "Make getStateDescription() in View none final"
This reverts commit c9cb2e8307.

Reason for revert: <http://b/144786884>

Bug: 144786884

Exempt-From-Owner-Approval:see go/perf-revert-first

Change-Id: I0dd6047c2d3c8d757d8e1afe66d85a60075536b6
2019-11-22 18:31:01 +00:00
TreeHugger Robot
abeb293252 Merge "Unlink perission from app-op for package usage stats" 2019-11-22 18:04:24 +00:00
David Su
3a9a1fb8f9 Merge changes from topic "wifi-manager-constructors"
* changes:
  Removed references to Manager AIDL from constructors
  Migrate WifiCommand to WifiShellCommand
2019-11-22 18:00:23 +00:00
Mohammad Samiul Islam
07b53113f1 Merge "Prevent staging multiple sessions on devices not supporting checkpoint" 2019-11-22 17:44:32 +00:00
Matt Pape
e6bc101c5f Merge "Add DeviceConfig.setProperties method for atomic writing." 2019-11-22 17:19:28 +00:00
Rhed Jao
b7d554f4a8 Merge "Revert "Accessibility shortcut improvement (2/n)"" 2019-11-22 08:04:04 +00:00
cncn
f4878a0094 Merge "Make Notification.Builder.SetFlag public" am: c8bd4aecb3 am: dca2d45630
am: 689403c3d5

Change-Id: I8e8d117020327593833536ae7ee43e5b94899c9e
2019-11-21 19:02:49 -08:00
cncn
689403c3d5 Merge "Make Notification.Builder.SetFlag public" am: c8bd4aecb3
am: dca2d45630

Change-Id: I705e0967e993237d9f1ac2b276e66fab2422f098
2019-11-21 18:51:47 -08:00
cncn
dca2d45630 Merge "Make Notification.Builder.SetFlag public"
am: c8bd4aecb3

Change-Id: I3b8ff8e7c754b12778e40a9abcc829fb7a12671b
2019-11-21 18:41:27 -08:00
Muhammad Qureshi
3e301e8c1b Change visibility of members in StatsEvent
- Rename writeAttributionNode to writeAttributionChain
- Make Type Id, size limit constants public and @hide for testing
- Change visibility of StatsEvent package protected functions to public

Bug: 141696033
Test: m -j
Change-Id: Ia4818f621672d469390bf7654bdd317f0cd11692
2019-11-21 17:44:22 -08:00
TreeHugger Robot
3674ae2f7b Merge "Use static filter for inflater of RemoteViews" 2019-11-22 01:02:28 +00:00
TreeHugger Robot
461ad093e6 Merge "Add some synchronous input trace points." 2019-11-22 00:47:20 +00:00
Treehugger Robot
c8bd4aecb3 Merge "Make Notification.Builder.SetFlag public" 2019-11-22 00:39:10 +00:00
Ytai Ben-tsvi
a99e006cd8 Merge changes from topic "hidl-memory-java"
* changes:
  Add HidlMemoryUtil
  Add parceling support for HIDL memory in Java
2019-11-22 00:33:34 +00:00
Philip P. Moltmann
a832dc4bb9 Unlink perission from app-op for package usage stats
... as code expects incomplete behavior

Fixes: 141032267
Test: atest RuntimePermissionProperties
Change-Id: I49f0e0b4f3dd1bcb316a0180bb1cdad06dc8aa8c
2019-11-21 15:02:54 -08:00
cncn
9d0fd9c9d6 Make Notification.Builder.SetFlag public
Bug: 144846447
Test: Build Successfully
Change-Id: If25bede41eec1f7e7ca3ae8fc669df1964d7da05
2019-11-21 22:55:13 +00:00
Matt Pape
4bd0a6a259 Add DeviceConfig.setProperties method for atomic writing.
This method accepts multiple flags and overrides the values of all flags
in the provided namespace atomically. If any listeners are registered
for that namespace it will also trigger a callback with all of the flags
that were changed (added, updated, or removed).

Test: atest FrameworksCoreTests:DeviceConfigTest
      atest FrameworksCoreTests:SettingsProviderTest
      atest SettingsProviderTest:DeviceConfigServiceTest
Bug: 136135417

Change-Id: I2e496a3807493750ba8891dd6390055c919b5f45
2019-11-21 14:51:17 -08:00
David Su
409f371488 Removed references to Manager AIDL from constructors
Converted constructors of Wifi Managers to not reference
their AIDL interfaces since they are @hide and cannot be
referenced by the platform.

Bug: 140299412
Test: atest FrameworksWifiApiTests
Change-Id: If43ce6916ddee5357cdcc8cd27d5620a67d21165
2019-11-21 14:46:43 -08:00
Terry Wang
2cf38fe7e9 Merge "Add a new system service for app search project" 2019-11-21 22:43:08 +00:00
Terry Wang
ecc0d1b2c1 Add a new system service for app search project
Bug: 142567528
Test: manual
Change-Id: Iefb426383f94ec89c896065c798b22cfb2977bf3
2019-11-21 14:15:22 -08:00
Winson Chiu
1e05667111 Merge "Overlayable actor enforcement" 2019-11-21 21:46:47 +00:00
Ytai Ben-Tsvi
335114af79 Add HidlMemoryUtil
Convenience utilities for working with HidlMemory.

Change-Id: I85a46d37de7b89fb48c57f69b1552ca59b802c19
Bug: 143566068
2019-11-21 13:39:12 -08:00
Ytai Ben-Tsvi
4659e18733 Add parceling support for HIDL memory in Java
This change adds support for reading/writing a HidlMemory
instance into / out of a HwParcel and HwBlob, in a format that
is compatible with the hidl_memory C++ type.
This paves the way to be able to exchange shared memory blocks
between native and Java via HwBinder, which will be exposed
as adding Java support for the HIDL 'memory' type.

Change-Id: I6cbbf852218c8a631f9014e7caa7a97d17e11889
Bug: 143566068
2019-11-21 13:38:39 -08:00
TreeHugger Robot
5d1c9a388a Merge "Exposing WorkSource hidden APIs as system APIs" 2019-11-21 21:15:48 +00:00
Jay Aliomer
8fd7fb99cf Dark theme twilight mode backend and tile
am: 381e3300e8

Change-Id: I0d5b96795d5ad818a9b7a21758721e35059d18ed
2019-11-21 12:23:42 -08:00
Winson
d9d1736767 Overlayable actor enforcement
Validates that the caller of an OverlayManager API that mutates state
is actually allowed to act on the target as defined in the target's
overlayable tag.

<overlayable name="MyResources" actor="namespace/name">

An actor is valid if any of the following is true:
 - is root/system
 - is the target overlay package
 - has the CHANGE_OVERLAY_PACKAGES permission and an actor is not defined
 - is the same package name as the sole resolved Activity for the actor specified
     in the overlayable definition, with only pre-installed, namespaced actors
     currently supported

Bug: 119442583
Bug: 135052950

Test: atest SystemConfigNamedActorTest
Test: atest com.android.server.om

Change-Id: If56b9e8366852eaef84f6bb25c3e6871eaa3f219
2019-11-21 12:01:41 -08:00
David Su
02076c7a01 Merge "NetworkKey: migrate from ScanResult.wifiSsid to SSID" am: 1124e240c0
am: c4df6668bb

Change-Id: I6e50821d3fdd5e6ff5fc4cd238ccd186dd1ff94c
2019-11-21 11:58:10 -08:00
David Su
c4df6668bb Merge "NetworkKey: migrate from ScanResult.wifiSsid to SSID"
am: 1124e240c0

Change-Id: Ia0c92f1db33b0a884da7388cd31b33d51df29288
2019-11-21 11:50:57 -08:00
TreeHugger Robot
401607765b Merge "[Shadows] Populate global shadow settings (3/n)" 2019-11-21 19:11:55 +00:00
Jayachandran Chinnakkannu
5d9097c4f1 Merge "Remove access to the telephony manager constructors from SystemRegisteryService" 2019-11-21 19:09:49 +00:00
David Su
1124e240c0 Merge "NetworkKey: migrate from ScanResult.wifiSsid to SSID" 2019-11-21 18:44:46 +00:00
Bernardo Rufino
32e02950c5 Merge "Add TEST_MAPPINGs for toasts" 2019-11-21 18:07:31 +00:00
Jay Aliomer
381e3300e8 Dark theme twilight mode backend and tile
When the user has Dark theme scheduling turned on (b/141567787), the quick settings tile subtext should reflect the following:
If Dark theme is on: "Until sunrise"
If Dark theme is off: "On at sunset"
If the user does not have Dark theme scheduled, the text should not appear.
This matches the appearance of the Night Light QS tile.
All starting windows snapshots will be deleted and splash screens
will be used instead.

Test: atest UiModeManagerServiceTest
Fix: 143874807
Merged-In: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d

Change-Id: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d
(cherry picked from commit 8b2671b029)
2019-11-21 18:05:22 +00:00
Jayachandran C
58fd3eb31a Remove access to the telephony manager constructors from SystemRegisteryService
Introduce a new system API called TelephonyFrameworkInitializer
and invoke from SystemRegisteryService for registering the services

Bug: 144892231
Test: Telephony Sanity
      atest frameworks/opt/telephony/tests/telephonytests/

Change-Id: Ic1a2f66948c53f6426be733563fb050b67dcb320
2019-11-21 17:41:50 +00:00
Evan Rosky
de887b35a6 Merge "Make stack queries multi-display aware" 2019-11-21 17:22:19 +00:00
Tiger Huang
e155ed48fa Merge "Window Manager Flag Migration (6/n)" 2019-11-21 16:23:32 +00:00
Makoto Onuki
b0100311bf Merge "Explicitly take flags in createContextAsUser()" am: a7948ddcb9
am: d52db070cd

Change-Id: I7ed103b7c148508635818e779b55a585b1540c85
2019-11-21 08:13:05 -08:00
Makoto Onuki
d52db070cd Merge "Explicitly take flags in createContextAsUser()"
am: a7948ddcb9

Change-Id: I6947903d66da1e64c461a1557e82a72a97a8848b
2019-11-21 08:05:06 -08:00
Treehugger Robot
a7948ddcb9 Merge "Explicitly take flags in createContextAsUser()" 2019-11-21 15:53:59 +00:00
Mohammad Samiul Islam
cc4c7d8cc6 Prevent staging multiple sessions on devices not supporting checkpoint
Bug: 141843321
Test: atest StagedInstallTest#testFailStagingMultipleSessionsIfNoCheckPoint
Change-Id: I118ae628649e9bef82641ef18841205091e98a6a
2019-11-21 14:30:34 +00:00
David Castro
27f1afdda0 Merge "Removed the confusing note as per guidance from mylesgw@ in BUG:117309989." into qt-dev am: 8bd0310456 am: 6d62047661 am: e93ab1d3ee
am: 345de96beb

Change-Id: Ifb4c0e5a0dbf865c75864dedc9d6b58d6c5e11a9
2019-11-21 05:08:26 -08:00
Chalard Jean
5d33d00a6e Merge "Cut the dependency to APN constants" am: 8f0513bd0b am: 28df771bd4
am: 72cd1fa27a

Change-Id: I71f8a944fcb8b3d8199296aef67251b50abe6172
2019-11-21 05:00:52 -08:00
David Castro
345de96beb Merge "Removed the confusing note as per guidance from mylesgw@ in BUG:117309989." into qt-dev am: 8bd0310456 am: 6d62047661
am: e93ab1d3ee

Change-Id: Ie0b77841701c25534cb181a0f25ba1a4ee6262be
2019-11-21 05:00:02 -08:00
Chalard Jean
72cd1fa27a Merge "Cut the dependency to APN constants" am: 8f0513bd0b
am: 28df771bd4

Change-Id: I97f01b82916e66673339bef437d80927e78282ee
2019-11-21 04:52:31 -08:00