451975 Commits

Author SHA1 Message Date
TreeHugger Robot
b485ee50a1 Merge "statsd: fix -Wreorder-init-list" 2019-11-21 22:51:46 +00:00
Terry Wang
2cf38fe7e9 Merge "Add a new system service for app search project" 2019-11-21 22:43:08 +00:00
Kenny Root
fc4d1f2895 Merge "Make RecoverySystemService more testable" 2019-11-21 22:30:20 +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
Jayachandran Chinnakkannu
2b20464232 Merge "Telephony-sdk: Replace usage of Slog with Rlog" 2019-11-21 21:50:41 +00:00
Winson Chiu
1e05667111 Merge "Overlayable actor enforcement" 2019-11-21 21:46:47 +00:00
TreeHugger Robot
5d1c9a388a Merge "Exposing WorkSource hidden APIs as system APIs" 2019-11-21 21:15:48 +00:00
Bookatz
4075dff405 Merge "Update OWNERS for some server/pm/User files" am: 26ba7c0911 am: 12b5e9f4c4
am: 3a50bf7e6e

Change-Id: I92697ef0f8466124a49fdca59638a18d2506eb7f
2019-11-21 12:52:09 -08:00
Bookatz
3a50bf7e6e Merge "Update OWNERS for some server/pm/User files" am: 26ba7c0911
am: 12b5e9f4c4

Change-Id: Id1a0e3a44bf9f2dcff1860bce54aff3739b2f310
2019-11-21 12:44:37 -08:00
Bookatz
12b5e9f4c4 Merge "Update OWNERS for some server/pm/User files"
am: 26ba7c0911

Change-Id: I3085297a4d70ee91b92c1b34c349bcf37f0024bc
2019-11-21 12:36:42 -08:00
Jay Aliomer
74c73760fd [automerger skipped] Dark theme twilight mode backend and tile am: 381e3300e8
am: 8fd7fb99cf -s ours
am skip reason: change_id Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d with SHA1 8b2671b029 is in history

Change-Id: I92b7e381c4fa72b359f774a77a707336721de667
2019-11-21 12:33:05 -08:00
Nick Desaulniers
fceda70a03 statsd: fix -Wreorder-init-list
C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: lunch flame-userdebug && mm
Change-Id: I8260ee03b0e6d98fdbe42ebf38bbc9f216303efe
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-11-21 12:23:57 -08:00
Jay Aliomer
8fd7fb99cf Dark theme twilight mode backend and tile
am: 381e3300e8

Change-Id: I0d5b96795d5ad818a9b7a21758721e35059d18ed
2019-11-21 12:23:42 -08:00
TreeHugger Robot
84c262cf99 Merge "Add TODO to target R+ for bg custom toast block" 2019-11-21 20:08:01 +00:00
David Su
c01930083e [automerger skipped] Merge "NetworkKey: migrate from ScanResult.wifiSsid to SSID" am: 1124e240c0 am: c4df6668bb
am: 02076c7a01 -s ours
am skip reason: change_id Ic689e12b8de4af52fae26c25bc90c8eb093ad3fe with SHA1 1cdbf62f44 is in history

Change-Id: I8d9d8edd81db1f6183c2d44b4b6f9f024ccdbfff
2019-11-21 12:04:07 -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
Treehugger Robot
26ba7c0911 Merge "Update OWNERS for some server/pm/User files" 2019-11-21 20:01:27 +00:00
TreeHugger Robot
6394799c47 Merge "Add @NonNull annotation to Builder.addXXX args" 2019-11-21 20:01:12 +00:00
TreeHugger Robot
301ec67667 Merge "Skip IME show when target is changing." 2019-11-21 20:00:32 +00: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
Jayachandran C
60c9099498 Telephony-sdk: Replace usage of Slog with Rlog
Bug: 140908357
Test: Build
Change-Id: I7fa10bce115e9261a0fe99eb9024ec17a879e975
2019-11-21 11:32:30 -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
TreeHugger Robot
039f7731b9 Merge "Add more error codes." 2019-11-21 19:03:09 +00:00
Bernardo Rufino
cca18fd7d9 Add TODO to target R+ for bg custom toast block
Since we'll be assessing impact on all apps first in dogfood and only
then targeting R+.

