Commit Graph

2749 Commits

Author SHA1 Message Date
Irfan Sheriff
81da488477 Fix NPE
Bug: 5953080
Change-Id: I1ff5b8a878f8f0d2fd9c6da549804aa454db444c
2012-02-13 22:28:13 -08:00
Mike J. Chen
31c5ec8202 Allows auto dismissing of bluetooth activation dialogs
Create a new overlay boolean that allows products (like Android@Home
ones that have no or minimal display) to not bring up the bluetooth
activation confirmation dialog.

Change-Id: Ib76a26d440ede34cc8a41ffc8b680ca2b20b38ca
Signed-off-by: Mike J. Chen <mjchen@google.com>
2012-02-10 15:29:44 -08:00
Dianne Hackborn
e44f44d679 New dev setting to turn off HW overlays.
Change-Id: I747ac6d90dfb8a7a0bbf547ce7cae8ee86f8d5d0
2012-02-07 11:40:30 -08:00
Jeff Sharkey
f3871fb2b2 Linear bytes scale, time ticks on first week day.
Move bytes to linear instead of logarithmic scale.  Also render time
ticks on first week day based on locale.  Also enable testing of
specific IMSI through setprop.

Bug: 5452612, 5829693
Change-Id: I13200cf58a39bfe0ac343e1f83165e899867641b
2012-02-03 19:29:15 -08:00
Jeff Sharkey
ae30d12a5f Tighten locking around data usage UID resolution.
Bug: 5965853
Change-Id: I92231ca938ddf320377c437c7379a03319c88aca
2012-02-03 15:48:28 -08:00
Jeff Sharkey
77dae91726 Unify shorthand for byte-based units.
Change-Id: I32f998b5ee1f5416c9cceafd124fd34b7433be42
2012-02-03 14:50:33 -08:00
Jeff Sharkey
0370b9c3f7 Merge "Update for NetworkPolicy refactoring." 2012-02-02 16:26:46 -08:00
Jeff Sharkey
0d750bba7d Update for NetworkPolicy refactoring.
Bug: 5262414
Change-Id: I17db862cc20a11f022dc2d02993ad52988618681
2012-02-02 16:12:00 -08:00
Dianne Hackborn
14dc2d4b84 New switch to enable/disable all developer settings.
Turning the switch on shows a dialog warning the user to not do this.

Turning the switch off resets all development settings.

Change-Id: I052b16e6d220fa60298799ace02e69a8a1a02ef2
2012-02-02 15:03:36 -08:00
Chet Haase
b29e7870de Add Developer Option setting for Animator scaling.
This new setting allows users to set a scale factor for the
duration and startDelay of all Animator-based animations. This
setting is very similar to the Transition animation scale and
Window animation scale settings, except this one applies specifically
to Animator animations. The property is only accessible by users
through the Settings UI, not programmatically. The value applies
system-wide and is picked up per-process at the time of the first
ValueAnimator construction.

Change-Id: I4fd02b03e508495b39481bfc8904d8771d0fd4e1
2012-02-02 07:37:15 -08:00
Jean-Baptiste Queru
05eb9852a9 am 43cbe3ff: am b6e57c1f: Merge "Do not set minimum value for mobile data limit dialog higher than the actual set value"
* commit '43cbe3ffb4f0777d8aa833355c523f4a1ff93818':
  Do not set minimum value for mobile data limit dialog higher than the actual set value
2012-01-27 21:09:22 -08:00
Jean-Baptiste Queru
43cbe3ffb4 am b6e57c1f: Merge "Do not set minimum value for mobile data limit dialog higher than the actual set value"
* commit 'b6e57c1f598fd9bf0f15c1e9eed238910e9fca1f':
  Do not set minimum value for mobile data limit dialog higher than the actual set value
2012-01-27 13:58:03 -08:00
Shuhrat Dehkanov
f9237f6e3c Do not set minimum value for mobile data limit dialog higher than the actual set value
When mobile data limit and warning limit are set to 0, pressing mobile data limit text
(0.0 GB) pops up mobile data limit dialog with minimum value 1. But the value set is 0,
which is causing the dialog to show its maximum value 2^31-1.

Change-Id: I79ed4df5fbf095a7e60bda640ff2ca26bcbd3cc4
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
2012-01-26 23:04:02 +09:00
Dianne Hackborn
9907f6b274 When auto-brightness is on, you can now adjust its brightness.
Change-Id: Ie152def12cf7befd9c15a19f9975c207cbb5c541
2012-01-23 10:22:08 -08:00
Justin Ho
8a3703d909 am 1fea4322: am 43c9dcc1: Merge "Fix a pseudo race condition in TtsEngineSettingsFragment." into ics-mr1
* commit '1fea43224ce3b84e248d9e49b8597fe58351db65':
  Fix a pseudo race condition in TtsEngineSettingsFragment.
