Commit Graph

1397 Commits

Author SHA1 Message Date
Amith Yamasani
c39dcc1ce4 Don't show developer options to secondary users
Show just a message that developer options are not available for the user.

Also fix silent exit of AddAccount operation by showing a toast that user
cannot add accounts.

Bug: 7409523
Bug: 8519646
Bug: 7304007

Change-Id: Id3f430d568d6b7151ac55f86dbc0ef91803fa10c
2013-04-13 18:43:41 -07:00
Amith Yamasani
9517b02d43 Disable apps that require an account on a limited user
If an app is marked as requiring an account to work, disable that app
and show a message in the summary.

Also, implement graying out of icons for deselected apps.

Bug: 8600261
Change-Id: I9cf48832675c24257e09addad4316249082c30fb
2013-04-12 17:56:34 -07:00
Maggie Benthall
7e61c23306 Implement Settings app UX for when a user has wifi config locked down.
When the user is restricted from configuring wifi:
- Leave the on/off button enabled
- Hide all menu options
- Hide all networks, and display a message saying:
 "This user is not allowed to configure wireless networks."

Change-Id: I20193b552ea071740686bd9091637459e9b668b5
2013-04-11 15:45:58 -04:00
Amith Yamasani
d81a3f7368 Improve app list for limited users
Show all activities in the same package with a master/slave relationship,
toggling all when the master is toggled.
Don't show required apps that have no restrictions.
Show apps that are only installed on the target user.

Bug: 8520813 lowercase app names
Bug: 8520185 apps installed only in limited user
Bug: 8567000 strange behavior with apps that have two launcher icons
Change-Id: Id8ab296c13202735a9534f918bd81ea4b4c14b46
2013-04-10 21:59:18 -07:00
Daniel Sandler
79b9bfe56e Notification listeners can be enabled in Settings>Security.
Also known as android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS.

Bug: 8454150
Change-Id: I0c2433bf58ba4c78cd461326bd014535c7f67578
2013-04-05 19:57:03 +00:00
Kristian Monsen
a95604de1a Merge "Adding developer toggle for using Chromium WebView." into jb-mr2-dev 2013-04-05 17:41:34 +00:00
Amith Yamasani
2601cd9142 Implement proper settings restrictions
Settings restrictions for limited users translate to user
restrictions specified in UserManager. Added required strings.
TODO: Add NFC restriction.

Change-Id: If1f81319131855f5dc1b27fe5bd54a4fef616d7f
2013-03-31 18:20:36 -07:00
Amith Yamasani
a7ff2a2d22 Merge "Follow changes to RestrictionEntry API" into jb-mr2-dev 2013-03-30 01:48:38 +00:00
Amith Yamasani
6e4757f0a6 Follow changes to RestrictionEntry API
Implement custom restrictions activity.
Fixed some bugs.

Change-Id: I094a6ffcc41c2936f76a8731048d7cb712c1b857
2013-03-29 18:40:45 -07:00
Kenny Root
ab6a6645b0 Merge "Add KeyStore storage type to Settings UI" into jb-mr2-dev 2013-03-29 21:24:48 +00:00
Kenny Root
028634b6af Add KeyStore storage type to Settings UI
Give the user an idea of what kind of credential storage is in use on
this device for keystore daemon.

(cherry picked from commit 39b56008be)

Change-Id: Id89a1e210b3627914f080b0925bd0d0585872dd2
2013-03-29 14:23:30 -07:00
Irfan Sheriff
0f41b49d1f Add install support for WIFI UID
Bug: 8472221
Change-Id: If203760fc960b4d8987d745e49ef1d4355c45adf
2013-03-29 11:40:16 -07:00
Jared Duke
8dc6d08f3b Adding developer toggle for using Chromium WebView.
This is hidden by default, and only revealed in device configurations that contain the Chromium WebView implementation.

BUG=8383477

Change-Id: I8fbb0bb55776e384b9bfc4feb6a2d30eed114ece
2013-03-28 15:37:51 -07:00
Amith Yamasani
864e3b7c51 Split User settings into limited and trusted.
Also show avatars with the circular frame like on lockscreen.

Change-Id: I032d842555b2f50a07166460f9cfb1963366dbb1
2013-03-27 12:27:01 -07:00
Irfan Sheriff
d3863aa664 Notify user that scans are still active
Bug: 8141918
Change-Id: I115ce2ac57125b8ffbb34245dc25effd4b3bebb0
2013-03-21 17:09:43 -07:00
Amith Yamasani
8cb10bd8fc Merge "Application restrictions UI" into jb-mr2-dev 2013-03-21 06:14:39 +00:00
Amith Yamasani
233592bb43 Application restrictions UI
Refactored User Settings UI to have two types of users.
Display a list of apps to select.
Edit user restrictions.
Handle saving and updating RestrictionEntry items via
User Manager.