Bug: 128611929
Test: No
Change-Id: Ic37ab8a8b65163e4c955d613479d3f47238439d6
2019-11-21 18:47:37 +00:00
David Su
1124e240c0 Merge "NetworkKey: migrate from ScanResult.wifiSsid to SSID" 2019-11-21 18:44:46 +00:00
Bill Yi
f10083e2ae Merge "Import translations. DO NOT MERGE" 2019-11-21 18:27:46 +00:00
Dave Mankoff
2bbbdead1c Merge "Remove Dependency.staticOnConfigurationChanged" 2019-11-21 18:17:10 +00:00
Mohammad Samiul Islam
cc3f1e7e68 Merge "Rebrand the term "rollback" to "revert" for apexd" 2019-11-21 18:10:52 +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 8b2671b029aee961b57419bb290b682c58d702af)
2019-11-21 18:05:22 +00:00
Chen Xu
02ed3a9223 [automerger skipped] Merge "expose systemAPI for SmsCbLocation constructor" am: 174b988133 am: da22ddac87
am: f3d94810f1 -s ours
am skip reason: change_id I7b9c6fa453ee907aaa13d65e0b13de0556852313 with SHA1 8635f37b96 is in history

Change-Id: Ie50cbcf22e3aecb1cb837a94346af7e2b19fc37b
2019-11-21 10:04:25 -08:00
Chen Xu
f3d94810f1 Merge "expose systemAPI for SmsCbLocation constructor" am: 174b988133
am: da22ddac87

Change-Id: I88ace6abf7cd535fa586c8442586ab18b88e8fb2
2019-11-21 09:57:25 -08:00
Chen Xu
da22ddac87 Merge "expose systemAPI for SmsCbLocation constructor"
am: 174b988133

Change-Id: Id44432a314e2becf72818f445120dbbe8367f9bc
2019-11-21 09:49:17 -08:00
Steve Elliott
9ea4217430 [automerger skipped] Merge "DO NOT MERGE: Properly reflect device lock state in Global Action panel." into qt-qpr1-dev am: 893a2b05a5
am: 3d0216caa5 -s ours
am skip reason: subject contains skip directive

Change-Id: I0d3dedbffeaf6d21228f69297e63afb785af7160
2019-11-21 09:48:37 -08:00
Steve Elliott
a51da7900b [automerger skipped] DO NOT MERGE: Properly reflect device lock state in Global Action panel. am: db386ab068
am: afe77db9e4 -s ours
am skip reason: subject contains skip directive

Change-Id: I96808898534d802925103e11da08e1cc92fef04f
2019-11-21 09:45:39 -08:00
Kenny Root
96690bc4c9 Make RecoverySystemService more testable
This allows the RecoverySystemService to be instantiated outside of its
lifecycle events and mocked connections to be injected during the tests.

Test: atest FrameworksServicesTests:RecoverySystemServiceTest
Change-Id: If75632b8dc16c916f3fa90853d6c1863b75d2c64
2019-11-21 09:44:08 -08: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
Steve Elliott
3d0216caa5 Merge "DO NOT MERGE: Properly reflect device lock state in Global Action panel." into qt-qpr1-dev
am: 893a2b05a5

Change-Id: I1f1962ddf3a98f84b48934f78402eae7f7e5e64b
2019-11-21 09:39:54 -08:00
Steve Elliott
afe77db9e4 DO NOT MERGE: Properly reflect device lock state in Global Action panel.
am: db386ab068

Change-Id: I35bd0a54e6338bd5cd92c10522b74ddc179c1ff2
2019-11-21 09:39:52 -08:00
Chen Xu
174b988133 Merge "expose systemAPI for SmsCbLocation constructor" 2019-11-21 17:38:41 +00:00
TreeHugger Robot
893a2b05a5 Merge "DO NOT MERGE: Properly reflect device lock state in Global Action panel." into qt-qpr1-dev 2019-11-21 17:27:38 +00:00
Evan Rosky
de887b35a6 Merge "Make stack queries multi-display aware" 2019-11-21 17:22:19 +00:00
Linus Tufvesson
b43913461c Merge "Sort properties by keys" 2019-11-21 16:46:22 +00:00
Steve Elliott
db386ab068 DO NOT MERGE: Properly reflect device lock state in Global Action panel.
Test: manual
Fixes: 143906419
Change-Id: Idb6d396fa04a8c45e82515e89a27a3df21dc9ac0
2019-11-21 16:39:45 +00:00
Tiger Huang
e155ed48fa Merge "Window Manager Flag Migration (6/n)" 2019-11-21 16:23:32 +00:00
Makoto Onuki
c80b045c0a [automerger skipped] Merge "Explicitly take flags in createContextAsUser()" am: a7948ddcb9 am: d52db070cd
am: b0100311bf -s ours
am skip reason: change_id Id2e3d5ffe5887a4916e0872a7e85d62cbb439744 with SHA1 e5449f0b34 is in history

Change-Id: I9a4d46116ac2d0cd74e939f6d55c6c320524a21b
2019-11-21 08:22:24 -08: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