Commit Graph

1464 Commits

Author SHA1 Message Date
Anna Galusza
ffce406d6d Merge "Add A11y SUW hub page after verifying build fix." 2016-01-08 17:30:00 +00:00
Jason Monk
d4f03ec86f Add suggestions to settings
Use an XML to define the categories that Settings will look for,
and surface enabled activities under those categories as suggestions.

When clicked on the activity will be started for result.  If the result
is not cancelled, then the operation is assumed successful and the
suggestion is disabled.  Users can also use an overflow -> remove
flow to get rid of unwanted suggestions.

Change-Id: I767abf8efe103af0509bc6b6b55888ae82643512
2016-01-07 16:25:34 -05:00
Anna Galusza
6bc8144e97 Add A11y SUW hub page after verifying build fix.
Original CL: 
https://googleplex-android-review.git.corp.google.com/#/c/828444/.

Diff (fixes build and adds a period):
https://googleplex-android-review.git.corp.google.com/#/c/841247/

This reverts commit 44be967e95.

Change-Id: I971806022dcd791de2d7819fa19df7801f51b673
2016-01-07 17:45:31 +00:00
Anna Galusza
7e78bedb67 Merge "Revert to fix build breakage." 2016-01-06 21:44:59 +00:00
Anna Galusza
44be967e95 Revert to fix build breakage.
Revert "Add A11y SUW hub page. Minor alterations of Magnification screen to be consistent wtih most recent desigs."

This reverts commit bf95133f75.

Change-Id: I4559dfdcf5c0f6eea316a190d507a3bccd195149
2016-01-06 21:42:43 +00:00
Anna Galusza
c4f8dfe449 Merge "Add A11y SUW hub page. Minor alterations of Magnification screen to be consistent wtih most recent desigs." 2016-01-06 19:55:43 +00:00
Kenny Guy
7a3555961d Add support messages to device admin pages.
Add support message to device admin settings pages.
Show policy information for device owners
and profile owners.
Allow a user to remove profile from profile owners
admin page.

Bug: 26416662
Change-Id: I95424da50067b7c0ba1618a083a31448d406188f
2016-01-06 17:21:45 +00:00
Jeff Sharkey
dbb919b8b1 Merge "Some text are missing in eject sdcard warning" am: 24eaa7ed2b
am: c088ea23eb

* commit 'c088ea23eb0231d49c151e71807fccc5099501c8':
  Some text are missing in eject sdcard warning
2016-01-05 16:16:59 +00:00
Nathan Harold
12e6856c61 Fix Resource Reference to radio_info_ping_hostname
Bug: 26386182
Change-Id: If1204ab9e2c255995c418babed2096dc9c815345
2016-01-04 15:27:32 -08:00
Philip P. Moltmann
66626910b3 Merge "Use new getIcon and getMoreInfo api to show more information in Print Settings" 2015-12-22 21:49:29 +00:00
Maurice Lam
78ce0e4712 [RedactionInterstitial] Fix RTL text alignment
Bug: 26274783
Change-Id: I3847daa7f63f1caf93aa2ed119b8f176e79d250a
2015-12-21 10:42:11 -08:00
Philip P. Moltmann
7fdf34194b Use new getIcon and getMoreInfo api to show more information in Print
Settings

Also fix some text color of the printer list.

Bug: 24135005
Change-Id: I3c387e1277b2a7f09574d42cfe29cc03dd8ef8d5
2015-12-21 09:38:13 -08:00
Felipe Leme
834496f7fc Changed dialog shown from "Take Bug Report" to display 2 options:
* Normal Report: the new, enhanced option is more user-friendly (it
  shows a system notification with the progress, allow user to cancel,
  etc...), at the cost of consuming more resources. When this option is
  selected, the bugreport will be delayed 2 seconds so user can dismiss
  the Settings app before a screenshot is taken.

* Emergency Report: a lighter approach that is less intrusive and
  should be use when the phone is unresponsive or too slow.

BUG: 26034608
BUG: 11665244

Change-Id: If9c0242a163c8c33adecfc8a65af561e839bab8d
2015-12-21 08:15:17 -08:00
Anna Galusza
bf95133f75 Add A11y SUW hub page. Minor alterations of
Magnification screen to be consistent wtih most
recent desigs.

Change-Id: I191f6f66edb26597db6f4ed41311998b8ce26ca4
2015-12-18 12:58:31 -08:00
Jim Miller
c1f72f9169 Allow animation movie for "find the sensor" flow
This adds an optional overlay to specify a per-device
movie to illustrate enrolling a fingerprint. To enable,
create a new layout overlay for
fingerprint_enroll_find_sensor_graphic.xml using
FingerprintLocationAnimationVideoView

