Commit Graph

784 Commits

Author SHA1 Message Date
Jeff Sharkey
a806b7a61c Follow framework refactoring.
Bug: 27531029
Change-Id: Iad76ba8ae7aab361f4f3147d9ac268bc480267e7
2016-03-17 11:34:05 -06:00
Udam Saini
dccc582d26 Merge "Prevent settings from being announced on wifi dialog." into nyc-dev 2016-03-10 23:01:09 +00:00
Vladislav Kaznacheev
ae236798f9 Merge "Add Settings.WallpaperSettingsActivity" into nyc-dev 2016-03-10 20:00:50 +00:00
Vladislav Kaznacheev
6e93bdd6a2 Add Settings.WallpaperSettingsActivity
Provide a way to open wallpaper settings directly.

Bug: 26688904
Change-Id: I3e862b45ad8a4cec59f89495c993f0852c720e55
2016-03-10 11:38:18 -08:00
Udam Saini
86d52c936e Prevent settings from being announced on wifi dialog.
Since no label was shown, when the wifi dialog was popped up from
within setup wizard, talkback would announce the apk name, settings.
Add an empty label so that the wifi dialog/access point name would
be announced instead only.

bug:27529648
Change-Id: I62187731bb88c51b9426cd07bf03733d677e30b5
2016-03-10 11:30:53 -08:00
Sanket Padawe
0792e2f4ad Merge "Support material design for Radio band menu" into nyc-dev 2016-03-09 19:19:58 +00:00
Sanket Padawe
cf9a07bd20 Support material design for Radio band menu
Bug: 24892294
Change-Id: I56c8c29165ce88cef2791d89e20ac0cc3249bbb2
2016-03-09 11:16:23 -08:00
Ruben Brunk
e1c98ca821 Add settings VR listener service.
Bug: 22855417
Bug: 26724891

- Adds a settings panel allowing users to toggle the
  enabled/disabled state of each VrListenerService
  component installed.
- If disabled, a VrListenerService will not be bound
  from the framework, even when requested by a VR
  application.

Change-Id: I606eb712c011d160b9fbdd3c0e8fd744c653ef07
2016-03-04 16:07:09 -08:00
Michal Karpinski
e6be2411e4 Merge "New activity for handling dialogs of remote bugreports" into nyc-dev 2016-03-04 10:04:48 +00:00
Michal Karpinski
707f42f01d New activity for handling dialogs of remote bugreports
Presents dialogs when commanded by DPM.

Bug: 26226230
Change-Id: Ia3301592f767ac95f1c073e9401718d717f50c83
2016-03-03 17:06:05 +00:00
Jason Monk
a2d47fcf59 Fix notification setting summary
Bug: 25926406
Change-Id: I503f2d2def095e37f6b16ca345112fe81ef73e29
2016-03-03 10:49:44 -05:00
Nicolas Prevot
aea1702338 Make some Settings intent filters cross-profile again.
The intents:
INPUT_METHOD_SETTINGS, MANAGE_DEFAULT_APPS_SETTINGS and HOME_SETTINGS
were not handled in the parent any more. Handle them in the parent.

BUG:27240411
Change-Id: I42da3ce37901ba3e9f5c8004db53e49bc2f9ed24
2016-02-29 13:49:31 +00:00
Jason Monk
ec1f28e50c Update suggestion text
Bug: 27151995
Change-Id: If7c9620b816ae4f08b5a41dd7c88469184efe234
2016-02-24 17:39:29 -05:00
Jason Monk
91e2f89b0f Rearrange configure/default apps
Bug: 27276982
Bug: 27279305
Change-Id: I443e9d2bc0c3fd9bcc13ee86716c14fbb55af0ba
2016-02-24 08:55:01 -05:00
Jeff Sharkey
e555a6f610 Make fallback home a bit more graceful.
This change switches the theme used so we show through to the
wallpaper (instead of showing black), which makes initial device
startup less jarring.

Bug: 26458596
Change-Id: I73c7f1cf25dd21cb4a4012fb62f8828eb46a8368
2016-02-23 20:48:03 -07:00
Sudheer Shanka
fee4e3e405 Update ShowAdminSupportDetailsDialog launchmode to singleTop.
Bug: 26977320
Change-Id: I8d89ba9243c807657fb4b2b8c93e75aab53d907e
2016-02-19 11:47:53 +00:00
Jeremy Klein
6895446453 Merge "Make TetherSettings use the new tether api." 2016-02-05 18:14:50 +00:00
Julia Reynolds
aae6ceac2c Remove bad activity filter.
Bug: 26982026
Change-Id: I662af8db38f4ac624ba4bd1128e7b3a1123d9f8b
2016-02-05 09:37:52 -05:00
Jeremy Klein
e3e7b95312 Make TetherSettings use the new tether api.
The new API handles all the provisioning logic so this area can
get significant code cleanup.

