Commit Graph

280 Commits

Author SHA1 Message Date
Fabrice Di Meglio
2ec78636f7 Implement #15841213 Search - index Developer Option only and only if they have been activated
- do not index Developer Options if they are not activated
- index them just after their activation

Change-Id: I54fcc6b55a1f29eb6b19d6e14e3158d4a38a6fe6
2014-07-25 16:28:53 -07:00
Alan Viverette
65e00e5ac8 Reset color space when development options are disabled
BUG: 16306222
Change-Id: I4939a4fba8b0358333f6ff25ff8c405c5679579d
2014-07-22 11:10:58 -07:00
Andres Morales
7568392c00 Don't try to set OEM checkbox if not available
Bug: 16199128
Change-Id: I09765de60d60a2351f915607e737db90fbd90c9e
2014-07-10 09:49:09 -07:00
Andres Morales
ce249fe38d Enable OEM unlock checkbox in Developer Settings
For Volantis+ devices, we will give users
the ability to enable OEM unlock through
Developer Settings. To do so, we must write
the value to the last byte of a special partition
that does not get erased even after factory reset.

This feature will only be available on devices
with the persistent data partition, thus the checkbox
is only visible for devices that meet this requirement.

This depends on
https://googleplex-android-review.git.corp.google.com/#/c/495350/

DD: go/factory-reset

Bug: 14288780
Change-Id: I8f80b950bc101a1067912faf221391bf0dd826b7
2014-07-09 18:16:04 -07:00
Fabrice Di Meglio
fdf54815d2 Remove VM switch from Developer Options
- no more needed as Art is the one and only one VM

See bug: #15778483 "Select Runtime" still exists in search results, but not in Settings

Change-Id: I4ccca20165e254f7eec87c1e44aad8de0cab628d
2014-06-23 17:27:38 -07:00
vandwalle
5e7b3ad09f add setting to control wifi handover
Change-Id: I85a8c8d501238a8115713ca7b018cdac6d0af95a
2014-06-18 20:26:08 -07:00
Selim Gurun
2c2a995193 Merge "Gray out the selection while the key is not available." 2014-06-17 04:56:28 +00:00
Selim Gurun
41745a430d Gray out the selection while the key is not available.
Bug: 15607413

The old logic was simply making it not selectable. This will disable
it and gray it out providing better feedback.

Change-Id: Iaeaae43f28100ba1a1550db0a919172a249054e8
2014-06-17 10:24:44 -07:00
Fabrice Di Meglio
0f59467044 Merge "Fix bug #15687210 Settings crashing when turning ON<>OFF developer option." 2014-06-17 05:00:50 +00:00
Fabrice Di Meglio
6f5e790ac9 Fix bug #15687210 Settings crashing when turning ON<>OFF developer option.
- prevent NPE
- define default value (to 256K)
- add more logs for showing value which has been set or any exception

Change-Id: I8f067f14d81ee56631d1ad74b91b5ede26cae125
2014-06-17 09:33:03 -07:00
Selim Gurun
48afff27a2 Do not enable bandwidth reduction settings if key is not available
Bug: 15607413

If bandwidth reduction settings are enabled when a key is not ready
yet, webview network connections stall due to a bug in M36 of chrome.
Do not let it enabled via settings app.

Change-Id: I7dc80c33f72ab59de68f919ef227d5227e6b923d
2014-06-16 17:23:19 -07:00
Colin Cross
102fea22e0 Revert "logd: Add Developer settings for size, merge conflict issue"
This reverts commit c6d03a828e.

Change-Id: Ic41bf8609a1e16a10bfdce021e0536370800b81e
2014-06-13 23:26:15 +00:00
Mark Salyzyn
c6d03a828e logd: Add Developer settings for size, merge conflict issue
- mLogdSize dropped by merge conflict resolution

Bug: 14563261
Change-Id: I11e3aa97a0ba40c3f55041d98c02d7e73629e985
2014-06-13 15:09:20 -07:00
Mark Salyzyn
6b5bcd2138 resolved conflicts for merge of c2c64a31 to master
Change-Id: Ica0f138d4bf2cf66b8ba485bf286e062be433d0a
2014-06-13 14:57:13 -07:00
Mark Salyzyn
408c89bfb5 logd: Add Developer settings for size
- Dependent on some logd/init/selinux security changes.

Bug: 14563261
Change-Id: I11e3aa97a0ba40c3f55041d98c02d7e73629e984
2014-06-13 20:20:08 +00:00
Fabrice Di Meglio
204521626f resolved conflicts for merge of f9360dbc to master
Change-Id: I2e468d83a7ce5200c59f63b4362e7bee10d0a2eb
2014-06-12 15:46:41 -07:00
Fabrice Di Meglio
138ff8c045 Make the SwitchBar appear immediately
- change the way the SwitchBar is shown and hidden
- save its state
- remove the delay transition code

Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
2014-06-12 11:13:23 -07:00
John Spurlock
69323ad96a am e9ee5e2c: Merge "Settings: Battery saver settings sub-page." into lmp-preview-dev
* commit 'e9ee5e2cede8d7e8fd7791113903df7eff1ec75a':
  Settings: Battery saver settings sub-page.
2014-06-11 17:02:20 +00:00
Alan Viverette
2c461006b8 am 6bfec2d6: Remove all dialog icons in Settings
* commit '6bfec2d6b197068dd355bd1742179fe3da07136f':
  Remove all dialog icons in Settings
2014-06-11 13:07:58 +00:00
John Spurlock
e9ee5e2ced Merge "Settings: Battery saver settings sub-page." into lmp-preview-dev 2014-06-10 21:36:19 +00:00
John Spurlock
c7f8e8ce69 Settings: Battery saver settings sub-page.
New battery saver settings page, accessed via
the power usage settings overflow menu.

The settings page has a master switch to toggle
battery saver mode, feature disclosure text,
and a preference to configure the automatic
trigger level.

Remove developer checkbox now that this option
has a real home.

NO_SQ: multi project change
Bug:13329308
Change-Id: Iac54238f3406439711b44a3c17f220ac5e370a37
2014-06-10 17:26:47 -04:00
Alan Viverette
6bfec2d6b1 Remove all dialog icons in Settings
BUG: 15474733
Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
2014-06-10 13:41:07 -07:00
Julia Reynolds
c92af83b0c Merge "Settings user restriction changes: wireless & networks changes." 2014-06-09 19:22:19 +00:00
Julia Reynolds
ee27b9de8f Settings user restriction changes: wireless & networks changes.
Bug: 14081992
Change-Id: I32b0f06da7e7ff9bd8303ce26be2584e6cddbedc
2014-05-29 13:21:29 -04:00
Brian Carlstrom
9d7e2b1949 Move to dalvik.vm.lib.2 to force default to libart
Bug: 14298175

(cherry picked from commit 3bc8aaad29)

Change-Id: I5c551d6d6f00af5a7b3638e3847950e441414e37
2014-05-28 14:48:15 -07:00
Brian Carlstrom
3bc8aaad29 Move to dalvik.vm.lib.2 to force default to libart
Bug: 14298175
Change-Id: I5ebd13eebf42c998418ef79381d9c8b89aaf5c0c
2014-05-28 14:31:47 -07:00
Fabrice Di Meglio
1e52db8063 Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads
- refactor all the code that was using the Switch to control it thru the SwitchBar
- start the Switch as View.GONE and make it View.VISIBLE when it is set
as "enabled" or "checked" so that you dont see the Switch transition (it shows
only with it final state)

Change-Id: I382076bf3c819c530b5b2c06ca2429dfb2cdc6bf
2014-05-27 17:01:10 -07:00
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