Commit Graph

47661 Commits

Author SHA1 Message Date
TreeHugger Robot
c22c1be236 Merge "Redo the empty states in print settings" 2018-09-25 23:10:02 +00:00
TreeHugger Robot
25d95e0dec Merge "Add 'notificaton blocked' filter to notifications" 2018-09-25 22:34:37 +00:00
TreeHugger Robot
36f47db6ae Merge "Clean up: remove unused SuggestionFeature api." 2018-09-25 22:01:53 +00:00
Fan Zhang
050876fbec Merge "Fix add icon" 2018-09-25 20:56:30 +00:00
Fan Zhang
9c5c64891b Clean up: remove unused SuggestionFeature api.
Test: robotests
Change-Id: I91d06d93834674ca6019a86f8b3891198d424d7a
2018-09-25 13:16:59 -07:00
Fan Zhang
394ea1cde5 Merge "Move AppPreference to settingslib, and change imports." 2018-09-25 19:15:19 +00:00
Youming Ye
60118d0618 Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device" am: b7e3552b83 am: 31576aae7c
am: d976002dea

Change-Id: Iec53ef5f156b986a61a085a0a7c758574a78cee2
2018-09-25 10:31:48 -07:00
Youming Ye
d976002dea Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device" am: b7e3552b83
am: 31576aae7c

Change-Id: Ib37954bccacb44b670ee6c1af6e7188fdd91a46a
2018-09-25 10:27:22 -07:00
Youming Ye
31576aae7c Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device"
am: b7e3552b83

Change-Id: I14a7f51ace0637a6248fe13f9a4dc46ee4b9c0a1
2018-09-25 10:20:06 -07:00
Fan Zhang
dbc988085c Fix add icon
Change-Id: I3ffe5a71081aa03885fa8fada9ae6dff70db6171
Fixes: 116542229
Test: visual
2018-09-25 10:04:15 -07:00
Youming Ye
b7e3552b83 Merge "Wrong Carrier Config values are used in ApnSettings for Multi SIM device" 2018-09-25 17:04:10 +00:00
Fan Zhang
754f737c2c Move AppPreference to settingslib, and change imports.
Bug: 116364655
Test: robotests
Change-Id: I313272737dc7c068c47abf8ea021de7d2bea0a25
2018-09-25 09:51:19 -07:00
Julia Reynolds
a4e51b5238 Add 'notificaton blocked' filter to notifications
Test: robotests
Change-Id: I5c0cd9a2f73b6a22d66df7669e944bbe1473539c
Fixes: 112576746
2018-09-25 09:05:10 -04:00
timhypeng
eb230c76d9 Fix the logic error on PBAP permission assignment
-add test case

Bug: 114808220
Test: make -j42 RunSettingsRoboTests
Change-Id: Id77ade12c28e31a21c1c7a5dcb28906112d3465b
2018-09-25 01:51:40 +00:00
TreeHugger Robot
468b00f043 Merge "Settings icon pack refresh" 2018-09-25 00:29:23 +00:00
Fan Zhang
1f0879955c Settings icon pack refresh
* ic_add_24dp
* ic_airplane
* ic_arrow_down_24dp
* ic_cellular_off
* ic_data_saver
* ic_device_others
* ic_info_outline_24dp
* ic_search
* ic_night_display
* ic_lock_open
* ic_wifi
* ic_sync
* ic_wallpaper
* ic_phone

Bug: 116360411
Test: visual
Change-Id: I626cbb88043c36d32ab34b90fc83170bca0be12a
2018-09-24 15:40:14 -07:00
Torbjorn Eklund
25249e4314 Merge "ApnEditor: Consider subId when reading carrier config" am: f6f7079709 am: db353e2c4a
am: bfe80e39f2

Change-Id: I848fd4084f43b2aeb69cb5175c1c10de3355c21f
2018-09-24 11:08:59 -07:00
Torbjorn Eklund
bfe80e39f2 Merge "ApnEditor: Consider subId when reading carrier config" am: f6f7079709
am: db353e2c4a

Change-Id: Ie2ad2655b5fc399610acdcfd8327e99c60b7e2a8
2018-09-24 10:57:37 -07:00
Torbjorn Eklund
db353e2c4a Merge "ApnEditor: Consider subId when reading carrier config"
am: f6f7079709