Change-Id: I4bcffb14b3ce26a01d17ec149599d63b0b4392f1
2016-02-04 18:58:14 -08:00
Jason Monk
322cfe8be0 Settings Visuals
Update the layouts to be more final, and support tablets better.

Move about to always be last.

Always see everything.

Change-Id: I4b804c9bfcd4d3b7f978a2617d5c2c2b1cdfa6e4
2016-02-04 14:37:35 -05:00
Jason Monk
ebfcadc8b8 Merge "Change receiver name attribute for DISCOVERABLE_TIMEOUT" am: 8cb4301b59
am: bf942b7e11

* commit 'bf942b7e11df7ef29b64eb8941dc6d08082b89ba':
  Change receiver name attribute for DISCOVERABLE_TIMEOUT
2016-02-03 18:55:48 +00:00
Udam Saini
aafbba10ec Updates fingerprint icon and text for suggested activities
bug:25246207
Change-Id: I91669448c140b565d37563002a3ccbfb211d283b
2016-02-02 10:33:40 -08:00
Jason Monk
dc252eb7b1 Metrics more of the things
Add a dump for some of the state of the device.

Bug: 26687707
Change-Id: Icf517912b3006cc84c26863eb1b93d586a55464a
2016-01-30 11:38:49 -05:00
Yohei Yukawa
9329fd7a39 Merge "Support ACTION_KEYBOARD_LAYOUT_SETTINGS." 2016-01-28 23:58:31 +00:00
Udam Saini
62a7280cb8 Dynamically checks if screen lock suggestion is needed
Fixes a bug where if you upgrade a device with screen lock,
screen lock suggestion would show (upgrade such as N->N developer
builds) or from a user test case like M->N

bug:26844580
Change-Id: Ic779ff28f5895e407c2c96771dbbc622e6026a7f
2016-01-28 13:03:54 -08:00
Yohei Yukawa
7c4499da26 Support ACTION_KEYBOARD_LAYOUT_SETTINGS.
This CL let the Settings app accept
Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS like other activity actions
such as ACTION_INPUT_METHOD_SETTINGS and
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS.

Bug: 25752827
Change-Id: I3244d9af400f9344359c1b5cfc1a5c1d9268ec8c
2016-01-27 19:18:52 -08:00
Jason Monk
4161d4e989 Merge changes Id18f3e9f,I737736d6
* changes:
  Add additional fingerprints suggestion
  Add wifi calling suggestion
2016-01-27 20:34:44 +00:00
Jason Monk
9d5c050ce0 Add additional fingerprints suggestion
Change-Id: Id18f3e9fffb1f9e964edb635689d3c7d410034fa
2016-01-27 14:39:22 -05:00
Jason Monk
d3ac239e32 Add wifi calling suggestion
Change-Id: I737736d675fe0a4606ff1ccfd7d4ec6b69e1fd73
2016-01-27 13:58:49 -05:00
Udam Saini
aa693f6734 Merge "Adds screen lock as a suggested activity" 2016-01-27 18:08:48 +00:00
Tony Mak
78d1ca1c2a Merge "Default apps setting for managed profile" 2016-01-27 17:17:44 +00:00
Jason Monk
eede8d563e Merge changes I81380323,I0cce76f3
* changes:
  Add wallpaper suggestion if one isn't set.
  Add DND Suggestion after 30 days
2016-01-27 14:19:42 +00:00
Tony Mak
32ccffc07c Default apps setting for managed profile
1. Print settings already support managed profile. Follow the UI of that.
ProfileSettingsPreferenceFragment is created to act as the base class
for per-profile setting.

2. Only show browser and dialer default setting in managed profile.

BUG=26707733

Change-Id: I20d00203e14db58ec03638f692dd83a1bd50c59c
2016-01-27 14:01:16 +00:00
Udam Saini
7ad4a17c5c Adds screen lock as a suggested activity
Also, fixes a bug where the suggested activity stayed on screen
after the component was disabled causing a crash.

bug:25246207
bug:26770556
Change-Id: I28d784cdc57e464e49887483690ab514ca3bc46a
2016-01-26 17:09:02 -08:00
Udam Saini
cce5339da7 Removes fingerprint onboard screen
This screen isn't used anymore. This also fixes some fingerprint
work in setup wizard to use the userId instead.

Change-Id: Icb1debaf7b2766069a53a75eab6152d6b816b03c
2016-01-26 15:48:37 -08:00
Jason Monk
b9e5d238b6 Add wallpaper suggestion if one isn't set.
Change-Id: I81380323f0d4f5af842a81028a763219958833bc
2016-01-26 17:48:29 -05:00
Jason Monk
4a60c8876e Add DND Suggestion after 30 days
Suggest users setup automatic rules if they haven't after 30 days

Also fix the id labeling for the RV adapter, so that it can handle
removing of suggestions properly.