2012-01-23 09:18:28 -08:00
Narayan Kamath
2580eb60a3 am cf3f7abb: am 999f23e2: Locale string comparisons must ignore case.
* commit 'cf3f7abbeb9a31e73ef41b3f6512ebb095ac9e90':
  Locale string comparisons must ignore case.
2012-01-23 09:18:25 -08:00
Jean Chalard
75eba8cf56 Make the layout of the add word dialog easier to understand
Change-Id: I1a71d5c95c142655219c7ab3ae4f67fa0b1f3d1a
2012-01-23 16:14:37 +09:00
Justin Ho
1fea43224c am 43c9dcc1: Merge "Fix a pseudo race condition in TtsEngineSettingsFragment." into ics-mr1
* commit '43c9dcc18e4e1137c59b847eadde7ae27302b08f':
  Fix a pseudo race condition in TtsEngineSettingsFragment.
2012-01-20 14:42:33 -08:00
Narayan Kamath
cf3f7abbeb am 999f23e2: Locale string comparisons must ignore case.
* commit '999f23e2c304bde3a5c27f7f882d4616f5abdf9e':
  Locale string comparisons must ignore case.
2012-01-20 14:42:33 -08:00
Justin Ho
43c9dcc18e Merge "Fix a pseudo race condition in TtsEngineSettingsFragment." into ics-mr1 2012-01-20 14:40:04 -08:00
Narayan Kamath
2d8101bc8b Fix a pseudo race condition in TtsEngineSettingsFragment.
The issue is that Fragment.setVoiceDataDetails can
be called before Fragment.getView. We guard against this
issue. No thread visibility issues here because both functions
are called on the UI thread.

bug:5884355
Change-Id: Iad91b91c58b04dcb9f34f6b5ff8752f2e8295423
2012-01-20 17:52:02 +00:00
Narayan Kamath
999f23e2c3 Locale string comparisons must ignore case.
The spec does not specify case sensitivity and support
for 3 letter locales is currently poor.

bug:5885830
Change-Id: I1b8f582bd19b1b0aed220036c5f17904478dba46
2012-01-20 17:42:59 +00:00
Svetoslav Ganov
4de315b8de Merge "AccessibilityService description not internationalized (Settings)." 2012-01-12 15:37:11 -08:00
Jean-Baptiste Queru
99bf694ae8 am d96abecc: am 02bc3ffe: am 1e78bd01: Merge "Observer for GPS is never added back."
* commit 'd96abeccfd04de5a89599d2b041022bef9e58669':
  Observer for GPS is never added back.
2012-01-12 11:05:22 -08:00
Jean-Baptiste Queru
d96abeccfd am 02bc3ffe: am 1e78bd01: Merge "Observer for GPS is never added back."
* commit '02bc3ffe311f8cc5f9e9464ed0ecdd73ea576020':
  Observer for GPS is never added back.
2012-01-12 11:03:02 -08:00
Jean-Baptiste Queru
02bc3ffe31 am 1e78bd01: Merge "Observer for GPS is never added back."
* commit '1e78bd01ca308eec6a08ad376a889240635d6c24':
  Observer for GPS is never added back.
2012-01-12 11:00:21 -08:00
Jim Miller
325d1ab157 am 340990a2: am af487099: Merge "Fix 4560303: Add setting to lock later when power button pressed" into ics-mr1
* commit '340990a2d29f566b83dc551e3c5f748c96bd99f2':
  Fix 4560303: Add setting to lock later when power button pressed
2012-01-10 10:32:40 -08:00
Jim Miller
af48709993 Merge "Fix 4560303: Add setting to lock later when power button pressed" into ics-mr1 2012-01-10 10:28:31 -08:00
Amith Yamasani
201896e983 am 79ffc669: am aaff44c8: Don\'t allow wifi tethering when running monkeys.
* commit '79ffc669173325e62fdb9f5a1f96fe2a5c3c230b':
  Don't allow wifi tethering when running monkeys.
2012-01-09 16:37:34 -08:00
Amith Yamasani
aaff44c84f Don't allow wifi tethering when running monkeys.
Bug: 5607825

Remove the wifi access point settings and wifi tethering checkbox when
monkeys are running.

Change-Id: I64b930ddb791013a08c178561fe29130f1f0e4b8
2012-01-09 14:52:58 -08:00
Jim Miller
071742d838 Fix 4560303: Add setting to lock later when power button pressed
This adds a feature to delay locking the device when the power button
is pressed.  This fixes a use case where the user wants to turn off
the display (e.g. to save power) but doesn't want to lock the device.

