Commit Graph

1820 Commits

Author SHA1 Message Date
TreeHugger Robot
034b7106c4 Merge "Store conversation requirement in a setting" into rvc-dev am: 5eb9c8fada am: fb7f470b5a am: a2ce73bd87 am: 958fd97525
Change-Id: I7daa6a63311bc1fd03f937abe031bd1ed8e9cee0
2020-04-07 04:48:36 +00:00
TreeHugger Robot
a2ce73bd87 Merge "Store conversation requirement in a setting" into rvc-dev am: 5eb9c8fada am: fb7f470b5a
Change-Id: Ib1a9712eb4a447752a83c7606c561a0fb31a7085
2020-04-07 04:08:32 +00:00
TreeHugger Robot
fb7f470b5a Merge "Store conversation requirement in a setting" into rvc-dev am: 5eb9c8fada
Change-Id: Id0498070faaf38a0ed59fc2859908d21cfaddc90
2020-04-07 03:57:57 +00:00
TreeHugger Robot
5eb9c8fada Merge "Store conversation requirement in a setting" into rvc-dev 2020-04-07 03:47:02 +00:00
Songchun Fan
e4283adf0f Merge "Update the SettingsProvider OWNERS file" am: 3a4e4452b2 am: a5518cb83f am: 785234ca99 am: 92867fac90 am: 22d9bf3cbf
Change-Id: I6465e45a95d697e294327b62399d4adc2896a553
2020-04-04 20:57:04 +00:00
Songchun Fan
785234ca99 Merge "Update the SettingsProvider OWNERS file" am: 3a4e4452b2 am: a5518cb83f
Change-Id: Ib98803f60f60e853b676f7e05d3a6dba7326edf0
2020-04-04 20:12:28 +00:00
Hongyi Zhang
0fe65c56ff Merge "DeviceConfig: Unban all banned namespaces if any banned one unbanned" into rvc-dev am: b11ab47265 am: e140cceb0f am: eac39574c8 am: d381085b6d
Change-Id: I8a24d1401ca5002fa261c7b9c4844f664a02b42b
2020-04-03 23:18:54 +00:00
Hongyi Zhang
e140cceb0f Merge "DeviceConfig: Unban all banned namespaces if any banned one unbanned" into rvc-dev am: b11ab47265
Change-Id: I548d2ca444dcd8a6e77fde7e71e63a39ef6f6133
2020-04-03 22:37:05 +00:00
Hongyi Zhang
d9956ed388 Merge "DeviceConfig: Unban all banned namespaces if any banned one unbanned" into rvc-dev am: b11ab47265
Change-Id: I72d7c6fa3b9dedf8e19cd006fa2091ab1e44892c
2020-04-03 22:36:36 +00:00
Hongyi Zhang
b11ab47265 Merge "DeviceConfig: Unban all banned namespaces if any banned one unbanned" into rvc-dev 2020-04-03 22:17:32 +00:00
Svet Ganov
3426c0b458 Update the SettingsProvider OWNERS file
bug: N/A

Test: N/A

Change-Id: I9a25ce97210178767e69226b24fce6d4d0649f1d
2020-04-02 20:44:00 -07:00
Hongyi Zhang
f305f8a9f6 DeviceConfig: Unban all banned namespaces if any banned one unbanned
There are chances that innocent namespaces got banned with actually
harmful namespace, and since innocent namespaces' flags may not be
changed for a long time, they are getting banned on the devices for a
long time even though they are not problematic.
Thus we want to do: When a namespace's configuration got successfully updated, unban ALL the
banned namespaces(by clearing the hashcode map) if the updated namespace was banned before updated.

Bug: 153010388
Test: atest DeviceConfigTest & local device with Mob Dog
Change-Id: I61b92a09d77ef1e1b7bc9c86f6655ba62a8a3d89
2020-04-02 19:25:43 -07:00
Julia Reynolds
e24faa2c86 Store conversation requirement in a setting
So we can show it in developer options. Also fix a bug
where the setting wasn't being respected in systemui.

