Commit Graph

4113 Commits

Author SHA1 Message Date
Julia Reynolds
d9674ba37c Merge "Add link to onboarding screen" into pi-dev am: e5d97dd6f9
am: af330f184e

Change-Id: Ieab2c03a1d49e9c45e22ef1be3a687d97914ad9b
2018-04-10 07:59:45 -07:00
Julia Reynolds
af330f184e Merge "Add link to onboarding screen" into pi-dev
am: e5d97dd6f9

Change-Id: I6ca7fbf3b1e9a14a12a1b3ecefd07549df11ff4d
2018-04-10 07:49:59 -07:00
TreeHugger Robot
e5d97dd6f9 Merge "Add link to onboarding screen" into pi-dev 2018-04-10 14:35:44 +00:00
Mathew Inwood
8e913755d5 Merge "Different hidden API enforcement policy for P & pre-P." into pi-dev am: 9139bbfa9b
am: 9c5d1784b9

Change-Id: I13ee422263c141cf3c18b46da59acf26d24e6042
2018-04-10 06:33:23 -07:00
Mathew Inwood
9c5d1784b9 Merge "Different hidden API enforcement policy for P & pre-P." into pi-dev
am: 9139bbfa9b

Change-Id: Ie7883c0ff862d26f5639176ff004726ba8d3f972
2018-04-10 06:24:17 -07:00
Julia Reynolds
9aa1c9e925 Add link to onboarding screen
Test: runtest systemui-notification
Bug: 77658931
Change-Id: I70210b5d5e0de27ff38a6b2f5d8201266b6ec4d6
2018-04-10 08:47:07 -04:00
Mathew Inwood
1ab3025cc7 Different hidden API enforcement policy for P & pre-P.
Also make these configurable so we have the flexibility to change it if
necessary.

Setting the policy inside ActivityManagerService is not ideal, as that
means that AMS is the only place where the policy in ApplicationInfo is
correct. It should really be set inside PackageManagerService. However,
if it's set there, it would get out of date when the settings change, and
we'd have to update inside AMS anyway. So putting it only here seems ok
for now.

Test: $ adb shell settings put global hidden_api_policy_pre_p_apps 2
Test: $ adb shell settings put global hidden_api_policy_p_apps 2
Bug: 64382372
Change-Id: Ic4cbbb1e6464623e90c17ae08c0b6cbbe0dfa125
2018-04-10 10:13:07 +01:00
Dianne Hackborn
bce7549727 Merge "Fix issue #77721907: Add global setting to hide all error dialogs" into pi-dev am: 1f596e0c2e
am: d260ab199f

Change-Id: If18ad593ad81c918116407e78f6e462886e5b892
2018-04-09 23:48:11 -07:00
Dianne Hackborn
d260ab199f Merge "Fix issue #77721907: Add global setting to hide all error dialogs" into pi-dev
am: 1f596e0c2e

Change-Id: I64a8fceb305856c12645cb4c9ba7cf691cf23976
2018-04-09 23:39:36 -07:00
Dianne Hackborn
1f596e0c2e Merge "Fix issue #77721907: Add global setting to hide all error dialogs" into pi-dev 2018-04-10 06:24:50 +00:00
Christine Franks
dc00e645bc Merge "Whitelist DISPLAY_COLOR_MODE setting for B&R" into pi-dev am: a1b3aa27dd
am: 2b6ef340c4

Change-Id: I3ba177d5b95fd2bbb7f1b43cd55094150fe9fd3e
2018-04-09 19:35:58 -07:00
Christine Franks
2b6ef340c4 Merge "Whitelist DISPLAY_COLOR_MODE setting for B&R" into pi-dev
am: a1b3aa27dd

Change-Id: I9f6cca01f68eafc4cfd249d46d8f9d5bfd7ce680
2018-04-09 18:31:44 -07:00
Christine Franks
a1b3aa27dd Merge "Whitelist DISPLAY_COLOR_MODE setting for B&R" into pi-dev 2018-04-10 00:16:02 +00:00
Christine Franks
1269960d99 Whitelist DISPLAY_COLOR_MODE setting for B&R
Bug: 68664032
Test: make -j100 && atest SettingsBackupTest && atest
SettingsValidatorsTest
Change-Id: I1d38acfcd3e6a0c228ae6891581b3218d4a67e6b
2018-04-09 14:41:59 -07:00
Mehdi Alizadeh
ec57d05599 Adds entries for Swipe Up Enable in Settings.Secure am: 1264d880e2
am: 42ff9dd1f4

Change-Id: I0ea178437e6f5be8e856995995712d13c19a042c
2018-04-09 11:57:28 -07:00
Mehdi Alizadeh
42ff9dd1f4 Adds entries for Swipe Up Enable in Settings.Secure
am: 1264d880e2

