Commit Graph

33653 Commits

Author SHA1 Message Date
Doris Ling
d299b03f28 Remove old code relating to SystemSettings not used in new IA.
- remove activity alias: DevelopmentSettingsDashboardAlias,
DateTimeDashboardAlias, AboutDeviceDashboardAlias,
BackupResetDashboardAlias, EnterprisePrivacyDashboardAlias, and
AccessibilityDashboardAlias and updated the corresponding target
activities with the alias metadata.

- remove InputMethodAndLanguageSettingsActivity and
GestureSettingsActivity and the associated xml.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I7d4922f8dfaac40e8ad077a68008185cd9fe3304
2017-02-28 17:46:24 -08:00
TreeHugger Robot
b567ff46c3 Merge "Remove old code from DisplaySettings not used in new IA." 2017-02-28 21:33:32 +00:00
TreeHugger Robot
88d9977b88 Merge "Add a content description to the app info button." 2017-02-28 21:12:40 +00:00
Doris Ling
c626f00b01 Remove old code from DisplaySettings not used in new IA.
- removed the old display settings xml
- merge DisplayDashboard metadata into DisplaySettingsActivity instead
and remove DisplayDashboard.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I9280c9b5c586acd9d97602b0fb12025fafca8af5
2017-02-28 11:52:55 -08:00
Daniel Nishi
93e08ebf80 Add a content description to the app info button.
This resolves an issue where Talkback would call the
app info button "unlabelled."

Change-Id: I59d8639584c48d8eeb7640bdac3d18bc7667009f
Fixes: 35338852
Test: Settings Robotest
2017-02-28 11:04:05 -08:00
Daniel Nishi
4bc25cc224 Merge "Use "Music & audio" as the title for the music view." 2017-02-28 18:01:38 +00:00
Antony Sargent
a24d7d4ccd Merge "Increase character limit for filter_instant_apps string in Settings" 2017-02-28 17:52:30 +00:00
William Luh
c8c6c4b1c7 Merge "Query the security feature provider on separate threads." 2017-02-28 17:20:32 +00:00
TreeHugger Robot
92033fdb6f Merge "Import translations. DO NOT MERGE" 2017-02-28 08:01:02 +00:00
Bill Yi
216107c857 Import translations. DO NOT MERGE
Change-Id: I66b665fc65a0a0bb316196f621b96882ea038f2b
Auto-generated-cl: translation import
2017-02-27 18:31:19 -08:00
TreeHugger Robot
a4c1a27672 Merge "Fix empty summary when no theme is set." 2017-02-28 02:12:23 +00:00
Daniel Nishi
b6059a9e98 Use "Music & audio" as the title for the music view.
Change-Id: I33bc5ccf55ee09842368b2fd4a83b9fd492eded0
Fixes: 35713002
Test: Manual
2017-02-28 01:36:22 +00:00
Doris Ling
f831c59e6f Fix empty summary when no theme is set.
When current theme is empty or null, set the summary to Default.

Change-Id: I1ede31952a09956a805e6ef09c0967ecdfa5051a
Fix: 34975969
Test: make RunSettingsRoboTests
2017-02-27 16:29:59 -08:00
Antony Sargent
5851f7a58c Increase character limit for filter_instant_apps string in Settings
Bug: 35743917
Test: not applicable

Apparently the existing character limit of 30 was too small for some
language translations, so this CL increases it to 40.

