Commit Graph

11147 Commits

Author SHA1 Message Date
Anton Philippov
8e667cf2d4 Merge "Fix search results for backup settings." 2017-03-06 10:24:17 +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
271dd30704 Merge "Update theme for filter widget." 2017-03-04 00:35:07 +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
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
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
TreeHugger Robot
ce6e17ddfe Merge "Set config for enabling support UI in Settings" 2017-03-03 04:21:38 +00: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
Antony Sargent
fa9da424a8 Merge "New design for instant apps in app details header" 2017-03-02 21:03:40 +00:00
Fan Zhang
87e67b3366 Align dropdown preference's dropdown with preference text
Change-Id: I9446758464fd9220a2670df4203406ba49e24901
Fix: 35807231
Test: RunSettingsRoboTests
2017-03-01 17:47:19 -08:00
TreeHugger Robot
6c146f2ab5 Merge "Remove old code relating to SystemSettings not used in new IA." 2017-03-01 20:44:48 +00:00
Li Bai
593d2faddf Merge "Change default long-press time to 400ms" am: b96cbedfb2 am: 957b15c9ae
am: b09610a3dc

Change-Id: If697d7d9fe6305379d7186425e57b17572e9b30e
2017-03-01 19:33:31 +00:00
Li Bai
957b15c9ae Merge "Change default long-press time to 400ms"
am: b96cbedfb2

Change-Id: I953076ce2fe44fb96f2cfbd60e771694c225fc99
2017-03-01 19:28:38 +00:00
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
Daniel Nishi
3ee0f4f5d0 Merge "Fix capitalization on Photos & videos." 2017-03-01 00:52:34 +00:00
Doris Ling
f5f6635c77 Merge "Remove old code from SoundSettings not used in new IA." 2017-03-01 00:00:40 +00:00
TreeHugger Robot
a0cf877ce0 Merge "Remove drawer from settings" 2017-02-28 23:38:46 +00:00
Antony Sargent
d06aaa8fd0 New design for instant apps in app details header
Bug: 35098444
Test: make RunSettingsRoboTests

In the previous design for instant apps, some metadata about the app
such as developer title, maturity rating, etc. was going to be shown
in the app header. In the latest design, we instead are just showing
a little label that says "Instant app".

The two CL's for this topic work together to change this:

frameworks/base : adds code to work around the problem that
robolectric doesn't know about the new isInstantApp method of the
ApplicationInfo class, so we need to avoid calling it during tests.

pacakges/apps/Settings: removes the code that previously displayed
the instant app metadata, and instead just insert the "Instant app"
label.

Change-Id: I2cbc70bf4827c401e862c58ea4ca7f8f9ba1cf58
2017-02-28 14:30:05 -08:00
Daniel Nishi
1b2886720b Fix capitalization on Photos & videos.
Bug: 35712292
Test: Manual
Change-Id: Iad4c10527a44f62fcf6a634af61149df5b65c56a
2017-02-28 14:26:11 -08:00
Doris Ling
4731167500 Remove old code from SoundSettings not used in new IA.
- remove the old sound settings xml
- merge Sound Dashboard metadata into SiybdSettingsActivity instead
and remove Sound Dashboard.
- remove OtherSoundSettings

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I25bb94b375cfe0277b3c961e4bee6fec9a14fb98
2017-02-28 14:02:54 -08: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
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
Bill Yi
216107c857 Import translations. DO NOT MERGE
Change-Id: I66b665fc65a0a0bb316196f621b96882ea038f2b
Auto-generated-cl: translation import
2017-02-27 18:31:19 -08:00
Fan Zhang
78ab9f98de Remove drawer from settings
Change-Id: Ib11376206cf8366c86c427104c47740c3ca8b0d0
Fix: 35809663
Test: make RunSettingsRoboTests
2017-02-27 17:45:05 -08: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
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
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
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
1a5af84352 Merge "Experimental change to use colorful icons in Settings home" 2017-02-27 19:10:29 +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
Antony Sargent
5ac2e138b1 Merge "Fix app filter breakage caused by ag/1900403" 2017-02-27 16:55:36 +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
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
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
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
Jason Monk
5286610f59 Merge "Switch references to colorError" 2017-02-24 23:29:30 +00:00
Fan Zhang
efb8d625a2 DeviceInfo: move more prefereces in PreferenceController
Bug: 34774945
Test: make RunSettingsRoboTests
Change-Id: Ie5e113a6df85bab5be50c947bd7b91cfacdccb7f
2017-02-24 14:34:34 -08:00
Doris Ling
ed0fc506a3 Removed emergency info and add user when locked from Users settings.
In new IA, Emergency Info and Add user when locked has been moved to
Users & accounts page.

Change-Id: I1a1e4bd801936b654d8a4ede7cfc64e2ac285019
Fix: 33703736
Test: make SettingsTests
2017-02-24 12:38:57 -08:00
Jason Monk
6fca98f905 Switch references to colorError
Test: make
Change-Id: I0ed10d78763642cecc5ba8e8e15a097d51280946
2017-02-24 14:57:31 -05:00
TreeHugger Robot
20df926729 Merge "Update summary text for Emergency info" 2017-02-24 19:04:13 +00:00
TreeHugger Robot
b82a41f43c Merge "Change app detail header title to multi-line." 2017-02-24 18:50:59 +00:00
TreeHugger Robot
3cac802860 Merge "Add wipe on login failure to Privacy Settings page" 2017-02-24 14:42:23 +00:00
TreeHugger Robot
80f9e536d5 Merge "Change static defined color inside drawable" 2017-02-24 03:31:05 +00:00