Change-Id: I4dd2b567cc6c7b7aae70c0042a4e4a9650fc7b8c
2018-04-09 11:51:47 -07:00
Mehdi Alizadeh
1264d880e2 Adds entries for Swipe Up Enable in Settings.Secure
Bug: 77549883
Test: None
Change-Id: Ie346c4f527fa014eadbfaa1d81d7f8a5f37f653f
2018-04-09 18:28:04 +00:00
Jeff Sharkey
d2120e09a0 Merge "More knobs for connectivity experiments." into pi-dev am: 70df722321
am: 4f431f42cd

Change-Id: Ib5c3d10b1480220738c0972edcca65d8fdd62cba
2018-04-09 11:01:37 -07:00
Jeff Sharkey
4f431f42cd Merge "More knobs for connectivity experiments." into pi-dev
am: 70df722321

Change-Id: I4957ea5904101d781820f2dbbc5199a3139e2a54
2018-04-09 10:48:52 -07:00
Dianne Hackborn
82b17ca340 Fix issue #77721907: Add global setting to hide all error dialogs
adb shell settings put global hide_error_dialogs 1

This forces the same behavior as other devices that hide all
dialogs.

Bug: 77721907
Test: manual
Change-Id: I93e03d55f885f1874c33f46cad8cede0c759063b
2018-04-09 10:35:37 -07:00
TreeHugger Robot
70df722321 Merge "More knobs for connectivity experiments." into pi-dev 2018-04-09 17:33:15 +00:00
Annie Meng
32e7e082f7 Merge "Don't backup/restore screen brightness" into pi-dev
am: 3a7e021169

Change-Id: Id27f2a0631fde41e2b247ec3eb48419bb48bc84d
2018-04-09 03:01:14 -07:00
Annie Meng
3a7e021169 Merge "Don't backup/restore screen brightness" into pi-dev 2018-04-09 09:53:48 +00:00
Robin Bennett
f6962c871d Merge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreground activity." into pi-dev am: 219e139651
am: b1b9aa2ea0

Change-Id: I46ed3f1d59513bba6342f0ee29ba94de8b7f5c2b
2018-04-09 01:06:14 -07:00
Robin Bennett
b1b9aa2ea0 Merge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreground activity." into pi-dev
am: 219e139651

Change-Id: I55b953d0f060f38251c6504470d4b13a38b50f25
2018-04-09 00:57:40 -07:00
Robin Bennett
219e139651 Merge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreground activity." into pi-dev 2018-04-09 07:41:20 +00:00
TreeHugger Robot
85d3ad778d Merge "Properly link to 8.0 docs page, not the floating 'preview' page" 2018-04-06 22:30:30 +00:00
Christopher Tate
4be780e89a Properly link to 8.0 docs page, not the floating 'preview' page
Test: make offline-sdk-docs
Change-Id: I9720555a956d26b4a87b967b5f63834de4d1130f
2018-04-06 12:25:18 -07:00
Annie Meng
aeeb24e9cd Don't backup/restore screen brightness
We no longer want to backup and restore screen brightness as it could
leave the new device in an unusable state and doesn't make sense
cross-device.

Test: 1) atest SettingsBackupTest
2) atest SettingsValidatorsTest
3) Manual:
- Old backup set that has screen brightness does not restore with change
- Screen brightness does not backup or restore with change
Bug: 77583401
Merged-In: I8a6d950717e6aeb9bf6773c14708ee70069f9df0

Change-Id: I8a6d950717e6aeb9bf6773c14708ee70069f9df0
(cherry picked from commit 931b41b71a)
2018-04-06 12:48:23 +00:00
Annie Meng
2facec37e3 Merge "Don't backup/restore screen brightness" 2018-04-06 12:45:07 +00:00
Yu-Han Yang
954238347a Merge "Implements GNSS satellite blacklist" into pi-dev
am: b1bcab2210

Change-Id: I2b02d5a1c898be0745eb88f65c6518b069d412a2
2018-04-05 16:47:36 -07:00
TreeHugger Robot
b1bcab2210 Merge "Implements GNSS satellite blacklist" into pi-dev 2018-04-05 23:28:19 +00:00
Hall Liu
a13852d071 Merge "Move RTT system setting to Settings.Secure" into pi-dev
am: fe85e4589b

Change-Id: Idd9171f313136911e2dc6031f6356463e51bf16f
2018-04-05 11:36:10 -07:00
Hall Liu
fe85e4589b Merge "Move RTT system setting to Settings.Secure" into pi-dev 2018-04-05 18:15:37 +00:00
Annie Meng
931b41b71a Don't backup/restore screen brightness
We no longer want to backup and restore screen brightness as it could
leave the new device in an unusable state and doesn't make sense
cross-device.