Fixes bug 22954305

Change-Id: I59294f71617ecf7a9bf09603fc0b068cc5aa8ff9
2015-12-14 17:19:27 -08: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
Kenny Guy
4f3b09d2b5 Merge "Add support for showing the admin disabling settings." 2015-12-14 14:31:37 +00:00
Henrik Baard
2984b2b791 Some text are missing in eject sdcard warning
The eject sdcard warning page shows incomplete texts
in some languages (german) and it is not apparant that
that you can scroll to see the text.

The layout is divided into three parts, the button
and one blank line, and the text. The text and the
blanke space will have equal parts of the screen
since they have the same weight. Because of this the
(complete) text is not shown in som languages.

Remove the blank part and let the text use the whole
screen.

Change-Id: Id8fd88fc6c0aa6105d64c100e3365cd9b00bf851
2015-12-14 12:23:10 +01: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
Alan Viverette
01a04f132b Implement Settings UI for Screen zoom preference
Also cleans up unnecessary 0s and moves tint to the proper place in
relevant vector drawable XML files.

Preview layout is still WIP pending UX input, but I wanted to get this
CL in place so that we can test/demo the feature ASAP.

Bug: 22450672
Change-Id: Ic3f1500006c763df99fba2d1d16782b89d6fcae1
2015-12-10 14:07:51 -05: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
Julia Reynolds
5dfbc9e5bb Merge "Allow users to set notification topic importance." 2015-12-04 20:38:53 +00:00
Julia Reynolds
9dbb20f638 Allow users to set notification topic importance.
In the absence of mocks, the silder is shown in the
'normal' position if the user hasn't yet
chosen an importance value.

Bug: 22854014
Change-Id: I51594959412775fe89b29af66ddcb13bafa67255
2015-12-04 15:29:12 -05:00
Nathan Harold
cea413a9bb Enhancement+Cleanup of RadioInfo Test Menu
-Re-format CellInfo to a Table
-Improve performance on several blocking calls
-Add IPv6 ping test
-Re-order layout to improve logical grouping
-Semantic changes/cosmetic improvements to a few strings
-Expand list of selectable network types to include recent RATs

Change-Id: I02d15987e7cb79fe0bbd13e5d1eb734e3531f11f
2015-12-04 10:06:56 -08:00
Sunny Goyal
bfcf2a9044 Adding the activity icon in wallpaper list
Change-Id: Id31e6dfdfd2f214e6686d21f2aeeb68762de5893
2015-11-24 14:11:30 -08:00
Tony Mantler
e5f836b010 Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib" 2015-11-18 16:47:38 +00:00
Tony Mantler
b280b0a892 Move AnimatedImageView and AuthenticatorHelper to SettingsLib
Change-Id: I51d5711b0e626b5e7f83af985d02090480085ac7
2015-11-17 15:13:29 -08:00
Jason Monk
3069581512 Summary support for Settings Home
Also add summaries to a few of the major items.

Change-Id: I17924f14941fe095d819e142cdd21cf4b4e9ffd1
2015-11-17 13:51:45 -05:00
Jason Monk
8d249e839c Merge "First pass at restyling dashboard" 2015-11-17 14:00:30 +00:00
Jason Monk
52a302e81b Support changes in support prefs for DeviceDefault themes
Change-Id: Id9c333aed202cca8a8845e6f58af1c252e7e111a
2015-11-12 10:09:10 -05:00
Jason Monk
7c7eb70dc3 First pass at restyling dashboard
Still needs summaries, but the things are in the right place-ish.

Change-Id: I1cbc23da9f56589836b5ebd7e202114e8f323adc
2015-11-11 16:46:15 -05:00
Jason Monk
0e23b41144 Fix account problems
Set the id to the right value for now to fix the switches.

Make sure we call the super on the PreferenceFragment to set up
the RecyclerView properly.

Bug: 25621599
Change-Id: I7cc1f68a612d04ca1f8d068c272cdc8f85003938
2015-11-10 16:18:45 -05:00
Paul Lawrence
ee3e51f1f1 Merge "Add developer option to convert from FDE to FBE" 2015-11-05 21:41:02 +00:00
Jason Monk
af00109242 Settings Drawer: Support multi-user changes
Change-Id: I3a6e481ca18794bf1ed3bc9dc0382deacfcf81f4
2015-11-04 13:16:18 -05:00
Paul Lawrence
acbac8cdfe Add developer option to convert from FDE to FBE
This set of changes adds the screen that offers this conversion,
and the plumbing so the option is only available on suitable
devices.

It does not implement the conversion mechanism.

