Commit Graph

153 Commits

Author SHA1 Message Date
vandwalle
c9a6698fd4 make verbose logging a wifimanager hidden API
Change-Id: I092b7f507ad4dfdab16658929f02584a1fc22ba4
2014-05-21 20:25:15 -07:00
Fabrice Di Meglio
08190bbb75 Fix bug #15016050 Stability: ISE in Settings: Cannot add twice the same OnSwitchChangeListener
- add/remove the OnSwitchChangeListener into onResume/onPause

Change-Id: Idb1ac3997a2dbc0ca387ed67bbbbcc1a431d8642
2014-05-16 10:32:29 -07:00
Fabrice Di Meglio
f02db01ba6 Use SwitchBar for Development Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I2db49f9d982e4d759f7eeb3623c95cbe53a5ff53
2014-05-14 20:14:27 -07:00
Julia Reynolds
6c088cb221 Settings user restriction changes: debugging features.
Replacing restriction pin with a user restriction for developer options.
Bug: 14081992

Change-Id: I9a71c256fbd20428b4bd2ae12939c9a50d7b5f11
2014-05-09 14:16:00 -04:00
Selim Gurun
980eb545ca Limit broadcast of data reduction proxy change intent
Bug: 12492817

Broadcast the intent to receivers that belong to current user.

Change-Id: I71bfc47bce485c6fe190c05212afdb136c3304db
2014-05-05 18:59:07 -07:00
Selim Gurun
029c13e1d9 Add an experimental webview setting to dev options.
Bug:12492817

Add an experimental webview setting to developer options to enable
data reduction proxy.

Change-Id: I6e0931b39c8dd129622129589ae67352c8396cd2
2014-05-05 17:57:51 -07:00
Ruchi Kandoi
0b1f3fb2c9 Setting: Developer Option: Adds a low power mode checkbox
Change-Id: I489f74bd3822f64acb8becd6e5eda716d8bd722c
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
2014-04-22 20:55:19 +00:00
Fabrice Di Meglio
ede1435518 Make all the Settings Switches appear again
- use the ActionBar Theme context when creating the Switch for
getting the correct Theming

Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
2014-04-18 16:49:35 -07:00
Lajos Molnar
6b2f7c4471 Add temporary developer setting to use NuPlayer as default media player
Bug: 11784824
Change-Id: Id42cc40d08ada06ec9e57e24473f7f833bc90dca
2014-03-28 11:35:32 -07:00
Fabrice Di Meglio
1b5edd535f Fix bug #12907897 Some Developer Options are not disabled when putting Developer Options to "OFF"
Was related to "Process Stats" and "Revoke USB debugging informations"

- add the corresponding prefs to the list that enable/disable them

Change-Id: I706c3f5463a23fdfcfd3aae4b48b3cc07f1d823d
2014-02-05 14:57:23 -08:00
Brian Carlstrom
57b670e390 packages/apps/Settings: Rename persist.sys.dalvik.vm.lib to allow new default
Bug: 12798969

(cherry picked from commit 7a60db234a)

Change-Id: I3f72b5ce6c17ffa73f15c237d6bfbda85cdd9239
2014-01-30 16:30:00 -08:00
Brian Carlstrom
7a60db234a packages/apps/Settings: Rename persist.sys.dalvik.vm.lib to allow new default
Bug: 12798969
Change-Id: I1937c2ff758214e1c9d369e475ae4efbba4f9dec
2014-01-30 13:17:08 -08:00
Torne (Richard Coles)
deb0a156bb Resolved conflicts for merge of 67e72aa4 to master
Change-Id: Ib3904427c8f6bcc19895b39e4ce65eaa626e8396
2013-10-15 13:37:35 +01:00
Torne (Richard Coles)
0bf324c628 Remove experimental WebView setting.
The experimental WebView is no longer experimental; remove the setting
from the settings app.

Bug: 10427705
Change-Id: Iaad17b132f21cad3d32ee5800a9274863962cc87
2013-10-14 17:35:43 +01:00
Alan Viverette
fc0ab213b8 Add accessibility display adjustments to Settings
This will be redesigned soon, but for now it allows access to quick
setting tiles for testing display adjustments.

