Commit Graph

34170 Commits

Author SHA1 Message Date
TreeHugger Robot
e5150a18ea Merge "Revert color-coded icons." 2017-03-07 00:42:15 +00:00
TreeHugger Robot
68ef61a105 Merge "Create whitelist for the most popular settings" 2017-03-06 23:56:33 +00:00
Fan Zhang
c6f4c9c9b5 Update preference logger to log pref change as ACTION
Change-Id: I600cf6ec79cbc876347c3fdb20ea70fffbc04524
Fix: 34775467
Test: make RunSettingsRoboTests
2017-03-06 15:39:22 -08:00
Saige McVea
89a5c62963 Accessibility settings refresh.
Added logic for proper handling of new accessibility service categories. Preferences and
services are no longer distinctly separated - services are added after system preferences
in their appropriate category, or are grouped under "Downloaded services".

Bug: 30374533

Test: CTS tests updated to accommodate addition of summary.

Change-Id: I38255ede8880922e60487607f8d1bd520b1adf75
2017-03-06 15:08:42 -08:00
Treehugger Robot
084c20409b Merge "Changes event handling phases for DeviceListPreferenceFragment." 2017-03-06 23:02:13 +00:00
Stephen Chen
9347c95c39 Create settings page for choosing default Network Scorer.
Bug: 35203304
Bug: 35852687
Test: make RunSettingsRoboTests -j40
Change-Id: Iaef671e0a9e8beb560e1d2c9864f44ef46993a6b
2017-03-06 14:08:50 -08:00
Daniel Nishi
522e05f169 Align the profile calculation with other screens.
The profile fragment was accidentally adding all of the app's
code data to the profile, even if it was already attributed to the
primary user.

Change-Id: I47000bbe1fcf98d5e9f252eb74b22fee05b7034d
Fixes: 35919232
Test: Settings Robotest
2017-03-06 13:56:57 -08:00
Daniel Nishi
ad7aa871e7 Fast track the installed app details storage.
Change-Id: Ic96a7b4bea6d92a32669887dacbc1f4e54e25ea9
Fixes: 35805032
Test: Settings robotest
2017-03-06 13:55:00 -08:00
Jaewoong Jung
7ca9a39960 Changes event handling phases for DeviceListPreferenceFragment.
Bug: 31273140
Test: Manual inspection.

Change-Id: If4622b8d367813eb86a54a45f2e8fa4a55ca38b1
(cherry picked from commit e8d5c8fda1)
2017-03-06 13:02:35 -08:00
TreeHugger Robot
490e4ea011 Merge "Add code coverage support for robolectric tests" 2017-03-06 20:51:34 +00:00
Fan Zhang
7bf6771392 Revert color-coded icons.
Change-Id: I64190a2603d6c3de687a126013f64c90362a7df7
Fix: 34978809
Test: Visual
2017-03-06 12:37:19 -08:00
Matthew Fritze
b759516cbf Create whitelist for the most popular settings
As a temporary solution to getting the most popular
settings to be the top rank, we have created a white list.
If a prioritized setting shows up somewhere in the results
then it will be given an elevated rank to be at the top.

Bug: 35048659
Test: make RunSettingsRoboTests
Change-Id: I92b563a17b42d8f91d980dd1d8e5f8f29ca5aa9c
2017-03-06 12:31:41 -08:00
TreeHugger Robot
bdaf7572d9 Merge "Add tests for NonIndexableKeys in NFC payments" 2017-03-06 18:52:36 +00:00
Anton Philippov
8e667cf2d4 Merge "Fix search results for backup settings." 2017-03-06 10:24:17 +00:00
TreeHugger Robot
f36b5e5da8 Merge "Import translations. DO NOT MERGE" 2017-03-06 06:20:18 +00:00
Lorenzo Colitti
eb1f3cfba1 Merge "Display the correct default for mobile data always on." am: 737d42a0db am: 58e9855b53
am: db77518a65

Change-Id: I006172e9f119b5586e71d174dd6f1ecf63a2464d
2017-03-06 04:12:58 +00:00
Lorenzo Colitti
db77518a65 Merge "Display the correct default for mobile data always on." am: 737d42a0db
am: 58e9855b53