Change-Id: I3c84dd40dfcb0e00dadbab54ba0e56e1ccb11ed8
2015-11-04 09:51:06 -08:00
Jason Monk
4b2e456e90 Fix accounts screen
Bug: 25212341
Change-Id: Ia8953b6a9fbbd4c90cd0eb327081c478420f7db6
2015-10-30 12:50:31 -04:00
Maurice Lam
80129d936b Merge "Fix preferences v14 issues in lock screeen setup" 2015-10-16 17:44:04 +00:00
Jason Monk
562e40f66a Fix add account screen
Don't use layout that didn't do anything special.

Bug: 24961118
Change-Id: I9207ee16e8c2c8325f3b4c00e423ac015170d10e
2015-10-16 10:59:02 -04:00
Jason Monk
afa3a1a0cb Fix ManagedServiceSettings to work with Preferencev14
Bug: 25007000
Change-Id: I5e3a59b77001ce0e2928b35fa1b87878e22d4fbd
2015-10-16 10:52:16 -04:00
Maurice Lam
bd28ceef10 Fix preferences v14 issues in lock screeen setup
Preferences support-v14 expects a RecyclerView, and cannot override
onCreateView to inflate custom views. This changes
SetupChooseLockGeneric to use suw_template_no_scroll and let
preference framework inflate its RecyclerView inside it.

Bug: 24929660
Change-Id: Icda0fed37b68d4cffb49da46a241185f32d7e467
2015-10-15 14:34:06 -07:00
Jason Monk
783718fffe Fix crash language & input settings
Bug: 24576551
Change-Id: Ifb717689c862193cf06c23de52b3fb68f910db3c
2015-10-13 16:45:49 -04:00
Jason Monk
39b467482d Depend on support lib preferences
Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
2015-10-13 10:12:20 -04:00
Toni Barzic
76be5e352a Add a11y setting for Automatically click after pointer stops
Adds new preference screen for the feature, where the feature can be
enabled/disabled, and delay before click can be specified (implemented
as seek bar preference, enabled iff the feature is enabled).

Preference is added to Accessibility setting. The preference summary is
set to string describing the delay after pointer stops moving before
click is scheduled (the string also contains numerical value of the
delay).

BUG=20049245

Change-Id: Ib7b2f5c24efbd08e3200143c069bcdbc9b5a327a
2015-10-05 14:19:04 -07:00
Julia Reynolds
f7748e4ae1 Update zen rule type selection and view.
Separate rule type selection from naming, launch 3P UI for non-system rules.

Bug: 22977552
Change-Id: Ifbd82da2192c4aaf5f239a188a016d9e1af542d6
2015-09-30 16:00:19 -04:00
Maurice Lam
694a76ac69 am 0764cbf4: am 177db306: am 2fd785e0: am 655ddae8: [Fingerprint] Fix link accessibility
* commit '0764cbf4025d1e756347f4c46abe94faff10977c':
  [Fingerprint] Fix link accessibility
2015-09-25 19:00:02 +00:00
Maurice Lam
655ddae8b5 [Fingerprint] Fix link accessibility
Copied ExploreByTouchHelper, LinkAccessibilityHelper and LinkTextView
from setup wizard and switched fingerprint_settings_footer to use
LinkTextView, so that users can navigate to the link in TalkBack
mode.

Bug: 24343933
Change-Id: I0ff0c054510dfef4263ea223cb0044a4bddf321f
2015-09-24 16:28:27 -07:00
Julia Reynolds
cf92ef10a5 Updates to automatic rule listing page for 3P rules.
Show the provider app icon and name; allow deletion from
listing page; remove the rule summary for consistency.

Bug: 22977552
Change-Id: Ib71832fa4ff64b7321ade39f9964ac52cee6c643
2015-09-21 11:30:02 -04:00
Justin Harrison
c591cdd69b am fa9d8258: am 8a44f2c4: am a3add1d2: am c6a96d40: Merge "Add color transform setting" into mnc-dr-dev
* commit 'fa9d8258d4d186c1aeaf3f79cff892d0a290e6a5':
  Add color transform setting
2015-09-19 18:14:36 +00:00
Jason Monk
0217281d33 Add color transform setting
Bug: 24038268
Change-Id: I2bf45fef85038c29423a86c7bb018a8e750110a6
2015-09-18 20:11:01 -04:00
Paul Lawrence
e68e93fc36 am 67d0fe4c: am fe9b6d3e: am aead1b25: am 43be4b9b: Merge "Stop long passwords crashing CryptKeeper" into mnc-dr-dev
* commit '67d0fe4c0ec169514c05ec485834fca353ebc9d2':
  Stop long passwords crashing CryptKeeper
2015-09-18 15:57:21 +00:00