Commit Graph

15016 Commits

Author SHA1 Message Date
Fan Zhang
b52c50d01d Add setting page for swipe to notification.
In this change input & gesture page added 5 separate gesture
preferences, each should lead to a new page to set gesture setting. For
now only swipe to notification preference is wired up. Will implement
the rest in later changes.

Bug: 32637613
Test: make RunSettingsRoboTests -j40
Change-Id: I57ceea8fcd85f3a0ab59cbd12da50b7138f5ca0c
2016-11-08 13:29:35 -08:00
Nathan Harold
7c16338c47 Merge changes from topic 'radio-info-ims'
* changes:
  Add Ims Registration Info to RadioInfo
  Enable and Disable IMS Provisioning Based on Platform Capability
2016-11-08 19:47:49 +00:00
Julia Reynolds
0f3dd6d168 Allow users to pick a notification assistant.
Test: manual. select and deselect an assistant, and verify that
the assistant can and then cannot get notification events.

Change-Id: If89c77f37170a44c827f997631aa7413da5a83e2
2016-11-08 14:45:34 -05:00
Tamas Berghammer
265d3c2a0c Update package names to work with the proto3 compiler
Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
2016-11-08 14:06:17 +00:00
Fan Zhang
a1d1d67ce3 Add Input & Gesture/Language & Region pages under System.
- Removed LanguageAndInputDashboardAlias because now the contents are
  moved to new pages.

Bug: 32637613
Bug: 32643833
Test: RunSettingsRoboTests
Change-Id: Ia66a942a449a07b9cbba53bdc97738148aafadb4
2016-11-07 17:05:22 -08:00
Fan Zhang
22d42d52cf Refactor IMEAndLanguageSettings to use PreferenceController
Bug: 32642706
Bug: 32637613
Bug: 32643833
Test: RunSettingsRoboTests

This change is necessary to test preference controlling logic, as well
as making preferences reusable in other Preference pages in the new
information architecture.

Change-Id: I9e2fd2f6800579f005a5c303ed03ae06477006a6
2016-11-07 15:29:04 -08:00
Tony Mak
c8041d8228 Add policy transparency to "Remove work profile"
Bug: 32301173

Test: Manual test

Change-Id: Idcb75d2d40b8e7b59467e488d3e9837afe7c424a
2016-11-07 18:21:46 +00:00
Fan Zhang
e185c5cc19 Merge "Remove logic of calling InputMethodAndSubtypeUtil." 2016-11-07 18:18:41 +00:00
Fan Zhang
7304370954 Merge "Remove dead code KeyboardLayoutPickerFragment." 2016-11-07 17:15:50 +00:00
TreeHugger Robot
ca8f23a5f7 Merge "Add Usb preference to connected devices dashboard." 2016-11-05 01:11:09 +00:00
Lei Yu
7240997bf8 Merge "update summary change no matter whether summary is equal" 2016-11-04 23:53:10 +00:00
Doris Ling
eb51bde8c9 Add Usb preference to connected devices dashboard.
Add Usb preference and the corresponding controller.

Change-Id: I79e3f20b5c024ece0515f9a6cba1185ba8b8c7be
Fixes: 31800290
Test: make RunSettingsRoboTests
2016-11-04 15:39:18 -07:00
Nathan Harold
e272c2078b Add Ims Registration Info to RadioInfo
Bug: 32438227
Test: none
Change-Id: Iadb21a3108aaaa3afcde3972e6f98bfbbd5413f1
2016-11-04 15:09:14 -07:00
Fan Zhang
25cd53f0a9 Remove logic of calling InputMethodAndSubtypeUtil.
InputMethodAndLanguageSettings calls InputMethodAndSubtypeUtil for no
good reason. The page does not display or provide ways to change IMEs.
The virtualKeyboardFragment does, and it already contains logic for
refreshing InputMethodAndSubtypeUtil.

Bug: 32642706
Test: Compiles
Change-Id: Icdbf9cd2fa95ba3037c1e47d62c7514376cf8037
2016-11-04 14:51:53 -07:00
Fan Zhang
aceee52a8b Remove dead code KeyboardLayoutPickerFragment.
Bug: 32642706
Test: compiles
Change-Id: I02b7abed470a813bff13fe9d71fcf870a47de6b3
2016-11-04 14:22:41 -07:00
Nathan Harold
6dc15e93a3 Enable and Disable IMS Provisioning Based on Platform Capability
Bug: none
Test: none
Change-Id: I4be301864a3d48ef14834caa707e9d64536fd836
2016-11-04 13:21:56 -07:00
Stephen Chen
4ba959c7c4 Add subtypes to tron logging for Wifi toggles.
am: b21815e320