Change-Id: I7f27267da9773d4ffe8f7c476efb4839b1ba496c
2017-03-06 04:08:55 +00:00
Lorenzo Colitti
58e9855b53 Merge "Display the correct default for mobile data always on."
am: 737d42a0db

Change-Id: I5302cc5cc7d0847e127fcbf8af42fb6eef54c303
2017-03-06 04:04:55 +00:00
Bill Yi
25563eb146 Import translations. DO NOT MERGE
Change-Id: I34bcf00ed9bc82e0485dc00156cfc69af6973243
Auto-generated-cl: translation import
2017-03-05 20:00:49 -08:00
Treehugger Robot
737d42a0db Merge "Display the correct default for mobile data always on." 2017-03-06 03:57:50 +00:00
minoru.x.sakuma
ad3c71cefd Merge "Unify the design of add icon in setting" am: bc9731a575 am: 398eca1067
am: 36b2de22cf

Change-Id: I5d139de04c1cfd02f339ab947e0708b8d6c4a31f
2017-03-06 01:29:19 +00:00
minoru.x.sakuma
36b2de22cf Merge "Unify the design of add icon in setting" am: bc9731a575
am: 398eca1067

Change-Id: I5bf02f104479aba4e1dc199c07077cff5afdffc2
2017-03-06 01:25:46 +00:00
minoru.x.sakuma
398eca1067 Merge "Unify the design of add icon in setting"
am: bc9731a575

Change-Id: Ieae295ad277877e52399032908677c15180159d3
2017-03-06 01:22:16 +00:00
Treehugger Robot
bc9731a575 Merge "Unify the design of add icon in setting" 2017-03-06 01:17:56 +00:00
TreeHugger Robot
98fa7780a9 Merge "Fix ServiceConnectionLeak in network fragment" 2017-03-04 16:25:12 +00:00
Matthew Fritze
5e1ab7f974 Add tests for NonIndexableKeys in NFC payments
Also serves as an example for testing NIKs.

Test: make RunSettingsRoboTests
Fixes: 35931606, 35657617

Change-Id: Ia4de8ec3c508ceaa6573252ecd372b479b5ce815
2017-03-03 18:23:28 -08:00
Fan Zhang
f5f71a9be2 Fix ServiceConnectionLeak in network fragment
Change-Id: I43efe9ae31fc2f58361abdb034b0205a3f3e2b71
Fix: 35957226
Test: make RunSettingsRoboTests
2017-03-03 18:01:19 -08:00
TreeHugger Robot
2f7d8bc086 Merge "Adding "Install Other Apps" in App Info page" 2017-03-04 00:39:22 +00:00
TreeHugger Robot
271dd30704 Merge "Update theme for filter widget." 2017-03-04 00:35:07 +00:00
TreeHugger Robot
04a5a99387 Merge "Fixing a bug in suggestion logging and adding more tests." 2017-03-04 00:29:15 +00:00
TreeHugger Robot
50aa0008fc Merge "Remove WirelessSettings and related code not used in new IA." 2017-03-03 22:59:22 +00:00
Fan Zhang
3ca5e45425 Update theme for filter widget.
Bug: 35933748
Test: visual

Change-Id: I0c09c90360c436e25ca4a40993dde31cb2b4287b
2017-03-03 14:53:13 -08:00
Nathan Harold
a01858fdaa Merge "Update references to use PhoneConstantConversion" 2017-03-03 22:51:45 +00:00
Suprabh Shukla
86d52db588 Adding "Install Other Apps" in App Info page
Added a preference link to manage external sources in the app info
screen just like other special access permissions.

Test: Manually checked that the link appears on apps once their app op
is set to allow or deny.
Also, added some basic robolectric unit tests:
make -j32 RunSettingsRoboTests

Bug: 35481942
Change-Id: If687778b7a64fb7d278508b78d06272253a98e3e
2017-03-03 14:46:16 -08:00
Doris Ling
26208220cf Remove WirelessSettings and related code not used in new IA.
- remove WirelessSettingsActivity and update other references to it.
- move the intent filter android.settings.WIRELESS_SETTINGS and
  android.settings.AIRPLANE_MODE_SETTINGS into Network dashboard
- move intent filter android.settings.NFC_SETTINGS into Connected
  devices dashboard.