Test: 1) atest SettingsBackupTest
2) atest SettingsValidatorsTest
3) Manual:
- Old backup set that has screen brightness does not restore with change
- Screen brightness does not backup or restore with change
Bug: 77583401

Change-Id: I8a6d950717e6aeb9bf6773c14708ee70069f9df0
2018-04-05 18:49:52 +01:00
Yu-Han Yang
66c7ea91b4 Implements GNSS satellite blacklist
Bug: 38269641

Test: m -j ROBOTEST_FILTER=GnssSatelliteBlacklistHelperTest RunFrameworksServicesRoboTests
Test: atest SettingsBackupTest
Test: Tested with adb on device

Change-Id: Ifaa330bf74353ea5c8826f0000d1935258b8dbf2
2018-04-05 08:57:04 -07:00
Hall Liu
44e41012ec Move RTT system setting to Settings.Secure
Bug: 76449217
Test: manual
Change-Id: I85620d5b834aa7e04579212f3fd5cf6c0498b570
2018-04-05 01:18:02 +00:00
Jeff Sharkey
36b414bc2d More knobs for connectivity experiments.
Keep the same default values in place for calculating opportunistic
quotas, but now allow experiments to override these values.

Tests to verify behavior of defaults.

Bug: 72353440
Test: atest com.android.server.NetworkPolicyManagerServiceTest
Change-Id: I38c225fd141b2e94085ca4cce17ecd51fee3f3aa
2018-04-04 22:07:44 +00:00
Robin Bennett
1193a35bcd Add setting/experiment to send keycode sleep for ungaze when Home is the
foreground activity.

Bug: 77253874

Change-Id: Ic799eec8439786ae20bb366b9d4e93ec30d34070
2018-04-04 09:45:55 +01:00
Remi NGUYEN VAN
1a6c9e6061 Merge "Add settings to configure default multipath quota." into pi-dev
am: 9ab1da2052

Change-Id: I01e25079def030c43b0800d610590a3a6a5ac1be
2018-04-03 20:17:22 -07:00
Remi NGUYEN VAN
9ab1da2052 Merge "Add settings to configure default multipath quota." into pi-dev 2018-04-04 01:23:42 +00:00
Remi NGUYEN VAN
e0ec992630 Add settings to configure default multipath quota.
Bug: 72631572
Test: Tests in go/ag/3828171 pass
Change-Id: I795debd0328ea7cad32c968cb4b407928e054528
2018-04-03 17:16:29 +09:00
Gil O'Neil
b15319dcb5 Merge "Made a note that app names may not contain delimiter characters" into pi-dev
am: c610677258

Change-Id: I9581a7af5f34111ee3608f3ec2088fc9b0fffdcd
2018-04-02 20:27:23 -07:00
Gil O'Neil
c610677258 Merge "Made a note that app names may not contain delimiter characters" into pi-dev 2018-04-02 23:42:01 +00:00
Makoto Onuki
e42450f9a7 Merge "Make battery saver suggestion configurable" into pi-dev
am: cd21f1c5c2

Change-Id: I4fb41a9382d2a073f7673cdaa5c4a3d670ff4349
2018-03-30 17:32:15 +00:00
TreeHugger Robot
cd21f1c5c2 Merge "Make battery saver suggestion configurable" into pi-dev 2018-03-30 14:29:30 +00:00
goneil
986fae20ea Made a note that app names may not contain delimiter characters
This includes ":" and ";"

Bug: 77241786
Test: None
Change-Id: Iabbfa7770e599d1fcd6ff76a55358d5e71e03a2b
2018-03-29 17:33:27 -07:00
Artem Iglikov
d723b5ea24 Merge "Clear app data before full restore for specified packages" into pi-dev
am: bb0bcc4460

Change-Id: I707a2f5fbe2d8c7bac2bc405e684016c61c2ddca
2018-03-29 13:36:34 +00:00
Artem Iglikov
5b53875fdc Clear app data before full restore for specified packages
In some cases (deferred restore) the app data needs to be cleared even
if the app has implemented backup agent. As a quick fix introduce
PACKAGES_TO_CLEAR_DATA_BEFORE_FULL_RESTORE secure setting, which
transport can fill prior to restore.

Bug: 69069240
Test: adb shell settings put secure packages_to_clear_data_before_full_restore com.google.android.apps.nexuslauncher && adb shell bmgr restore com.google.android.apps.nexuslauncher
Change-Id: I2a4651365d9cf4747f32d2ba69312f54cd03d118
2018-03-29 11:01:50 +01:00
Makoto Onuki
bc064d4b4b Make battery saver suggestion configurable
Test: Manual test with: settings put global low_power_mode_suggestion_params start_nth=2,end_nth=3
Bug: 74120126

Change-Id: If165892477b41547a3880e2e961a38328b33c5bd
2018-03-27 15:41:20 -07:00