Change-Id: Ia08aa862e311dba4af08a1a76c0083519dcdeeb9
2016-11-04 17:22:30 +00:00
TreeHugger Robot
25fda11d3f Merge "More cleanup in input & language settings." 2016-11-04 02:53:33 +00:00
TreeHugger Robot
882cc1e0a9 Merge "Remove logic for select input method preference." 2016-11-03 23:59:10 +00:00
Fan Zhang
cdaf4f7970 More cleanup in input & language settings.
- Removed unused preferences that are commented out in pref xml.
- Also removed code that references to them in Fragment.

Bug: 32637613
Test: compile/manual
Change-Id: I84be24f9c5df7531843f03b047a93f9aa912432e
2016-11-03 16:08:13 -07:00
Fan Zhang
46debf8256 Remove logic for select input method preference.
- The prefrence is not used in code according to comment, and it's not
  defined in xml. So this chunk of code is redundant and should be
  removed.

Bug: 32642706
Test: compiles, and manually navigate to fragment.
Change-Id: Iac38632d090c635f324bc4eed8e1c41300ddb08e
2016-11-03 15:38:57 -07:00
Stephen Chen
b21815e320 Add subtypes to tron logging for Wifi toggles.
For ACTION_WIFI_CONNECT, added subtype to specify whether user is
connecting to saved network.
For ACTION_WIFI_OFF, added subtype to specify whether user was connected
to a network at the time.

Bug: 32371451
Test: Verify logs by running:
adb logcat -b events | egrep '(sysui_|notification_)'
Merged-In: I1d4445bda2fbeb062831e6f858ccc711bff65105

Change-Id: I6b87dc10fcfe412f1c72ae944c2dd4d81da12b53
2016-11-03 14:16:06 -07:00
TreeHugger Robot
9f69876d54 Merge "Add memory settings to developer setting." 2016-11-03 19:26:47 +00:00
Udam Saini
e2bd1d9fa6 Merge "Can launch into the lock screen with setup wizard style" 2016-11-03 17:28:20 +00:00
Fan Zhang
9f74ef8d4b Add memory settings to developer setting.
Bug: 32623105
Test: make RunSettingsRoboTests
Change-Id: I81e38b1ea4e59c330d0eef078af2751b3de739fe
2016-11-03 10:21:38 -07:00
jackqdyulei
f6979e257c update summary change no matter whether summary is equal
Since the method parameter tile and tile in adpater is the same
instance, it is useless to check whether summary has changed.

Test: Run SettingsRoboTests
The function used in notifySummaryChanged already has testcases
in DashboardDataTest

Change-Id: I8c8969fcd2c89f368ca507808910fc7a9852f192
2016-11-02 16:45:57 -07:00
Lei Yu
8109a0fb6b Merge "Show "uninstall for all users" when >1 users installed it." 2016-11-02 23:21:35 +00:00
TreeHugger Robot
6478c51c1e Merge "Add PrivacySettings to System category." 2016-11-02 23:06:02 +00:00
Fan Zhang
5944768fbe Merge "Refactor bindPreferenceToTile to properly handle multi-user" 2016-11-02 21:05:31 +00:00
Jorim Jaggi
d189932759 Merge "Revert "The big keyguard transition refactor (1.1/n)"" 2016-11-02 21:01:48 +00:00
Fan Zhang
0e8d0d19af Add PrivacySettings to System category.
This activity is only activated when useDefaultBackup flag is set in
SettingsActivity

Bug: 31801428
Test: RunSettingsRoboTests
Change-Id: I7f5e968684dea623fb5604f944472accb89a0176
2016-11-02 13:44:28 -07:00
Jorim Jaggi
c0c583c2cd Revert "The big keyguard transition refactor (1.1/n)"
This reverts commit a3b50cc1ba.

Change-Id: I6db7d00d671556084d4903803c7d180ad7d091ca
Fixes: 32598209
2016-11-02 20:33:32 +00:00
Udam Saini
d6b1c666c5 Can launch into the lock screen with setup wizard style
The trampoline currently always uses the settings style for set action
new password. When called during setup wizard, it should launch the
setup wizard style.

Test: Added robotests for launching activity and copying setup wizard
extras. Also manually tested with an application when device is
provisioned and not provisioned.