Change-Id: I8d49e7f38528da4f5fc0cd18eecfd59854b7505f
2018-09-24 10:48:00 -07:00
Treehugger Robot
f6f7079709 Merge "ApnEditor: Consider subId when reading carrier config" 2018-09-24 17:24:03 +00:00
TreeHugger Robot
9f553bc863 Merge "Fix account deletion not updating account display" 2018-09-24 17:16:42 +00:00
TreeHugger Robot
7693a7acb7 Merge "Import translations. DO NOT MERGE" 2018-09-23 00:53:28 +00:00
Bill Yi
dc3dd91fac [automerger skipped] Import translations. DO NOT MERGE am: 5a4269d21e -s ours
am: a553a09700  -s ours

Change-Id: I22b8a5fd5b6b1f4c9a1c03ae3161f6993721e74c
2018-09-22 16:08:33 -07:00
Bill Yi
a553a09700 [automerger skipped] Import translations. DO NOT MERGE
am: 5a4269d21e  -s ours

Change-Id: I311f91cf73c826e657061f3fdbafd6e6c9ac5fa9
2018-09-22 16:02:30 -07:00
TreeHugger Robot
72967b934e Merge "Format regression test files" 2018-09-22 22:50:13 +00:00
Bill Yi
5a4269d21e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4317549e4010bb2cf75b07ade3cb8d54ba6dc708
2018-09-22 11:38:37 -07:00
Bill Yi
f97da8d22d Import translations. DO NOT MERGE
Change-Id: Icd25d8420b9c9facf3ee5bc363f2b2804d319716
Auto-generated-cl: translation import
2018-09-22 11:28:52 -07:00
TreeHugger Robot
d747cff993 Merge "Disable recently used apps in battery saver mode." 2018-09-22 00:06:00 +00:00
TreeHugger Robot
10bf029635 Merge "Add intent filter to launch usage access for app." 2018-09-21 21:31:38 +00:00
Fan Zhang
2a1e59063d Disable recently used apps in battery saver mode.
UsageStats query is too slow.

Change-Id: I53fa13924514e71221d3a6407139ff00ae5eb378
Fixes: 114788699
Test: robotests
2018-09-21 14:14:16 -07:00
Lei Yu
88ee1c83d7 [automerger skipped] Merge "Fix incorrect API invoke for BT profiles" am: 625c1eeaa9 am: dbc26b576c
am: 6ef05a6c23  -s ours

Change-Id: I89d838f7456503f987b6ac8ba706a3457694a16a
2018-09-21 13:24:27 -07:00
Lei Yu
6ef05a6c23 Merge "Fix incorrect API invoke for BT profiles" am: 625c1eeaa9
am: dbc26b576c

Change-Id: Ic6b7a4b7541310b3a635b94a799e3476cf5cc684
2018-09-21 13:20:16 -07:00
Lei Yu
dbc26b576c Merge "Fix incorrect API invoke for BT profiles"
am: 625c1eeaa9