Change-Id: I3ad5aa71d5ef66dffd39e17ba0556f075ac10a0f
2013-03-20 22:23:45 -07:00
Irfan Sheriff
50f341dcd9 system activity for scan always available setting
Takes user permission via a dialog to enable scans to be always available.

Bug: 8141918
Change-Id: I1e5e45e514726c2cbfd86e747123e477e00fd7ed
2013-03-20 11:08:15 -07:00
Robert Greenwalt
3c8a4c3b59 am cd1c38cf: am ae9ebfd1: Merge "add MVNO field for APN Editor"
* commit 'cd1c38cf23e640d878767e189e10dbf26b6a0141':
  add MVNO field for APN Editor
2013-03-17 09:31:04 -07:00
Irfan Sheriff
474958fc67 Merge "Allow user to change scan always available setting" into jb-mr2-dev 2013-03-14 21:32:42 +00:00
Irfan Sheriff
1019ec10e3 Allow user to change scan always available setting
Bug: 8141918
Change-Id: I3595812eccf5f7760f7521b9cbe6dece6fd658f1
2013-03-12 17:57:57 -07:00
Przemyslaw Szczepaniak
cd90cf3e07 Another tune of TTS reading settings.
Increased fastest speed to 400. Removed 'extreme' from speeds
names.

Bug: 6705453
Change-Id: I1e82544518d06b865e6cac7393a4604eb29b993a
2013-03-11 11:37:33 +00:00
Przemyslaw Szczepaniak
e2ad727ce9 Removing 'Very extreme' TTS speed.
Synthesized text was incomprehensible on this speed.

Bug: 6705453
Change-Id: I591bf9820cf758dd8e0a866020a0014a11337b09
2013-03-06 12:50:27 +00:00
Przemyslaw Szczepaniak
b82772c58c Introducing new TTS reading speeds.
Rapid  = 250
Very rapid = 300
Extreme = 350
Very extreme = 400

This should make all blind users really happy.

Bug: 6705453
Change-Id: I419182aa5361ceaf09f98f54d9eec42e9796715b
2013-03-04 11:17:24 +00:00
Sungmin Choi
aa4d4c653b add MVNO field for APN Editor
For MVNO, add related data fields.

Bug: 8143480
Change-Id: Idfa06c6f39a2c15ff4f0815724823f44b76ac819
2013-02-28 13:20:39 +09:00
Dianne Hackborn
23aa56bfde Merge "App ops: add operations for reading/writing clipboard." into jb-mr2-dev 2013-02-26 18:28:17 +00:00
Dianne Hackborn
782c3de338 App ops: add operations for reading/writing clipboard.
Change-Id: I253d2ae34d95c7afa47af3d122e715c251ff6590
2013-02-25 18:03:06 -08:00
Romain Guy
6b24c45813 Add non-rectangular clip debug setting
This change also reorganizes settings a little bit. A new section
called "Hardware accelerated rendering" now hosts all the 2D/GPU
related settings.

Change-Id: Ife2d466b94d69310c2056c3dcf5c13737319f989
2013-02-25 16:21:58 -08:00
Dianne Hackborn
8fe4a3f76b Rename in-progress app ops UI.
Don't want to over-sell it.

Change-Id: I09487574e705545a5eb7fd38f6116a0fac361388
2013-02-22 17:53:09 -08:00
Irfan Sheriff
ce68912621 Allow only valid EAP configs
We allow configuring all possible EAP fields today even though
some of the configs make no sense and will not result in a
successful connection.

Allow only support configs for various EAP methods

Change-Id: I2e3e8d4d6203acb2eac8cd645df39e1a9ca579ab
2013-02-15 15:37:19 -08:00
Dianne Hackborn
7ff56d331e App ops: new labels, fix crash, fix updating list.
- Add new labels for media ops.
- Fix crash due to missing boolean entry for access notifications op.
- Fix updating op category lists to remain stable (not jump
  back to the top).

Change-Id: I505cfd91b1ff92587a627d33f3ac7a21145a9bbd
2013-02-13 11:02:12 -08:00
Daniel Sandler
328e2d2666 Show the user's list of notifications in Settings.
Requires new APIs in change I41338230 and change Icce8d6f9
from frameworks/base.

