Commit Graph

47034 Commits

Author SHA1 Message Date
Evan Laird
2da76e4e0a Merge "Allow config to disable battery percent setting" into pi-dev am: 1f6c7910fb
am: 77e399335e

Change-Id: I58fa0d9772c01798ada18416bebc7fdd78bd245f
2018-06-21 15:29:56 -07:00
Fan Zhang
c904c8e7d7 Task affinity updates
- Remove task affinity for AppDrawOver Settings
- Remove task affinity for ConfigNotificationSettings

The task affinity is messing with the back stack for this activity when
launched externally

Change-Id: I596090d0615cebd04ee9eb56e06ba2761859a52d
Fixes: 80281932
Fixes: 80290571
Test: manual
2018-06-21 15:25:16 -07:00
Salvador Martinez
4dc79faefb Merge "Add unofficial intent for WifiTetherSettings" into pi-dev
am: ce58bf2ee9

Change-Id: I4874f7186a45a6d2792e42b708467010e3960db6
2018-06-21 15:25:13 -07:00
Salvador Martinez
ce58bf2ee9 Merge "Add unofficial intent for WifiTetherSettings" into pi-dev 2018-06-21 22:21:20 +00:00
Evan Laird
77e399335e Merge "Allow config to disable battery percent setting" into pi-dev
am: 1f6c7910fb

Change-Id: Ief7df5312104e44bda140f68dd5e6821c2736bbf
2018-06-21 14:58:14 -07:00
TreeHugger Robot
1f6c7910fb Merge "Allow config to disable battery percent setting" into pi-dev 2018-06-21 21:18:36 +00:00
Bill Yi
1d540a32b6 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: e5c1ff17ac -s ours
am: 626972bada  -s ours

