Commit Graph

1294 Commits

Author SHA1 Message Date
Hyunyoung Song
0c2e4a04b8 Merge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev am: e967fe3dab
am: df0be35708

Change-Id: I1967f0fb965e35cbcb95604c5bf1134989664fdf
2019-05-08 00:00:20 -07:00
Hyunyoung Song
df0be35708 Merge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev
am: e967fe3dab

Change-Id: I1303877c07ea567d06b3a46db5ffbc2d9dc5347a
2019-05-07 22:42:24 -07:00
Hyunyoung Song
e967fe3dab Merge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev 2019-05-08 05:10:00 +00:00
Hyunyoung Song
3ba5d5642c ic_corp_badge shape change on adaptive icon shape change
Bug:127867721
Test: UI looks exactly the same even after swapping out the path
Change-Id: I030c5d53a1d7f86c70b66bb6abf5d351bfc7571b
2019-05-06 02:13:58 -07:00
yuanjiahsu
943012b986 Merge "Clean Safetyhub feature flag." into qt-dev am: fe77152334
am: da52c2ecef

Change-Id: I8908c05e82fe2a139a8cd527d0a5cd979eda0433
2019-05-02 19:02:34 -07:00
yuanjiahsu
da52c2ecef Merge "Clean Safetyhub feature flag." into qt-dev
am: fe77152334

Change-Id: Ib36a78df4cca4e61ad93fd8d759ca6cdf993b4ab
2019-05-02 16:19:24 -07:00
Kweku Adams
f7c4e23fb7 Merge "Gating OutOfBoundsException on targetSdkVersion." into qt-dev am: 8f24a0fb56
am: 9c60ad272f

Change-Id: Ibe6555fd0ff175ab936837a61d5868f5bd20c86f
2019-04-30 07:17:00 -07:00
Kweku Adams
9c60ad272f Merge "Gating OutOfBoundsException on targetSdkVersion." into qt-dev
am: 8f24a0fb56

Change-Id: I3f49f2aeae973ffc07117a5aaf70aabfea239b6a
2019-04-30 05:51:09 -07:00
yuanjiahsu
a74894d5b2 Clean Safetyhub feature flag.
Clean all related code, need submit together.

Test: Manually
Bug: 118848485
Change-Id: Iaeb55de3eecf54dfefff92253f71fe2fabcb5f24
2019-04-30 18:34:57 +08:00
Kweku Adams
4be0b1acaf Gating OutOfBoundsException on targetSdkVersion.
Apps targeting Pie or older will get the old undefined behavior. Apps
targeting Q or newer will get the OutOfBoundsException.

Bug: 118339123
Test: atest CtsUtilTestCases
Change-Id: Ibf5467aadec4a2f76ee180e963afeaf5a8a013a2
2019-04-26 12:22:16 -07:00
Eugene Susla
5d21de6918 Merge "ServiceConnector impl + migration of RemoteFillService" 2019-04-25 21:22:25 +00:00
Eugene Susla
a081250c30 ServiceConnector impl + migration of RemoteFillService
Original CL ag/5907902 has many merge conflicts so re-posting a trimmed
down version of it.
Initially migrating just the RemoteFillService, with the intention to
migrate others in separate CLs.

Fixes: 122480607
Test: atest CtsAutoFillServiceTestCases
Change-Id: Ibae8b0aa32a7c8283b0fb6eb3c288769b730149a
2019-04-24 10:32:14 -07:00
Kweku Adams
dec18c80b4 Merge "Fix QuotaController job spam throttling." into qt-dev am: 95aeab0ac8
am: 947bac3817

Change-Id: Ib80350bffaf46aad11c7e5b226239164b32e8670
2019-04-22 12:03:05 -07:00
Kweku Adams
947bac3817 Merge "Fix QuotaController job spam throttling." into qt-dev
am: 95aeab0ac8

Change-Id: Ib891e23c8a147e1334ecb827833bd5cad9663f37
2019-04-22 11:41:22 -07:00
Kweku Adams
95aeab0ac8 Merge "Fix QuotaController job spam throttling." into qt-dev 2019-04-22 18:21:59 +00:00
Lei Yu
a0c7a8527d Merge "Remove feature flag slice injection" into qt-dev am: d7595947a8
am: f07ca42ca8

Change-Id: I39c30922b60a6116e5e4d034e75a2633f0b87901
2019-04-22 11:19:15 -07:00
Lei Yu
f07ca42ca8 Merge "Remove feature flag slice injection" into qt-dev
am: d7595947a8

Change-Id: Icb4bfe01c3d19aa2b7577c36be4e7a875f99b051
2019-04-22 11:09:38 -07:00
Kweku Adams
7d6a31c154 Fix QuotaController job spam throttling.
QuotaController was inadvertently updating all Timers for a particular
user whenever any process state crossed the FOREGROUND_SERVICE
threshold, instead of only updating the Timer for the specific UID.

Also adding more data to QuotaController's dump to make future debugging
easier.