Change-Id: I21b645bdc265b477453f9b177f6776e2c58bd323
2013-02-12 14:33:04 -05:00
Jeff Sharkey
fa6587d842 Clean up RTL in Wi-Fi details dialog.
Bug: 7677078
Change-Id: Ic7652bc7bd0bc24ccacbe1135e763190cc6f12cd
2013-02-07 15:45:29 -08:00
Dianne Hackborn
d69e8dc441 App ops: add "draw on top" op, improve switch ordering.
Change-Id: Ibe490305650f986f3ccf1ea25012272287455f59
2013-02-07 00:01:10 -08:00
Dianne Hackborn
3b13d2b786 App ops: add modify settings op.
Change-Id: I7aab6c7f565a20fe24156956895a7db20c8d3aaa
2013-02-05 17:31:10 -08:00
Dianne Hackborn
9833787387 App ops: add UI for SMS ops.
Change-Id: I595df9a286ba5389f9e309516dc4a8ab34773277
2013-02-05 11:57:00 -08:00
Benoit Goby
4ea8937707 Merge "Settings: Add setting to clear adb public keys" 2013-02-02 02:38:48 +00:00
Dianne Hackborn
8b0afc7fb5 App ops: improve presentation.
Change-Id: Ia8702f9421a2cf2e27e8e24bfdc596321ace515a
2013-02-01 17:29:15 -08:00
Dianne Hackborn
27daaab633 App ops: Support neighboring cells, call phone, improve UI.
Change-Id: I0783c7ae941499cf9847bcf657141c3aea76f59d
2013-02-01 15:14:42 -08:00
Russell Brenner
6b99860a9a Merge "Use non-breaking hyphen for "Wi-Fi"" 2013-02-01 21:20:29 +00:00
Russell Brenner
6de9905cfc Use non-breaking hyphen for "Wi-Fi"
Strings flagged with 'translatable="false"' have not been altered.

Bug: 6632800
Change-Id: I1676d3fed7d6faec6ab4ec58d851fa976df2c43a
2013-02-01 10:57:49 -08:00
Daniel Sandler
df3f6d6c47 Migrate package notification controls to AppOps.
We still show the [X] Show Notifications box in
InstalledAppDetails for now, however the information should
be mostly in sync with the AppOps screen. ("Mostly" because
there's no way to register for changes to AppOp modes at
present.)

Change-Id: Ia5cdda26c140aed8ee7329caaeedac04b8cbd8f1
2013-02-01 13:29:52 -05:00
Svetoslav
53023d6178 Remove "enhance web scripts" from settings.
See change Ic125514c34f191aea0416a469e4b3481ab3200b9 for details.

bug:8089372

Change-Id: I47eda16579c29051aa24b8d4c38035439aa00915
2013-01-29 13:57:04 -08:00
Russell Brenner
6ffefbfd11 Revert "Use non-breaking hyphen for "Wi-Fi""
This reverts commit 6a98b9bf58

Change-Id: Ia4168462988e37f3470c510453c31c73ed63ab7b
2013-01-28 19:33:40 +00:00
Russell Brenner
6a98b9bf58 Use non-breaking hyphen for "Wi-Fi"
Bug: 6632800
Change-Id: I5838a16ffce10ae6df4b2b5fd504b43124b6de3e
2013-01-28 10:55:37 -08:00
Irfan Sheriff
065f481ceb am 61b0f8c8: am b1ea6805: Merge "Option "None" replaced "Open" in Wi-Fi AP Settings of Wi-Fi Hotspot"
# By Venkataraman Nerellapalli
# Via Android Git Automerger (1) and others
* commit '61b0f8c88ab6c8254230aa7953bf619934d7d756':
  Option "None" replaced "Open" in Wi-Fi AP Settings of Wi-Fi Hotspot
2013-01-25 17:11:31 -08:00
Dianne Hackborn
0dd9902c89 App ops: add UI for viewing and controlling ops per-app.
Change-Id: Iadd68cbd429af4d431dcd09b9adacd09c5092ae6
2013-01-25 11:27:04 -08:00
Irfan Sheriff
61b0f8c88a am b1ea6805: Merge "Option "None" replaced "Open" in Wi-Fi AP Settings of Wi-Fi Hotspot"
# By Venkataraman Nerellapalli
# Via Gerrit Code Review (1) and Henrik Baard (1)
* commit 'b1ea6805d98bf953448db350ae33e53c3c3b797d':
  Option "None" replaced "Open" in Wi-Fi AP Settings of Wi-Fi Hotspot
2013-01-24 11:30:12 -08:00
Venkataraman Nerellapalli
7d4ddaa043 Option "None" replaced "Open" in Wi-Fi AP Settings of Wi-Fi Hotspot
First option in Wi-Fi AP settings of Wi-Fi Hotspot, "Open", is
changed to "None" since "Open" is not localized.
"None" (@string/wifi_security_none) already in use in other
Wi-Fi related screens and it is already localized in
the existing source code.

Change-Id: Ic79b20e3b0f094e064dd4758d8a03d67a208389a
2013-01-23 09:12:14 +01:00
Benoit Goby
0761ffca60 Settings: Add setting to clear adb public keys
Change-Id: I1d5ab7a83a3b7b23f0cd51305d965f45793eb853
2013-01-22 18:45:00 -08:00