Commit Graph

769 Commits

Author SHA1 Message Date
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
Julia Reynolds
0c4052ceaa Merge "Allow users to choose a notification assistant." 2016-01-04 22:07:28 +00:00
Julia Reynolds
2e1e0b7ef6 Allow users to choose a notification assistant.
Change-Id: Iddfbfedbb6a3aae246058ff41324dc06852484cb
2016-01-04 16:36:56 -05:00
Jeremy Klein
78d182f8d8 Use the new TETHER_PRIVILEGED permission.
BUG: 26247383
Change-Id: Iaec7a1095c18cfd9bcf83ebd63e02462dcf38c61
2016-01-04 11:19:32 -08:00
Xiaohui Chen
e5eb083415 Merge "Make FallbackHome lower priority." 2016-01-04 17:21:16 +00:00
Sudheer Shanka
cb99d94c78 Rename the intent for ShowAdminSupportDetailsDialog again.
Change-Id: I0ffb353e8b131a5bc8a570f271118e19348a4b3a
2015-12-31 17:46:29 +00:00
Sudheer Shanka
3f19085f1c Rename the intent for ShowAdminSupportDetailsDialog.
Change-Id: Ie3aecedaedfb3feecb384bf1b9f73aa54077b071
2015-12-31 14:58:02 +00:00
Xiaohui Chen
dbf3e15207 Make FallbackHome lower priority.
This makes SystemUserHomeActivity, which also has a low priority,
works properly for system user.

Bug: 26358655
Change-Id: If07b39ac5a7015805ac22a968b3d704aaad80012
2015-12-30 15:51:56 -08:00
Eri Kasamatsu
70b1928a5a Change receiver name attribute for DISCOVERABLE_TIMEOUT
BluetoothDiscoverableTimeoutReceiver cannot receive
DISCOVERABLE_TIMEOUT intent because receiver name attribute
was incorrect.

BluetoothDiscoverableTimeoutReceiver has been moved to
frameworks/base/packages/SettingsLib/.../bluetooth
from packages/apps/Settings/.../bluetooth/.

Change-Id: I52bb32b2e206f5ed85207d6908e3ab39cbcd12cc
2015-12-24 00:34:23 +01:00
Udam Saini
0ec68624f7 Fixes password not being saved on orientation changed.
We are now using the same configuration as WifiSettingsActivity,
which also uses the same configChanges parameters. This keeps the
Setup Wizard instantiation of WifiDialog and the settings instantiation
closer together.

bug:26220180
Change-Id: I05e692d6cb81d3765a3de4ccd6c074deffada72e
2015-12-21 10:52:34 -08:00
Jason Monk
70ecea2207 Add cellular data off conditional
Change-Id: I34980f3fc09bf5dd47eb296c5b1c5fccc87b5c90
2015-12-16 12:42:22 -05:00
Clara Bayarri
c5cde05562 Fire pending intent from Confirm Credentials flow
Add support in the Confirm Credentials flow to read an Intent extra
and fire it when authentication succeeds.

This is part of the Separate Work Challenge feature.

Change-Id: I52c203735fa9b53fd2f7df971824747eeb930f36
2015-12-15 10:45:48 +00:00
Jason Monk
ffb4535d3a Add dnd conditional
Change-Id: I81eabf274bde05358c60bb63e1ed6d1bd447ce55
2015-12-14 15:34:12 +00:00
Jason Monk
db4ed191de Add conditionals to Settings
Also add Airplane Mode and Hotspot conditionals (more to come soon)

Change-Id: I11f206db59f7c715f416fb5852b8f0fcb857a247
2015-12-14 10:29:12 -05:00
Sudheer Shanka
9159fe9af8 Add support for showing the admin disabling settings.
For settings disabled by user restrictions show
the user a lock icon and allow them to click to
find more info.

Bug: 22543585

Change-Id: Ie8b02ac26f2b22db386a9044f3c6570098f6e14b
2015-12-11 19:44:14 +00:00
Dianne Hackborn
f467c0acac Implement development UI for background check.
Allows you to toggle off full background access for
whatever apps you want.

Change-Id: I8542ecac1449ccd65dc18af3c0ca1fc18443f89c
2015-12-08 14:28:52 -08:00