Test: atest
Bug: 152907434
Change-Id: I1eaed93a0c8a1ec4486c7072972e2f924402bb94
2020-04-02 16:28:40 -04:00
Jason Chang
e296f7e6f4 Merge "Add One-Handed mode features 1. Settings keys definition. 2. Support Backup/Restore for user settings." 2020-03-31 05:58:39 +00:00
Eugene Susla
0472e3b7da Merge "Introduce a Setting for auto revoke teamfood settings" into rvc-dev am: e7181b197c am: 801e293cba am: e008670531 am: 0b9233ebdb
Change-Id: I71cc2c3c818e534e6c45e8c1e24deee3cebb80a3
2020-03-31 05:56:52 +00:00
Eugene Susla
aa0540d126 Merge "Introduce a Setting for auto revoke teamfood settings" into rvc-dev am: e7181b197c
Change-Id: Ia26e8f5b7e2270a5780d46b160382f73635561ce
2020-03-30 22:44:16 +00:00
Eugene Susla
801e293cba Merge "Introduce a Setting for auto revoke teamfood settings" into rvc-dev am: e7181b197c
Change-Id: Iefec3f90ab78cf5e5ab3e8a5b99d57687efb4b6a
2020-03-30 22:27:43 +00:00
Eugene Susla
e7181b197c Merge "Introduce a Setting for auto revoke teamfood settings" into rvc-dev 2020-03-30 21:58:40 +00:00
Eugene Susla
c6909ffe20 Introduce a Setting for auto revoke teamfood settings
Test: presubmit
Bug: 146513245
Change-Id: I57e20694528e6e2e94957e66d03cbf292c305f0d
2020-03-30 12:29:26 -07:00
Soonil Nagarkar
3944436719 DO NOT MERGE Refactor appops across location am: 39766392a7
Change-Id: I0081bf837d6f16d8c5508fe81ce991a2a6ff3637
2020-03-30 17:30:30 +00:00
Soonil Nagarkar
5b86d124cb DO NOT MERGE Refactor appops across location am: 39766392a7
Change-Id: I934f4408487dd106bd33cfd14f642390073f1f19
2020-03-30 17:30:08 +00:00
Soonil Nagarkar
39766392a7 DO NOT MERGE Refactor appops across location
-Add a new app ops helper to make testing easier.
-Consolidate app identity within CallerIdentity class.
-Remove location age restriction for coarse locations, was a bit
arbitrary.
-Remove listener identifiers from LM. These were not being properly
propagated and add a lot of binder overhead with what appears to be
little benefit since we have featureIds, which contain much better
information.
-Remove appops checks from some GNSS APIs that shouldn't require it.
-Move location fudger into location providers and reset them after mock
providers are used so that offset information cannot be leaked.

Bug: 149375028
Test: presubmits + manual
(cherry picked from commit 6033344baa)
Change-Id: I18e2cf3c39836f31d28180e1a4613df4ad675ab7
2020-03-28 13:59:26 -07:00
Yurii Zubrytskyi
0788f77908 Merge "[settings] Add a knob to turn off incremental default" into rvc-dev am: 95955373b8 am: eb8307f2c3 am: 85d86b3ab6 am: 3a56fd3576
Change-Id: If2de8a85557bbc4ecfef21694af41a808b7d19af
2020-03-28 09:24:56 +00:00
Yurii Zubrytskyi
363a726621 Merge "[settings] Add a knob to turn off incremental default" into rvc-dev am: 95955373b8
Change-Id: Ia78fc702f53baf6b1e0157912f034465714e8e75
2020-03-28 08:49:12 +00:00
Yurii Zubrytskyi
eb8307f2c3 Merge "[settings] Add a knob to turn off incremental default" into rvc-dev am: 95955373b8
Change-Id: Iad0ed6cdfb6dbbb12d239939a0b744038d3c6ee0
2020-03-28 08:48:38 +00:00
Yurii Zubrytskyi
95955373b8 Merge "[settings] Add a knob to turn off incremental default" into rvc-dev 2020-03-28 08:34:55 +00:00
Jason Chang
a02d42dda1 Add One-Handed mode features
1. Settings keys definition.
2. Support Backup/Restore for user settings.

Add Settings keys definition for toggles.

Toggles in Settings location:
Settings > System > Gesture > One-Handed

Bug: 146908717
Bug: 151130376

Test: manual
Change-Id: Ia329e39a7f1912620ba8ba5b47619236fb872509
2020-03-28 15:08:01 +08:00
Yurii Zubrytskyi
4a90c80aa9 [settings] Add a knob to turn off incremental default
A new value in global settings for the adb to determine if the
device allows using incremental installations by default.