BUG: 9057596
Change-Id: I4b760487b2fe0a336b188930306000e5dfc01951
2013-10-02 16:36:33 -07:00
Brian Carlstrom
372b6f74b1 Enable runtime selection for art for user builds
Bug: 10069754
Change-Id: I4b9780b52d3aac900e5d4da629e3e6b22c3cb323
2013-09-25 11:22:19 -07:00
David Braun
4e9f04de0a Implement new method for handling SMS/MMS on the platform
Multi project change:
The changes in this project update the settings app to support the new
default SMS app setting. I have also updated the order of the wireless
settings in the UX as per request from rachelg.

Bug: 10449618
Change-Id: Iba1ac6ea3f29c2a72af83b122ec5ea3a16a28e58
2013-09-16 13:45:42 -07:00
Jeff Sharkey
78ff1b8f10 Remove sdcard developer option, avoid data crash.
Remove READ_EXTERNAL_STORAGE enforcement UI, since the permission is
now always enforced.  Check to see if bandwidth module is enabled
when launching data usage, and finish gracefully if disabled.

Bug: 10116515, 10392597
Change-Id: Id0295c405b780a53867934b3bcd0a5f56db7d87a
2013-09-09 18:42:33 -07:00
Maggie Benthall
4453496448 Fixes for pin-restricted settings.
- Reprompt for pin after screen has been locked and unlocked.
- For protected preferences, store the Preference and continue if pin entry is successful.
- Protect whole UserSettings and DevelopmentSettings pages.

Bug: 10543207
Change-Id: If1d4b31ca94a8cfc103625b74385bcd0bdd3d88b
2013-08-29 18:06:13 -04:00
Chong Zhang
5114444eca Merge "wifi-display: add certification options" into klp-dev 2013-08-23 23:19:18 +00:00
Chong Zhang
6c607384c4 wifi-display: add certification options
- Checkbox to show certification menu in "Developer options"

- Certification menu to Wireless Display Settings, providing
  misc control options required to certify

Bug: 9371882
Change-Id: Icf74d1122a9dc813b2cf95b6606a8a600a6b9cd1
2013-08-22 23:47:08 -07:00
Jonathan Dixon
ba0ef659e1 Add an Are you Sure to experiemental webview
Bug: 10427705

Not bothering to translate strings as this will be deleted soon

Change-Id: I26721e606649d267d1b6507bc1a16ce91a63276a
2013-08-21 17:49:59 -07:00
Dianne Hackborn
c6d658e37d Initial rough stab at a proc stats UI.
You see procs, and you see some stats.

Change-Id: I91c86d198fd5e64a41c72901e150466b3c602caf
2013-08-08 15:01:59 -07:00
Amith Yamasani
df1eda8ef7 Developer option to force RTL layout direction
Sets a global setting and system property and forces a config change
when developer selects to force RTL screen layout direction.

Bug: 10244047
Change-Id: Id91e52be5e492515ff1eef3cbccfb08e944bfc92
2013-08-08 12:34:56 -07:00
Geoffrey Borggaard
6e1102d9fa Restriction pin changes.
Fixed bug in WirelessSettings where it was asking users for a PIN when
they weren't restricted.  Did this by refactoring the preference level
pin checking into the superclass, where it checks for the restricted mode first.
Also pin protected changes to certificates for restricted users.

Change-Id: I8310fd39f0862159668318fc1360ec6859cc00d5
2013-08-07 14:57:43 -04:00
Geoffrey Borggaard
fe21d9aaa8 Pin protect more screens.
When these screens are locked down with user restrictions,
it should prompt the user for the restrictions pin before allowing
access to the settings screen.

Change-Id: Iadbb087da2d9470b855ea0bea89f2da1ffb9e854
2013-08-06 17:24:37 -04:00
Jonathan Dixon
0125d032ef Merge "Use WebViewFactory accessors to find experimental state" 2013-07-29 18:51:33 +00:00
Zhihai Xu
84bbb548a6 Add debug menu to enable btsnoop
bug: 8059358
Change-Id: Ib695aa5c9fff96d1676f718a2e3fb0bbf91eca04
2013-07-26 13:33:16 -07:00
Jonathan Dixon
c79f26f1ec Use WebViewFactory accessors to find experimental state
This allows the knowledge of default on/off state to the contained in
the WebViewFactory class.