Change-Id: Iba5c9867dfd1dbfeca5280219aa3cad1e4f7d981
2017-02-27 15:35:53 -08:00
Fan Zhang
11df895bd1 Add multi sim setting page into network category.
Change-Id: I604a80f83fa715dc69ed1cbced1bbf538b7c20ee
Fix: 35623660
Test: make RunSettingsRoboTests
2017-02-27 15:34:55 -08:00
TreeHugger Robot
bf96583086 Merge "Add logging when launch fragment name is null." 2017-02-27 22:53:03 +00:00
TreeHugger Robot
eb876ea23a Merge "Use framework support to customize dividers between prefs." 2017-02-27 22:42:11 +00:00
Youhan Wang
bee2554f13 Merge "Add TelephonyMonitor debug switch in Developer Options." 2017-02-27 21:14:54 +00:00
Doris Ling
15ae329f99 Add logging when launch fragment name is null.
Change-Id: I118c22a46eb794b21f9808978a68afd86b596e4e
Fix: 35203478
Test: Manual
2017-02-27 13:09:49 -08:00
Fan Zhang
bfb006aa32 Use framework support to customize dividers between prefs.
Bug: 33579296
Test: make RunSettingsRoboTests
Change-Id: I1bb3b82b88dc727cda05b00058e6f40564f0e5db
2017-02-27 12:47:44 -08:00
TreeHugger Robot
427b99cbdc Merge "Moving load of suggestions from onViewCreated to onCategoriesChanged." 2017-02-27 20:23:32 +00:00
TreeHugger Robot
1a5af84352 Merge "Experimental change to use colorful icons in Settings home" 2017-02-27 19:10:29 +00:00
Meng Wang
4e305cf9c7 Merge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec am: e21cbcb6b4
am: 556e3bb3e8

Change-Id: I1a189c49f1ca8c0a8c12f1c834d90f61d25fc470
2017-02-27 18:34:34 +00:00
Meng Wang
556e3bb3e8 Merge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec
am: e21cbcb6b4

Change-Id: If09bb76b63b0e71d3fa9cf6a42c2436e52093d6a
2017-02-27 18:32:30 +00:00
Soroosh Mariooryad
9ca41dd89a Moving load of suggestions from onViewCreated to onCategoriesChanged.
- This is required when a suggestion is completed and it needs to be
removed from the list immediately.

Test: RunSettingsRoboTests
Fixes: b/35657186

Change-Id: I731bd1d4ef4a23a74cb4022513d0824ff5f74b2a
2017-02-27 10:30:55 -08:00
Meng Wang
e21cbcb6b4 Merge "WiFiCallingSettings: don't start carrier app in onResume"
am: 05c88316ec

Change-Id: I1e212c2486e896ad9945d7881f01895fedb27615
2017-02-27 18:29:48 +00:00
Treehugger Robot
05c88316ec Merge "WiFiCallingSettings: don't start carrier app in onResume" 2017-02-27 18:25:05 +00:00
Youhan Wang
607ffe685e Add TelephonyMonitor debug switch in Developer Options.
Test: make ROBOTEST_FILTER=TelephonyMonitorPreferenceControllerTest
RunSettingsRoboTests -j40

Bug:35206589
Change-Id: I72d89acab95980511a2fd54420fd9d3c5ddaddab
2017-02-27 09:59:06 -08:00
Lei Yu
0497ee9731 Merge "Add NPE check for battery header update." 2017-02-27 17:56:24 +00:00
Antony Sargent
5ac2e138b1 Merge "Fix app filter breakage caused by ag/1900403" 2017-02-27 16:55:36 +00:00
Jeff Sharkey
bf31617f40 Merge "Follow API removals." 2017-02-27 01:45:45 +00:00
Lei Yu
c6fdf599fb Merge "Add NPE check for screen and cellular update." 2017-02-25 18:35:16 +00:00
Meng Wang
d3b0c37ef2 WiFiCallingSettings: don't start carrier app in onResume
onResume initialize UI before registering switch change listener.
So that listener is not invoked in UI initialization, but only real
switch change by user.

Bug: 33680334
Test: make
Test: manual - carrier app is not invoked in onResume
Change-Id: I7ca1eb1eab214b50c8de72946590c1ecb676d4df
2017-02-25 10:23:23 -08:00
Marie Janssen
cd45633eb0 Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" am: 17ad73ed9b am: 019c8f38fe
am: 14795a7855