Change-Id: I1a7f98b25cae2695d8f5895c8f6e03072ef4600f
2018-09-21 13:13:39 -07:00
Antony Sargent
e0202b219b Fix account deletion not updating account display
The visible symptom of this problem is that when deleting an account, if
a screen lock is set, after confirming the removal and entering the
credentials, you end up back on the account details for the page and it
looks like the deletion failed (even though it didn't).

There were two problems here:

-We were expecting the AccountDetailDashboardFragment to be in a resumed
state at the end of the confirmation dialog, but it wasn't if we had
launched the activity to have the user enter their screen lock
credentials. In the past trying to finish an activity that wasn't in
resumed state seemed to have generated a crash (b/6494527), but that
isn't the case anymore from some tests I ran.

-The AccountDetailDashboardFragment doesn't check in onResume that the
 account still exists.

This CL fixes the bug in 2 ways - we'll always try to finish the
AccountDetailDashboardFragment if the account removal succeeded, and
when AccountDetailDashboardFragment's onResume is called we'll always
check for the account existence. Either approach would be sufficient on
its own.

Change-Id: Iaa65e97fca5dfc8b1251968142e47315e3b590c2
Fixes: 112845988
Test: make RunSettingsRoboTests
2018-09-21 13:11:54 -07:00
Lei Yu
625c1eeaa9 Merge "Fix incorrect API invoke for BT profiles" 2018-09-21 19:50:45 +00:00
Lei Yu
ccbf7f3fff Merge "Fix null pointer crash in BT renaming dialog" 2018-09-21 02:25:34 +00:00
TreeHugger Robot
f553362778 Merge changes from topic "mobile_select_migration"
* changes:
  Fix compile error in NetwotkSelectSettings
  Copy NetworkSelectSettings to settings app
2018-09-21 01:40:29 +00:00
Philip P. Moltmann
2f4f269264 Redo the empty states in print settings
In the end the UI does not change but the new states:

- Are similar to the "empty" states we use in the print spooler
- Use the system print icon
- Use a translucent background icon which works correctly with dark mode

Test: Looked at all changed Settings pages
Fixes: 115830412
Change-Id: I1f5b005674e7072e989355f01ebd3fdaf56c9355
2018-09-20 17:06:06 -07:00
Fan Zhang
104ee2e423 Add intent filter to launch usage access for app.
Change-Id: Ide8aa590f9b4218d0f4affe65a7daec384480798
Fixes: 110200770
Test: adb shell am start -a android.settings.USAGE_ACCESS_SETTINGS -d package:com.android.settings
2018-09-20 16:44:54 -07:00
Fan Zhang
2a7c554f96 Format regression test files
Test: retest
Change-Id: I7c44bd39bc80768f455b95b5f314fbe65bf94b96
2018-09-20 14:56:55 -07:00
jackqdyulei
c7a83b2552 Fix incorrect API invoke for BT profiles
When hearing aid device has been set active, we shouldn't invoke
1. a2dpProfile.setActiveDevice()
2. hfpProfile.setActiveDevice()

Change-Id: Ie13dea041dd98d0cb9d913e1f28574b300095db9
Merged-In: Ie13dea041dd98d0cb9d913e1f28574b300095db9
Fixes: 113625278
Test: RunSettingsRoboTests
2018-09-20 12:38:26 -07:00
Julia Reynolds
68956715d4 Merge "Make the volume slider height 48dp" 2018-09-20 19:11:45 +00:00
Fan Zhang
45daefd152 Merge "Set MODE_LARGE to sliceView in the homepage." 2018-09-20 18:58:47 +00:00
jackqdyulei
1e207e1ab4 Fix compile error in NetwotkSelectSettings
1. Remove all the internal dependencies and add TODO
2. Use the API in SettingsFragment for progressbar

Bug: 114749736
Test: Build
Change-Id: If2f57dd24528ae1aac6a1fe84d4a40db237ae7da
2018-09-20 11:25:58 -07:00
jackqdyulei
00ec66cdfc Copy NetworkSelectSettings to settings app
This is a clean copy except:
1. Fix issues in strings.xml to make it pass pre-upload check
   a) add "CHAR_LIMIT"
   b) Update special character

Future CL will remove compile error and make it compatible with
settings.

Bug: 114749736
Test: Build
Change-Id: I8fe28ff1358f94334ff9663a4404628ae0eff9af
2018-09-20 11:25:35 -07:00
TreeHugger Robot
a114c09c7a Merge "Don't persist device index job across reboot" 2018-09-20 16:50:13 +00:00
TreeHugger Robot
d4f5215286 Merge "Do not show restricted icon by default" 2018-09-20 16:48:21 +00:00
TreeHugger Robot
d13f28433c Merge "Developer option to enable CBRS" 2018-09-20 15:29:06 +00:00
Torbjorn Eklund
ae8e62f4d0 ApnEditor: Consider subId when reading carrier config
Considers subId when reading carrier config values
KEY_READ_ONLY_APN_TYPES_STRING_ARRAY and
KEY_READ_ONLY_APN_FIELDS_STRING_ARRAY.

This ensures that the APN will be editable or non-editable correctly
when using dual sim.

Bug: 112929355
Test: Manual
Change-Id: I2186dd5e1f71ca5361309a7314f84cf4fa2d3937
2018-09-20 13:12:54 +00:00
Emily Chuang
bbcb421b49 Set MODE_LARGE to sliceView in the homepage.
The mode of sliceView is set to MODE_SHORTCUT accidentally
in the previous commit. Set it back to MODE_LARGE.

Change-Id: I1ae8e895fc0172d2d93fc19c54803d56040379da
Fixes: 115709730
Test: robotests
2018-09-20 14:51:14 +08:00