Bug: 129117282
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: Ic8d9e6478e61cc62318ae5651f0526e41a71de8d
2019-04-22 11:06:15 -07:00
Lei Yu
b09ab68f5f Remove feature flag slice injection
Fixes: 121154979
Test: Manual
Change-Id: Ief9c662e28fa5a14879f93138ff2997234e72008
2019-04-19 13:13:59 -07:00
cosmohsieh
404ba79193 Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into qt-dev
am: 30550e1f3e

Change-Id: Icf7e0f385e5e94ce06bafe83e6bd1645bd9fe11e
2019-04-17 00:39:50 -07:00
TreeHugger Robot
30550e1f3e Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into qt-dev 2019-04-17 07:29:16 +00:00
TreeHugger Robot
a2347a72a0 Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" 2019-04-16 18:51:25 +00:00
Harry Slatyer
23e4c3a806 Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev am: 151f5b2ec8
am: 0786074f6b

Change-Id: Iac4bf3bf40ffcf4648710d837b1f1cabf06c4e6e
2019-04-15 18:10:27 -07:00
Harry Slatyer
0786074f6b Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev
am: 151f5b2ec8

Change-Id: I2e3aa5e7d34a89af2090f0cd55a51ad2e439ab61
2019-04-15 16:55:33 -07:00
Harry Slatyer
e4eb7b4c1b Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220
This gives supported densities every 20dpi at the low end of densities,
which is where all current automotive screens sit.

BUG: 127714569
Test: None, just adding constants.

Change-Id: I6dd96493bf4474a55f22ce4ddbe27566d4ab9deb
2019-04-15 21:43:56 +00:00
Neil Fuller
6ac2421d63 Merge "Switch ByteStringUtils over to HexEncoding impl" am: 6150065560 am: 42aacac8ad
am: d982160c6a

Change-Id: Ibc609623891b69c694fdbffa81ce59c90f3db8d6
2019-04-15 11:32:18 -07:00
Neil Fuller
d982160c6a Merge "Switch ByteStringUtils over to HexEncoding impl" am: 6150065560
am: 42aacac8ad

Change-Id: Ic26eb802f39f1f86177a2de8e855573806e08998
2019-04-15 10:57:36 -07:00
Neil Fuller
6150065560 Merge "Switch ByteStringUtils over to HexEncoding impl" 2019-04-15 17:30:35 +00:00
cosmohsieh
4f885ed48d [PasspointV2] Clear feature flag settings_wifi_details_saved_screen
Clear feature flag settings_wifi_details_saved_screen

Bug: b/128369527
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ied42c4d0f67c92d0a5dfa2f14ecf151a7c8826c8
Merged-In: Id4710d91da74d931a550d09c2a36af21d55fe811
2019-04-15 07:27:52 +00:00
cosmohsieh
66de11f7ea [PasspointV2] Clear feature flag settings_wifi_details_saved_screen
Clear feature flag settings_wifi_details_saved_screen

Bug: b/128369527
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Id4710d91da74d931a550d09c2a36af21d55fe811
2019-04-15 15:11:08 +08:00
Baligh Uddin
91672189da Merge changes from topic "am-f11f18b2b65b466dba0b6a1e1313cdbf" into qt-dev-plus-aosp
am: 26ae351ed8

Change-Id: I91344f4f65ec098853fad260ae994a69f93f16b4
2019-04-12 13:34:43 -07:00
Philip P. Moltmann
c4a39cface Remove StatsLog.write
am: b03d0518a3

Change-Id: I4a143a09134359751f73c3b0b13d469eea4d4ed0
2019-04-12 11:14:02 -07:00
Philip P. Moltmann
b03d0518a3 Remove StatsLog.write
Usage should be replaced by libs built on StatsLog.writeRaw

Fixes: 130246849
Test: Built
Change-Id: I37b869a99b7c0428b3aa7bb133f6300c29235c3e
2019-04-11 22:13:59 -07:00
Shawn Lin
d306fdb5ab Merge "Remove DocumentsStatsLog.java" into qt-dev am: be0106abce
am: ca69405fea

Change-Id: I06b2446cd9ef67e734a9c3920f761c90d7de2ca5
2019-04-11 20:15:45 -07:00
Chiachang Wang
0308261c28 Merge "Migrate NetworkStack metrics off StatsLog.write" into qt-dev am: fa124d7bf4
am: fb21fb8724

Change-Id: I3d3cf3cb3570ed4def645e283179cadbf4826f9c
2019-04-11 19:46:44 -07:00
Shawn Lin
ca69405fea Merge "Remove DocumentsStatsLog.java" into qt-dev
am: be0106abce

Change-Id: I62c5019f3ae1d41c1877d0256124776bbbdda024
2019-04-11 19:17:46 -07:00
Shawn Lin
be0106abce Merge "Remove DocumentsStatsLog.java" into qt-dev 2019-04-12 01:49:12 +00:00
Chiachang Wang
fb21fb8724 Merge "Migrate NetworkStack metrics off StatsLog.write" into qt-dev
am: fa124d7bf4