Change-Id: I84f75ac45d0712eac9c40aa6c8f052bc060ed03a
Fix: 32342061
Test: make RunSettingsRoboTests
2017-03-03 13:20:12 -08:00
TreeHugger Robot
430c8d37d0 Merge "Remove a few old IA related manifest entries." 2017-03-03 21:13:55 +00:00
TreeHugger Robot
e15ea49654 Merge "Notification channel group res id labels." 2017-03-03 19:45:47 +00:00
Soroosh Mariooryad
606cb64097 Fixing a bug in suggestion logging and adding more tests.
Test: RunSettingsRoboTests
Fixes: b/35802845

Change-Id: I216b3ff344ccdffd038d924649109483e80f5437
2017-03-03 10:18:52 -08:00
Nathan Harold
8202c202dd Update references to use PhoneConstantConversion
Bug: 33414487
Change-Id: I391671e38406235da48bddf61a70699974367e33
2017-03-03 10:10:09 -08:00
Roger Xue
df0477bbba Merge "move PermissionsSummaryHelper into SettingsLib to share with car settings Bug: 34679894 Test: make RunSettingsRoboTests -j128 Change-Id: I53a3f3d8d2a05b33d2cff52a06236dd7d31dbe63" 2017-03-03 17:06:59 +00:00
Anton Philippov
9a5220e7c3 Fix search results for backup settings.
Make BackupSettingsAcitivity searchable and remove PrivacySettings from
the search index.

Bug: 35720213
Test: make RunSettingsRoboTests -j40
Change-Id: Id2e091c978e4da078dcc6bc57760ec830e439c0c
2017-03-03 12:49:40 +00:00
Lorenzo Colitti
15fb2d1096 Display the correct default for mobile data always on.
Mobile data always on was enabled by changing the default in
ConnectivityService to 1. However, the default value in the
developer options setting was left at 0. This means that by
default (i.e., when the setting is empty), mobile data always on
is enabled but appears in developer options as disabled.

Fix this by changing the default in developer options. This is
simpler than the other options (adding database upgrade code to
settings, making the default be controlled by config.xml and
ensuring that when a config changed broadcast is received the
value is re-rease, hardcoding a default value as an @hide
constant in Settings, etc.)

Bug: 23113288
Test: setting is off after "adb shell settings delete global mobile_data_always_on"
Change-Id: I27e2c0af7a03e510e640dbcfa281449d00385154
2017-03-03 18:56:23 +09:00
minoru.x.sakuma
f014ae5bc5 Unify the design of add icon in setting
Add icon "+" displayed in APN setting differs from ones in other
settings like VPN settings, SIP accounts etc. Change the icon to
align with others.

Bug: 35936472
Test: Manually check icon display with fix
Change-Id: I99a57fbeb55bb04f911d28e85752ec04edab6f0e
2017-03-03 05:15:02 +00:00
TreeHugger Robot
ce6e17ddfe Merge "Set config for enabling support UI in Settings" 2017-03-03 04:21:38 +00:00
TreeHugger Robot
a9ee4e8649 Merge "Show uninstall for all users option menu in app info." 2017-03-03 04:19:07 +00:00
TreeHugger Robot
d749dfadcb Merge "Show settings app icon and name in recents" 2017-03-03 03:59:28 +00:00
TreeHugger Robot
6f80166cbb Merge "Share preference controllers between fragment/searchIndexer" 2017-03-03 03:09:56 +00:00
Fan Zhang
52ed61e225 Remove a few old IA related manifest entries.
Bug: 35764802
Test: make RunSettingsRoboTests (no regression)
Change-Id: Icda86964032bb56363c24821e480ac91d614ee54
2017-03-02 17:11:26 -08:00
Fan Zhang
801be627fc Share preference controllers between fragment/searchIndexer
Test: make RunSettingsRoboTests
Change-Id: I9042bac87b7c063b89c143d3089ed4d94f77b994
Fix: 35812240
2017-03-02 17:03:03 -08:00
Fan Zhang
2a376723ae Fix a NPE when clicking encryption interstitial header
Pref tree handler cannot assume preference has non-null key.

Change-Id: I790e75f3b4c888e2a48b297bea89cda0b8dbaabd
Fix: 35855587
Test: runtest --path tests/app/src/com/android/settings/EncryptionInterstitialTest.java
2017-03-02 17:02:22 -08:00