Commit Graph

33756 Commits

Author SHA1 Message Date
TreeHugger Robot
68ef61a105 Merge "Create whitelist for the most popular settings" 2017-03-06 23:56:33 +00:00
TreeHugger Robot
490e4ea011 Merge "Add code coverage support for robolectric tests" 2017-03-06 20:51:34 +00: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
Fan Zhang
6ff6add756 Set config for enabling support UI in Settings
Change-Id: I85b7c7a7e465084d534757e083667b67928b8e43
Fix: 35870668
Test: make RunSettingsRoboTests
2017-03-02 17:02:06 -08:00
roger xue
42cce1e610 move PermissionsSummaryHelper into SettingsLib to share with car settings
Bug: 34679894
Test: make RunSettingsRoboTests -j128
Change-Id: I53a3f3d8d2a05b33d2cff52a06236dd7d31dbe63
2017-03-02 16:12:29 -08:00
Doris Ling
2508ed56ca Show uninstall for all users option menu in app info.
- when there is only 1 user installed the app, also check if it is
installed by the current user or by other user to determine whether or
not to show the uninstall for all button.

Change-Id: I1eecb13a7748c92159cb0626e2b6fe1ed6987d15
Fix: 34760157
Test: make RunSettingsRoboTests
2017-03-02 13:30:59 -08:00
Lei Yu
64fee1cfe1 Merge "Add metric enums for menu in battery settings page." 2017-03-02 21:05:44 +00:00
Antony Sargent
fa9da424a8 Merge "New design for instant apps in app details header" 2017-03-02 21:03:40 +00:00
Julia Reynolds
ca662cc9a7 Notification channel group res id labels.
Test: manual
Change-Id: Icf7208dc952a7306f04d53f4d681ec794563f2fd
2017-03-02 16:02:17 -05:00
TreeHugger Robot
b79eec9e50 Merge "Align dropdown preference's dropdown with preference text" 2017-03-02 20:03:01 +00:00
jackqdyulei
6c355f5d4b Show settings app icon and name in recents
If user opens a settings activity by intent, it will show icon and
label get from activity. However, we should show settings app icon
and name constantly.

Bug: 34645742
Test: RunSettingsRoboTest
Change-Id: Ic2f0fef32529ba3f425a0130d25ead47fa0bb97d
2017-03-02 11:29:41 -08:00
jackqdyulei
b0b45c3225 Add metric enums for menu in battery settings page.
Bug: 35063415
Test: RunSettingsRoboTests
Change-Id: I23f58a73f7e17da56796687209610165dd688aa6
2017-03-02 11:24:17 -08:00