Change-Id: I5645b403d6232252ef36e45097c6a76e4b693dd4
2013-07-25 19:54:31 -07:00
Brian Carlstrom
f32ba13a76 Add developer option for switching between Dalvik and ART
Change-Id: Ia5a8649e52b607b31429fca258a8fdf62217426c
2013-07-10 09:49:07 -07:00
Romain Guy
eb90fc56b2 Add new GPU overdraw setting
Change-Id: I45404b37df382e51eea42de92535f49f870c98b2
2013-05-03 17:38:38 -07:00
Amith Yamasani
7f34b399fc am 9217185d: am c39dcc1c: Don\'t show developer options to secondary users
* commit '9217185d74dad396ea87e4b82597c0fe2d949efe':
  Don't show developer options to secondary users
2013-04-13 18:51:53 -07:00
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
Ben Murdoch
9f8c61ee1a am 6fdc642e: am f452008f: Merge "Properly remove experimental WebView preference when unavailable." into jb-mr2-dev
* commit '6fdc642e8640927bee97f93812a58897afa252e9':
  Properly remove experimental WebView preference when unavailable.
2013-04-09 14:25:22 -07:00
Jared Duke
9225bc538d Properly remove experimental WebView preference when unavailable.
When the experimental WebView library is unavailable, properly remove it from
the appropriate preferences group.

Bug: 8572673
Change-Id: I34dd0720199c826ca12e0f991e2f6bd9c5ad35f3
2013-04-09 19:14:57 +01:00
Kristian Monsen
704793f374 am 3c6c45f9: am a95604de: Merge "Adding developer toggle for using Chromium WebView." into jb-mr2-dev
* commit '3c6c45f931307af098e790e86b114c804655f42b':
  Adding developer toggle for using Chromium WebView.
2013-04-05 10:51:22 -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
Jeff Sharkey
078a367ffd Guard against missing terminal app.
Bug: 8328852
Change-Id: Icbc8942729af5a525f55b8c90513ff724c6f90e0
2013-03-06 11:22:26 -08:00
Jeff Sharkey
d390b702b6 Developer option to enable Terminal app.
Change-Id: I765b956381e4bdf0e315108c0e94e0b1c0d2cb86
2013-03-05 23:31:45 -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
Benoit Goby
0761ffca60 Settings: Add setting to clear adb public keys
Change-Id: I1d5ab7a83a3b7b23f0cd51305d965f45793eb853
2013-01-22 18:45:00 -08:00
Chris Craik
e533c3191d Merge "Remove now obsolete tracing options" 2013-01-17 23:45:33 +00:00
Chris Craik
87c3ce7667 Remove now obsolete tracing options
Change-Id: I8bd79161e0cb88619e2713b18c5f94cc1a12cb87
2013-01-17 11:41:22 -08:00
Fabrice Di Meglio
b27223f139 Fix Switches padding for Settings app
- use setPaddingRelative() instead of setPadding()

Change-Id: Ifd14193a5f60d303035b394616dc65a70e1ef5f9
2013-01-15 18:54:11 -08:00
Romain Guy
70618480d9 Change "track frame time property" to a list preference
The preference can now be used to disable GPU profiling, expose
profiling data to dumpsys gfxinfo or display that data on screen.

Change-Id: Ib77e9695445fae4a7419667716e92bcc196437df
2013-01-07 11:25:10 -08:00
Amith Yamasani
48d000ee2e Disable USB debugging checkbox and backup password for secondary users
This prevents secondary users from turning on adb debugging, even if they
find a way to launch developer options. Similarly, don't let them add or
change the adb backup password.

Bug: 7637920
Change-Id: I297f0c515a276ede6a7f12d2add72faec4eeb384
2012-11-30 14:20:04 -08:00
Jeff Sharkey
2817c46c04 Selectively enable bugreport in power menu.
The underlying bugreport init service depends on USB debugging being
turned on for user builds.  This change makes the developer options
UI reflect this constraint.

Bug: 7427434
Change-Id: I8dc16cc53ec4a97a3b39ee631694456be3bde081
2012-10-29 14:57:41 -07:00
Jeff Sharkey
5a740ab1b9 Merge "More migration to Global settings." into jb-mr1-dev 2012-10-18 23:23:08 -07:00
Romain Guy
025cafcfa1 Control OpenGL traces from Developer Options in Settings
This change adds a new entry to the developer options screen in
settings that lets you choose what OpenGL traces you want.

Change-Id: Ie789fa20dbbabee1e509b697106072464e9f9d2b
2012-10-18 17:37:43 -07:00
Jeff Sharkey
860eceba2c More migration to Global settings.
Bug: 7375796
Change-Id: I43079368c32e91e8bb75b00377cd57d1766f15d4
2012-10-18 15:38:42 -07:00