Bug: 150183149
Test: builds
Change-Id: I64e8fafcacbb790fa469629136a7dacbfd34e800
2020-03-27 23:25:35 -07:00
Fabian Kozynski
194827e54e Merge "Add Secure Setting for Controls" into rvc-dev am: 1f8d91de8c am: efe1971995 am: 48e3746dcd am: 472c0b8e35
Change-Id: I27f4db15a9d415d2a27310b3d68d5aaacdf079b9
2020-03-27 18:23:24 +00:00
Fabian Kozynski
ef0a15a393 Merge "Add Secure Setting for Controls" into rvc-dev am: 1f8d91de8c
Change-Id: I6161a4f4c44d74ed1a91868061b70f5edd71041f
2020-03-27 17:40:52 +00:00
Fabian Kozynski
efe1971995 Merge "Add Secure Setting for Controls" into rvc-dev am: 1f8d91de8c
Change-Id: Ie3b2b5285ec120787443b79affbf0fab45db1315
2020-03-27 17:39:43 +00:00
Fabian Kozynski
1f8d91de8c Merge "Add Secure Setting for Controls" into rvc-dev 2020-03-27 17:16:48 +00:00
Rhed Jao
5015f4727d Merge "A new setting key to hold targets of the a11y button" into rvc-dev am: dba485be4c
Change-Id: I786b89eaa405274b089e5c1d5abdb5d696ff6e8d
2020-03-27 06:52:04 +00:00
Rhed Jao
3f82de9a25 Merge "A new setting key to hold targets of the a11y button" into rvc-dev am: dba485be4c
Change-Id: I73fcdcf5d76e1cb521c896d0815feea17a90b8cb
2020-03-27 06:51:50 +00:00
Rhed Jao
dba485be4c Merge "A new setting key to hold targets of the a11y button" into rvc-dev 2020-03-27 06:37:05 +00:00
Rhed Jao
39f4101502 Merge "A new setting key to hold targets of the a11y button" 2020-03-27 02:06:40 +00:00
Menghan Li
ec65a6a138 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev am: fea8d184c2 am: 5664cb5315 am: 21f36c7bfb am: b10fbb7a4e
Change-Id: I995d4e7e20d12235d6fd57c8e8d437c8cb727fb6
2020-03-26 01:27:47 +00:00
Menghan Li
835bda5744 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev am: fea8d184c2
Change-Id: I276c3ab248480a37ae4905fc364a3e8325be0d7e
2020-03-26 00:38:20 +00:00
Menghan Li
5664cb5315 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev am: fea8d184c2
Change-Id: I97b6d4635f7b80934b8865d2e843ac333f64f305
2020-03-26 00:38:01 +00:00
Menghan Li
fea8d184c2 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)" into rvc-dev 2020-03-26 00:21:50 +00:00
Fabian Kozynski
bcaf0efea3 Add Secure Setting for Controls
Also:
* added to backed up settings.
* fixed imports

Test: build
Test: change setting through adb.
Bug: 152212779
Change-Id: Ia6cc7e9fb7f93842cfbf248f3e88c1d964656409
2020-03-25 09:30:13 -04:00
Rhed Jao
10e4b5f0b0 A new setting key to hold targets of the a11y button
Roll back the changes of ACCESSIBILITY_BUTTON_TARGET_COMPONENT to
support previous behavior of the a11y button. Also, create another
setting key to hold shortcut targets of the a11y button which is
assigned by the user from the settings app.

Bug: 152263232
Test: atest SettingsProviderTest
Change-Id: I7a70e8c8495cefe6632efddbb322a323aa1168c7
Merged-in: I7a70e8c8495cefe6632efddbb322a323aa1168c7
2020-03-25 04:10:08 +00:00
Rhed Jao
69b897ad07 A new setting key to hold targets of the a11y button
Roll back the changes of ACCESSIBILITY_BUTTON_TARGET_COMPONENT to
support previous behavior of the a11y button. Also, create another
setting key to hold shortcut targets of the a11y button which is
assigned by the user from the settings app.

Bug: 152263232
Test: atest SettingsProviderTest
Change-Id: I7a70e8c8495cefe6632efddbb322a323aa1168c7
2020-03-25 11:37:04 +08:00
menghanli
390f8f9be9 Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (5/n)
- Target to fix migration issue to support a user revoked the accessibility shortcut before upgrading to R, but wants to to apply new hardware shortcut design in R.
- The switchbar of accessibility_shortcut_enabled was removed in (1/n), so we should also remove related checker in controller.

Bug: 142529032
Test: atest AccessibilityShortcutControllerTest
Change-Id: I48f8d88c4192e894b9e210221e5dc7e701344623
2020-03-25 07:46:41 +08:00
Roshan Pius
988712df08 Merge "WifiMigration: Add a settings key to indicate migration is complete" into rvc-dev am: 5f176bf91e am: cecebfae5a am: 3721e105fd am: b64acacd04
Change-Id: I8c58998a68bf0352428ef809b566b86361ddf0f1
2020-03-24 06:00:00 +00:00
Roshan Pius
4245e14ff5 Merge "WifiMigration: Add a settings key to indicate migration is complete" into rvc-dev am: 5f176bf91e
Change-Id: I951d97fd746b6d7a86957a6f66fcb81046ee9fd0
2020-03-24 05:20:10 +00:00
Roshan Pius
cecebfae5a Merge "WifiMigration: Add a settings key to indicate migration is complete" into rvc-dev am: 5f176bf91e
Change-Id: I8366886701cd706ce639188750f112b8b3184f43
2020-03-24 05:19:47 +00:00
Roshan Pius
849a6f78a5 WifiMigration: Add a settings key to indicate migration is complete
Bug: 151888061
Test: Manual verification (ensured that this method returns null after
first reboot)

Change-Id: Ie8ad397c7b68e35cfa7b696ef22d84f376cf3fe7
2020-03-23 18:48:28 -07:00
Bill Yi
555c96df8d Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I135c7ed70b56d37594303851534cfad59a65b6f3
2020-03-23 02:36:30 -07:00
TreeHugger Robot
16933c1244 Merge "Do not preserve settings changed by 'android' package" into rvc-dev am: 00562369ed am: 4072b06d15 am: 07d73a53a4 am: c1293fee96 am: e22f8e1022
Change-Id: Id2577453b132d779621a39ce6f3abf40099afea8
2020-03-21 00:45:17 +00:00