Change-Id: If28610b01c89647b66f84561455e540c480d49fa
2017-02-25 13:51:01 +00:00
Marie Janssen
14795a7855 Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" am: 17ad73ed9b
am: 019c8f38fe

Change-Id: I12084f452872d8fb9778ad6360c8e58196fdcddf
2017-02-25 13:47:59 +00:00
Marie Janssen
019c8f38fe Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
am: 17ad73ed9b

Change-Id: Ib26f0014a8ef37f0c1b0e738597690343c30e940
2017-02-25 13:44:29 +00:00
Treehugger Robot
17ad73ed9b Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" 2017-02-25 13:39:28 +00:00
Marie Janssen
41cdfd8887 Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth
Bluetooth is the receiver for the OPEN_RECEIVED_FILES intent, so we
should aim the intent directly at them.

Test: go to BT settings and click "Open Received Files" in the context
Change-Id: I057215f1faf04c8c735a7e9340325716225ad22d
Fix: 35246073
2017-02-25 13:39:16 +00:00
TreeHugger Robot
b7c595a636 Merge "Removed AccountSettings used in old IA only." 2017-02-25 03:04:06 +00:00
TreeHugger Robot
7450c35828 Merge "Removed emergency info and add user when locked from Users settings." 2017-02-25 02:45:36 +00:00
TreeHugger Robot
25f3d48047 Merge "Restore the shortcut icon size." 2017-02-25 02:42:24 +00:00
Fan Zhang
93d2294eab Experimental change to use colorful icons in Settings home
Bug: 34978809
Test: manual
Change-Id: Ia48404dd631d996dfcc25457baef9f60ab4408cb
2017-02-24 17:41:37 -08:00
Chen Xu
92b6814946 Merge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616 am: fbf747bb76
am: 9f5e1f92b8  -s ours

Change-Id: I7a06998f8ffb4d49525e2a5ad40267f0d6712455
2017-02-25 01:24:41 +00:00
TreeHugger Robot
52c5c54ef8 Merge changes from topic 'build_number_logging'
* changes:
  Log when build number preference is clicked.
  DeviceInfo: move more prefereces in PreferenceController
2017-02-25 01:19:19 +00:00
Chen Xu
9f5e1f92b8 Merge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616
am: fbf747bb76

Change-Id: I4fa43c07a96d070c209e6c71a7c5227958aef2ee
2017-02-25 01:17:45 +00:00
Makoto Onuki
fa7b3b31a6 Restore the shortcut icon size.
Bug: 35515740
Test: Manual tests with Ibb94728eb03
Change-Id: I606916e97acdf5106372deec98f2bd98509b39f7
2017-02-24 17:15:04 -08:00
Chen Xu
fbf747bb76 Merge "move ACTION_CARRIER_SETUP intent to public api"
am: d989558616

Change-Id: Ic1b747c58bd8dc786e98bb3786e7ccecee7889be
2017-02-25 01:11:04 +00:00
Chen Xu
d989558616 Merge "move ACTION_CARRIER_SETUP intent to public api" 2017-02-25 01:05:30 +00:00
Antony Sargent
16e6eced00 Fix app filter breakage caused by ag/1900403
Bug: 35726115
Test: manual, run existing robo tests by make RunSettingsRoboTests

In ag/1900403 I renumbered the int constants in ManageApplications.java
to remove a gap in the sequence without realizing that the arrays
containing strings/filters based on these constants still contained
entries for the constant whose value was removed.

In this CL I've fixed that and reorganized the initialization code slightly
to make it easier to keep things in sync going forward.

Change-Id: I6d2db6499fb7eb080570bc757bde497fcd39fead
2017-02-24 16:05:30 -08:00
Doris Ling
f074f0f6dd Removed AccountSettings used in old IA only.
- remove AccountSettings and all related code that is used in old IA, so
that it will not show up in search.

Change-Id: I9f83112f760fd991caf89de109fde9e675b8c981
Fix: 34165913
Test: make RunSettingsRoboTests
2017-02-24 16:04:35 -08:00