bug:32575389
Change-Id: I5763eb87b63a46b05cd200bb73b15bdc24c8bd3b
2016-11-02 11:49:09 -07:00
TreeHugger Robot
44a9f1275a Merge "Make Vpn.isAvailable return available, not unavailable" 2016-11-02 18:16:56 +00:00
Juan Flores
4efb05a92b Merge "Fix crash while searching in Settings" am: 176c0c5d98 am: d705a333ca am: 16455893d7
am: 8510f57509

Change-Id: I58f746d72597db65456a4d09308c82a422fd318b
2016-11-02 16:50:04 +00:00
Juan Flores
8510f57509 Merge "Fix crash while searching in Settings" am: 176c0c5d98 am: d705a333ca
am: 16455893d7

Change-Id: Ic41c29b7d3ba2c90e4c375c843ea8532b236f4a4
2016-11-02 16:47:33 +00:00
Juan Flores
16455893d7 Merge "Fix crash while searching in Settings" am: 176c0c5d98
am: d705a333ca

Change-Id: I31732b822a80caa52cb97c43ea093dea8c0b19cb
2016-11-02 16:45:03 +00:00
Juan Flores
d705a333ca Merge "Fix crash while searching in Settings"
am: 176c0c5d98

Change-Id: Iaaf4de39939728e9b2645e119437a9142473a5b1
2016-11-02 16:42:03 +00:00
Treehugger Robot
176c0c5d98 Merge "Fix crash while searching in Settings" 2016-11-02 16:37:08 +00:00
Robin Lee
8be8e626d2 Make Vpn.isAvailable return available, not unavailable
Also removed the check about secondary users. We already disable
adding a legacy VPN for secondary users inside the Settings page
itself.

We do not want to stop our users from configuring/disabling third
party VPNs, that's completely supported.

Bug: 23693383
Fix: 32308780
Test: manual, needs robotest
Change-Id: I99ab14b6b26582bdd7fc491c4b2542f3e653f3dc
2016-11-02 16:34:41 +00:00
Jorim Jaggi
7ec0eb1262 Merge "The big keyguard transition refactor (1.1/n)" 2016-11-02 02:14:16 +00:00
Julia Reynolds
69cb293a51 Merge "Channel updates from users lock fields from interference." 2016-11-02 01:20:23 +00:00
TreeHugger Robot
b430df4007 Merge "Add subtypes to tron logging for Wifi toggles." 2016-11-01 21:58:03 +00:00
Jorim Jaggi
a3b50cc1ba The big keyguard transition refactor (1.1/n)
Make sure to dismiss FALLBACK_HOME after we are fully unlocked, or
else AM will be waiting for the actual home to be visible before
unlocking.

Change-Id: I2f47ba1ff8f07e871be0d7187714aae5b81e9334
2016-11-01 14:07:40 -07:00
Stephen Chen
d9e2c946af Add subtypes to tron logging for Wifi toggles.
For ACTION_WIFI_CONNECT, added subtype to specify whether user is
connecting to saved network.
For ACTION_WIFI_OFF, added subtype to specify whether user was connected
to a network at the time.

Bug: 32371451
Change-Id: I1d4445bda2fbeb062831e6f858ccc711bff65105
Fixes: 32371451
Test: Verify logs by running:
adb logcat -b events | egrep '(sysui_|notification_)'
2016-11-01 13:18:55 -07:00
Doris Ling
0d148c4b62 Merge "Add Auto sync account data to account dashboard." 2016-11-01 20:09:51 +00:00
Fan Zhang
5482637f8b Refactor bindPreferenceToTile to properly handle multi-user
Change-Id: I751eb645663b3546c212925e2ba4a0a94714013b
Fixes: 32470791
Test: RunSettingsRoboTests
2016-11-01 12:06:38 -07:00
Doris Ling
86e1df9bd9 Add Auto sync account data to account dashboard.
Add auto sync to User & accounts dashboard, and update
UserSettings to use the emergency info and add user when locked
controllers.

Test: RunSettingsRoboTests
Bug: 31801423
Change-Id: Ibf5a886276a9aa8f53c548036aecfd6c4d759ae3
2016-11-01 11:28:36 -07:00
Fan Zhang
1398c4b367 Fix crash when opening account sync detail for external app am: c9cdc25f41 am: f3e86ca481
am: ce01f167e1

Change-Id: I36a67f2241b1a4e2fc8787adb84af31209084ede
2016-11-01 17:25:38 +00:00
Fan Zhang
f3e86ca481 Fix crash when opening account sync detail for external app
am: c9cdc25f41

Change-Id: Ic8016695966d64c02c4e2fbe37703db8c771930e
2016-11-01 17:21:36 +00:00