Change-Id: I711a81c3e79f7accdc1d9cb217b7806a0b8fcf63
2012-01-09 14:25:04 -08:00
Todd Poynor
da68fd4620 Merge "Android OS battery usage overstated by screen on time" into ics-mr1 2012-01-05 11:21:08 -08:00
Todd Poynor
e3b4dfae6f Android OS battery usage overstated by screen on time
Change-Id: Icbc4b3ecf91bdbb90da3ee0cf1c68bec953d0177
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-01-05 10:40:14 -08:00
Narayan Kamath
5a38df2648 Call setLanguage() when the TTS locale is changed in settings.
This is required to fix the case where an app has instantiated
and is using a TextToSpeech instance, and the user switches to
settings and changes the language for that instance. If no
app was using TTS, then onCreate() would have be called when
TTS is used next, and the correct locale will be loaded.

bug:5823836
Change-Id: I62adf3f7f0f14b67450ba08b8743e0d31e615a7e
2012-01-05 15:14:04 +00:00
Vladimir Baryshnikov
aa5cb065e3 Observer for GPS is never added back.
mSettingsObserver will be added only once  to mContentQueryMap on first start,
but if you bring activity back to top, it will not be added any more.

Signed-off-by: Vladimir Baryshnikov <vovkab@gmail.com>
2012-01-03 18:11:42 -08:00
Svetoslav Ganov
63ad27860b AccessibilityService description not internationalized (Settings).
bug:5807616

Change-Id: Iab6cf000ce1029ab253d56cb8abe222ad3204e6d
2012-01-03 17:04:29 -08:00
Chia-chi Yeh
2340efc9a3 VpnSettings: use USER_PRIVATE_KEY to list user certificates.
Change-Id: Iba547331d00ddfe24dd5eda3a9ee70c9d17969d0
2011-12-27 13:21:57 -08:00
Irfan Sheriff
029dffbd5c Merge "Add debug support for P2P WPS" 2011-12-21 09:26:51 -08:00
Jean Chalard
124283e83b Have the add dialog maintain state across screen rotation
Change-Id: I44d61018e0ed4de32b0a8da3ecba999831987956
2011-12-21 17:51:02 +09:00
Kazuhiro Ondo
9687a8d4a4 am 9fb7b17c: am a98c353f: Don\'t enable SIM PIN Lock menu if SIM is not available
* commit '9fb7b17c465e6cf38681ef7742ee1a0a486c5b79':
  Don't enable SIM PIN Lock menu if SIM is not available
2011-12-20 16:47:27 -08:00
Kazuhiro Ondo
a98c353f8b Don't enable SIM PIN Lock menu if SIM is not available
Bug: 5774681
Change-Id: I1edd1447ff83ab8cf9e8a1eb8fbd85ef0becdce7
2011-12-20 14:30:15 -08:00
Irfan Sheriff
1e13143b3a Add debug support for P2P WPS
Use a system property to allow WPS selection for p2p
connection

Change-Id: I34af97eaa4c4d4ff2e7ed52ba8f9bfb21f7b1c45
2011-12-19 16:43:29 -08:00
Jean Chalard
b4ba0ef786 Merge "Change the "manage dictionaries" button to "less options"" 2011-12-19 01:27:14 -08:00
Todd Poynor
103b28073a Android OS battery usage overstated by screen on time
Change-Id: Icbc4b3ecf91bdbb90da3ee0cf1c68bec953d0177
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2011-12-16 16:15:13 -08:00
Jean Chalard
2c892d900b Change the "manage dictionaries" button to "less options"
This is supposed to be easier to understand for users.

Change-Id: I144031941712ab15fb490619c288d533ce884ee9
2011-12-16 18:31:48 +09:00
Jeff Sharkey
3038c52de4 Restrict app data on metered networks.
Paired with framework change that no longer requires NetworkPolicy
to have limit when restricting apps.

Bug: 5571454
Change-Id: I2a5d8446a9278afb183e13d0f41f436ccb3bc9e8
2011-12-15 14:03:37 -08:00
Irfan Sheriff
0c0bd827a1 Fix button visibility on connect
Bug: 5750846
Change-Id: I1f31308a21f7f6876f12eb4f1ab45ecd1bc74092
2011-12-13 11:55:15 -08:00
Meng Hu
11140b7d63 am 1d015e49: am 3feacdf3: Add Sprint update menu
* commit '1d015e49fcb3e15c8a64d1911c80b66e544fa25f':
  Add Sprint update menu
2011-12-09 18:09:22 -08:00
Meng Hu
3feacdf396 Add Sprint update menu
Adds the conditionally used xml ui definition and removes it at runtime when it's not
wanted.  Ported from GB.

bug:5237167
Change-Id: I89a67e1033ddc7099563732e839c08fbadb4fd75
2011-12-08 13:00:35 -08:00
Gilles Debunne
5aa7a15706 Merge "Typos in CheckBoxAndSettingsPreference" 2011-12-08 11:17:05 -08:00