Change-Id: I1bfe856d771bf56fe33790aea22eceae2001921a
2019-04-11 18:26:16 -07:00
Chiachang Wang
e512b26913 Migrate NetworkStack metrics off StatsLog.write
Now that the new metrics API can be used, NetworkStack
metrics need to migrate off the legacy StatsLog.write.

Bug: 130323000
Test: Test with ./out/host/linux-x86/bin/statsd_testdrive 121
      to ensure log properly
Test: Ensure NetworkStackStatsLog will be generated as expected
Test: atest NetworkStackTest

Change-Id: I8c70503cf1d9f1d06f30a1936d2d88857d0cff53
2019-04-11 21:24:28 +08:00
shawnlin
cf18ac827c Remove DocumentsStatsLog.java
This file is no longer needed since we now use the new design of statsd
for mainline module.

Fixes: 130203187
Test: make
Change-Id: I9003e9b49c533861969a0355d008565bb1cffa6c
2019-04-11 15:47:58 +08:00
Michael Wachenschwanz
820feebe3b Merge "Remove Test Api annotation from ProtoInputStream" into qt-dev am: 9f7dba6155
am: 372ea6b25a

Change-Id: Ia0fd9f2023c191c45cb4d17f9d2b69684ec49c90
2019-04-10 22:29:44 -07:00
Michael Wachenschwanz
372ea6b25a Merge "Remove Test Api annotation from ProtoInputStream" into qt-dev
am: 9f7dba6155

Change-Id: If1672ba1cafc65b3c1a57c628041bf95d7a2cbf2
2019-04-10 18:00:11 -07:00
Michael Wachenschwanz
9f7dba6155 Merge "Remove Test Api annotation from ProtoInputStream" into qt-dev 2019-04-10 21:30:49 +00:00
Neil Fuller
f885638d0e Merge "Switch to HexEncoding from ByteStringUtils" am: 70f7a0bf04 am: 0cb55a64c4
am: 5948b83b0b

Change-Id: I659eaff98c3ae024cbbc4b12340ca718063bbf61
2019-04-09 08:01:46 -07:00
vichang
3183cbf6dc Merge "Remove the feature flag for time zone picker" 2019-04-09 12:23:19 +00:00
Neil Fuller
5948b83b0b Merge "Switch to HexEncoding from ByteStringUtils" am: 70f7a0bf04
am: 0cb55a64c4

Change-Id: I901a3c8caa11aa3d71defa31d9cd6d0c4cc2ddcc
2019-04-09 05:16:08 -07:00
Ching-Sung Li
f8d48b0316 DO NOT MERGE Add feature flag for PixelLiveWallpaper dogfood in Settings
Add feature flag (settings_pixel_wallpaper_category_switch) in developer
option for PixelLiveWallpaper's dogfood user to turn downloadable Live
wallpaper's category on or off. Expected expiration on: 2019/07/31.

Bug: 128962566
Test: Manual check this feature flag in developer option
Change-Id: Ie9d9180605cf92cf5618999d5a76f4fd87875859
2019-04-09 01:14:47 +00:00
Howard Ro
2470fdb507 Merge "More description on logBinaryPushStateChanged" into qt-dev 2019-04-08 21:19:35 +00:00
Neil Fuller
b39d83ebf0 Switch to HexEncoding from ByteStringUtils
Migration in preparation for deletion of ByteStringUtils.

Bug: 124232146
Test: build only
Change-Id: I9f18bb56eccf5bd628e1fd9068285f75623f7caf
2019-04-08 21:57:53 +01:00
Svet Ganov
d8eb8b2690 Restricted permission mechanism - framework
This change adds a mechanism for restricting permissions (only runtime
for now), so that an app cannot hold the permission if it is not white
listed. The whitelisting can happen at install or at any later point.

There are three whitelists: system: OS managed with default grants
and role holders being on it; upgrade: only OS puts on this list
apps when upgrading from a pre to post restriction permission database
version and OS and installer on record can remove; installer: only
the installer on record can add and remove (and the system of course).

Added a permission policy service that sits on top of permissions
and app ops and is responsible to sync between permissions and app
ops when there is an interdependecy in any direction.

Added versioning to the runtime permissions database to allow operations
that need to be done once on upgrade such as adding all permissions held
by apps pre upgrade to the upgrade whitelist if the new permisison version
inctroduces a new restricted permission. The upgrade logic is in the
permission controller and we will eventually put the default grants there.

NOTE: This change is reacting to a VP feedback for how we would handle
SMS/CallLog restriction as we pivoted from role based approach to roles
for things the user would understand plus whitelist for everything else.
This would also help us roll out softly the storage permisison as there
is too much churm coming from developer feedback.

Exempt-From-Owner-Approval: trivial change due to APi adjustment

Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
Test: atest CtsPermissionTestCases
Test: atest CtsPermission2TestCases
Test: atest RoleManagerTestCases

bug:124769181

Change-Id: Ic48e3c728387ecf02f89d517ba1fe785ab9c75fd
2019-04-07 22:39:54 -07:00