Change-Id: I0cce76f3db1d444011f7d8a31348714d102650cf
2016-01-26 17:29:59 -05:00
Philip P. Moltmann
3ed1752141 Merge "No need to declare minSdkVersion for Settings app." 2016-01-26 21:17:51 +00:00
Philip P. Moltmann
02b7cfec17 No need to declare minSdkVersion for Settings app.
Change-Id: I2b221ed2bb410578e57475dbbe0106826bfc3f76
2016-01-26 13:14:42 -08:00
Abodunrinwa Toki
bfae9dd7f2 Merge "Input settings: Associate keyboard layouts with device/IME subtype." 2016-01-26 21:00:46 +00:00
Abodunrinwa Toki
5f0b59babf Input settings: Associate keyboard layouts with device/IME subtype.
Implements selection of keyboard layouts using the new InputManager
methods that associate keyboard layouts to
device/InputMethodInfo/InputMethodSubtype
See: Ie88ce1ab77dbfe03ab51d89c1dc9e0a7ddbb3216

Bug: 25752812
Change-Id: Ib76880d66391ca37978054de80f4b3b5147cecc3
2016-01-26 20:57:06 +00:00
Jason Monk
7ea14c5625 Move Home settings to Default apps
Change-Id: I2ac7f9dd2c1c505ff3163b2a90c574a360b9409c
2016-01-26 09:44:39 -05:00
Jeremy Klein
1cf002d070 Add a TetherProvisioningActivity for ui-based provisioning.
This activity acts as a proxy between Tethering.java and the oem
provisioning app on the device. It starts the provisioning app and
relays the response back to a ResultReceiver callback.

BUG:26247383
Change-Id: I35fa6cf45f8ebacceac3e3500b89c798a650caf0
2016-01-25 20:02:48 -08:00
Abodunrinwa Toki
976bb3f459 Change Input Settings UI flow.
1. Introduces new UI components as per the new flow
2. Temporarily disables components in the old flow that are to be
   replaced by the new flow. This is done so we can neatly revert
   to the old flow if there are issues with the new flow
3. AvailableVirtualKeyboardActivity now responds to
   android.settings.INPUT_METHOD_SETTINGS intents instead of
   InputMethodAndLanguageSettingsActivity

Bug: 25752812
Change-Id: I728d7ee185827ed328c16cb7abce244557a26518
2016-01-22 18:24:44 +00:00
Anna Galusza
f9d330448b Merge "Make A11y SUW launchable from SUW and small UX changes based on last round of UX studies." 2016-01-22 17:56:19 +00:00
Anna Galusza
b1795f5549 Make A11y SUW launchable from SUW and small UX changes based on last round of
UX studies.

Change-Id: I9c20cd3abf910a37731da2af604f3af2cd30e942
2016-01-20 15:42:58 -08:00
Mihai Nita
d7d48fda53 Implement multiple locales and sublocales in Settings
Does drag-and-drop reordering, supports adding / removing locales,
suggestions, search, removes locales already selected in the
user preferences.

Bug: 25800339
Change-Id: Iffe7b9810c77ec93a84d848ab20b2ba405249676
2016-01-20 12:31:11 -08:00
Jason Monk
b37e2887d3 Update data usage UX
Update the UX and dig the data usage screen out of a huge whole of
technical debt.  Switch every to use Preferences rather than standard
layouts and ListViews.

Split data usage into several fragments, all separated.

DataUsageSummary:
 - Shows a summary of the 'default' usage at the top, this will be
   the default sim on phones, or wifi if it has it, or ethernet
   as last attempt to show something.
 - Also has individual categories for each network type that has
   data, cell, wifi, and ethernet. Maybe should look into bt though?

DataUsageList:
- Takes a NetworkTemplate as an input, and can only be reached from
  the network specific categories in DataUsageSummary
- Shows a graph of current usage for that network and links to
  app detail page for any app.
- Has gear link to quick get to billing cycle screen if available

BillingCycleSettings:
 - Just a screen with the cycle day and warning/limits separated
   out from the data usage.

AppDataUsage:
 - App specific data usage details
 - May need some UX iteration given lack of clarity in the spec

Bug: 22459566
Change-Id: I0222d8d7ea7b75a9775207a6026ebbdcce8f5e46
2016-01-19 13:55:26 -05:00
Benjamin Franz
ae07b5080a Resolve new intent that allows setting the parent challenge
Have ChooseLockGeneric resolve the new intent that allows setting the
parent challenge. If the new intent is received or seperate work
challenge is not supported, default to setting the challenge of the
parent user, otherwise use the calling user.

Change-Id: Ibd0ce8ce81b1d5c9073d4eb0096fdc74de12ee95
2016-01-15 11:38:41 +00:00
Jeremy Klein
d4ae7647bf Merge "Use the new TETHER_PRIVILEGED permission." 2016-01-11 19:10:26 +00:00