Change-Id: I424e4a62ce7db132b2c30877a13db1f092083297
2018-06-21 12:40:57 -07:00
Bill Yi
626972bada [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: e5c1ff17ac  -s ours

Change-Id: If83968942476f9a142aa11b04f3437e52066ec88
2018-06-21 12:35:46 -07:00
TreeHugger Robot
e5c1ff17ac Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-21 19:26:04 +00:00
TreeHugger Robot
869daffb61 Merge "Do not stop wallpaper chooser activity" 2018-06-21 19:24:32 +00:00
Bill Yi
47baa07ba6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ieb6af16365681984ceafb048d338d8132df0e3bc
2018-06-21 11:31:13 -07:00
TreeHugger Robot
f7a6b5cbfb Merge "Disable the usage summary when there's no usage data." 2018-06-21 18:26:23 +00:00
Fan Zhang
ec40f41e4c Do not stop wallpaper chooser activity
When choosing wallpaper type, do not finish the activity so we can
maintain a consistent back stack.

Change-Id: I690f4482716c6eaeb0a31605fbdf0a2525be0a15
Fixes: 80554423
Test: robotests
2018-06-21 11:11:47 -07:00
Fan Zhang
7431c91de6 Remove search indexing pipeline from Settings
Index is already handled by SettingsIntelligenec. No longer needed in
Settings.

Change-Id: Id43fb3100dc2759185744441cff8cb9cd2d2da20
Fixes: 69808376
Test: robotests
2018-06-21 09:38:36 -07:00
Jong Wook Kim
d2ba8871b9 Display "Unavailable" when received default MAC
Display "Unavailable" instead of "02:00:00:00:00:00" when the current
MAC address is "02:00:00:00:00:00" which indicates that we couldn't get
the actual device MAC address.

Bug: 110043449
Test: unittest (make RunSettingsRoboTests
ROBOTEST_FILTER=WifiInfoPreferenceControllerTest)
Change-Id: Iac9f81d144fd4c93ac12adaa80e1a55b19a6e186
2018-06-21 16:24:37 +00:00
TreeHugger Robot
8691fed1cb Merge "Add NPE check when showing error dialog." 2018-06-21 15:15:26 +00:00
Ivan Chiang
2da4bf20b6 [automerger skipped] Merge "DO NOT MERGE Revert "DO NOT MERGE Revert "Fix gray out previously connected device preference issue""" into pi-dev am: 44505ef8cd
am: 8a0a3196fc  -s ours

Change-Id: Ia8c92a1817b3cbf379fbe799869a7e3e4ca3aa5a
2018-06-20 23:04:32 -07:00
Ivan Chiang
8a0a3196fc Merge "DO NOT MERGE Revert "DO NOT MERGE Revert "Fix gray out previously connected device preference issue""" into pi-dev
am: 44505ef8cd

Change-Id: I39adc9974b57830940b983bc7d378359de0505fd
2018-06-20 21:05:45 -07:00
TreeHugger Robot
44505ef8cd Merge "DO NOT MERGE Revert "DO NOT MERGE Revert "Fix gray out previously connected device preference issue""" into pi-dev 2018-06-21 02:30:43 +00:00
hughchen
c7ffef698b Add NPE check when showing error dialog.
Add NPE check when showing error dialog

Bug: 110263996
Test: make -j42 RunSettingsRoboTests ROBOTEST_FILTER=UtilsTest
Change-Id: I93d6c662ea7031a631ac8c2c33cacc974677c3d7
2018-06-21 10:04:34 +08:00
Fan Zhang
a5f68f9c3c Keep methods from SearchIndexProvider
Bug: 110403709
Test: rebuild
Change-Id: Iae39d0a50337c60f732fa54c61f4ff5982fcbd8e
2018-06-20 15:34:43 -07:00
Doris Ling
73b6e19968 Disable the usage summary when there's no usage data.
- when the preference is initialized, check for the network's overall
total usage. If there is no data available, disable launching the detail
page.

Change-Id: Ie81a5471de134bac63dedd3c39f4afe44201efe5
Fixes: 74451774
Fixes: 35855928
Test: make RunSettingsRoboTests
2018-06-20 15:26:43 -07:00
TreeHugger Robot
e29dd30c74 Merge "Remove unused shadow" 2018-06-20 18:17:53 +00:00
TreeHugger Robot
0a0551cb4d Merge "Update PBAP info for all pairing dialogs." 2018-06-20 16:55:40 +00:00
Salvador Martinez
bb3337100c Add unofficial intent for WifiTetherSettings
This CL adds an intent that can be used to start
WifiTether Settings.

Test: SettingsGatewayTest still passes
Bug: 110235497
Bug: 80251951
Change-Id: Iac94e563a91b1f821f69f18234d8176350ae5f29
2018-06-20 09:17:08 -07:00
jackqdyulei
7015e20a55 Update PBAP info for all pairing dialogs.
This is a bug from ag/4210612, in which it only update PBAP info
for USER_ENTRY_DIALOG. So in other kind of dialogs it never upload
correct PBAP info to bluetooth backend.

This CL fix it by updating PBAP for all dialogs.

Change-Id: Ia39eee1acaece555e8e5a305ec2c803294d7efbd
Fixes: 109842273
Test: RunSettingsRoboTests
2018-06-19 17:23:32 -07:00
Fan Zhang
3739508a75 Remove unused shadow
Bug: 110403709
Test: robotests
Change-Id: Ic653308e500df33399e091c70a98a8cc594baeeb
2018-06-19 16:42:54 -07:00
Daichi Ueura
9e7bbaec9a Merge "Show Wifi 'Off' status properly just after boot" am: 23482a54bb am: 01dfcc4ea9
am: bc77a7503d

Change-Id: Ia8572a2d8a0c73bb2fcdbfcc9c833ec8bc13d381
2018-06-19 15:46:45 -07:00
Daichi Ueura
bc77a7503d Merge "Show Wifi 'Off' status properly just after boot" am: 23482a54bb
am: 01dfcc4ea9

Change-Id: I45dd9479bd58d15f09c0a72b5e3fe71ee6f64d8a
2018-06-19 15:42:47 -07:00
Daichi Ueura
01dfcc4ea9 Merge "Show Wifi 'Off' status properly just after boot"
am: 23482a54bb

Change-Id: Icc111b50f52f5ed801d63bedfac851ba5dcc99c1
2018-06-19 15:36:47 -07:00
Treehugger Robot
23482a54bb Merge "Show Wifi 'Off' status properly just after boot" 2018-06-19 21:55:17 +00:00
Lei Yu
2997f8b635 Merge "Update dialog to pass accessibiliity scanner" 2018-06-19 20:57:52 +00:00
TreeHugger Robot
61a6d527c6 Merge "Misc tweaks to create shortcut handler" 2018-06-19 20:52:11 +00:00
Fan Zhang
807dfbb0ad Misc tweaks to create shortcut handler
- Add restriction to only allow system apps provide shortcuts
- Load icon from target package when building shortcut icons
- Codestyle clean up

Change-Id: If9e5c5e60601efda216ce2cc2d4fd7beb44279e1
Fixes: 110393916
Test: visual, robotests
2018-06-19 12:42:18 -07:00
TreeHugger Robot
b86438768c Merge "Don't show low battery tip when estimation is zero" 2018-06-19 18:42:43 +00:00
jackqdyulei
66c2aec611 Update dialog to pass accessibiliity scanner
Change-Id: I6b982a2416e46143a254db6d6c234897fa547ac9
Fixes: 110236135
Test: Screenshot
2018-06-19 11:17:42 -07:00
Daichi Ueura
f41d1605a3 Show Wifi 'Off' status properly just after boot
If Wifi is not enabled at boot, WIFI_STATE_CHANGED_ACTION
sticky intent is not present. This results in Wifi 'Off'
status is not shown. This patch handles such case by calling
notifyChangeIfNeeded at register to refresh status.

Bug: 110373099
Test: manual - Check status after device boot with wifi off
Change-Id: I009386b03ef3269b00ce403b86087664b295f397
2018-06-19 16:15:31 +09:00
TreeHugger Robot
3df8494f08 Merge "Reorder and clean up imports." 2018-06-19 00:06:24 +00:00
Fan Zhang
eee80ff489 Disable uninstall update option for secondary users.
Change-Id: Ib3146d37be82dae36392d71b43aa5331762d4684
Fixes: 110249550
Test: manual
2018-06-18 16:29:00 -07:00
Fan Zhang
c7162cd24d Reorder and clean up imports.
Test: rebuild
Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-06-18 15:45:09 -07:00
TreeHugger Robot
2c6cccb90c Merge "Suppress some gesture search when there is no hardware" 2018-06-18 22:21:46 +00:00
Fan Zhang
877fcd8013 Suppress some gesture search when there is no hardware
Change-Id: I780fe337da25d144b6966a098e95de52b1513e39
Fixes: 110250839
Test: robotests
2018-06-18 13:58:31 -07:00
TreeHugger Robot
6e288f4232 Merge "Add notification sent count to app info" 2018-06-18 19:43:00 +00:00
Fan Zhang
fc7188d822 Clean up DeviceAdminSetting: make it into DashboardFragment
Change-Id: Ib5634f782daef15ab317175084c6813d6b8a8bb7
Fixes: 110207366
Test: robo
2018-06-18 18:09:01 +00:00
Julia Reynolds
85a639577b Merge "Add notification sent count to channel settings" 2018-06-18 14:11:26 +00:00
Fan Zhang
50c8cdbf7e Fix robotest
Change-Id: Id6e9c82121873b68e6806d6c80634d592606f479
Fixes: 110263693
Test: robotest
2018-06-15 11:29:33 -07:00
Fan Zhang
81ec9e1131 Merge "Move device admin viewer/adder to specialaccess package." 2018-06-15 17:42:14 +00:00
Lei Yu
9beaab013f Merge "Disable two test files" 2018-06-15 17:34:02 +00:00
jackqdyulei
74deb8d6ae Disable two test files
They are broken in master because of change in framework. First disable
them to unblock the master.

Bug: 110263693
Test: RunSettingsRoboTests
Change-Id: I487129c905b070a5a968fd2b677218909e1afda4
2018-06-15 10:28:54 -07:00
Doris Ling
606ff9b7e4 Merge "Move clear instant app dialog logic out of AppInfoDashboardFragment." 2018-06-15 17:03:58 +00:00