History log of /frameworks/base/core/java/android/provider/Settings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51117262c8fadb6d227d137e83ad66996b013141 05-Nov-2012 Jim Miller <jaggies@google.com> Handle DevicePolicyManagement and safe mode when inflating widgets

Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
/frameworks/base/core/java/android/provider/Settings.java
b2f21c53cf423cad5cf2f5d92579258decb40631 28-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Use settings to persist sticky widget." into jb-mr1-lockscreen-dev
c99a1107c0d4fdf47595e5072192d647a01e13b3 27-Oct-2012 Eric Laurent <elaurent@google.com> Merge "add settings for dock audio enabled" into jb-mr1-dev
5f050e5c2c1616c7f0795c4f13e42a5d150b8015 27-Oct-2012 John Spurlock <jspurlock@google.com> Use settings to persist sticky widget.

Addressing some comments:
- Sticky widget is now saved in a user-scoped setting.
- Removed multi-user widget from computation (obsolete).
- Removed status widget from computation (just use right-most).
- Removed duplicate isMusicPlaying logic.

(frameworks/base)

Change-Id: I8ef8f826677d78ac24da52adf2d99d47c8d965ac
/frameworks/base/core/java/android/provider/Settings.java
7ee1e4ff7346a278a6722108fbc1869240b3e866 27-Oct-2012 Eric Laurent <elaurent@google.com> add settings for dock audio enabled

Add settings dock_audio_media_enabled indicating if dock audio
is enabled for media for docks that do not implement jack detection.

Bug 7302106.

Change-Id: I75766b606ceb870b3f89979c4e3cca88ed197aaf
/frameworks/base/core/java/android/provider/Settings.java
aa2859ae61098509495b7938e32a6d59d37561be 24-Oct-2012 Michael Jurka <mikejurka@google.com> Adding ability to add multiple widgets to keyguard

Bug: 7381803
/frameworks/base/core/java/android/provider/Settings.java
8d866e52b209cb683159f2701cc4204163de245c 11-Oct-2012 Dianne Hackborn <hackbod@google.com> More on issue #7318666: hide developer options from user build

The action to launch the developer settings panel is now required
by the platform.

Add a new hidden API to LauncherActivity so I can better integrate
these into the existing Dev Tools app.

Change-Id: I9c082622fd4c8f4a5be51cabb664741a3782ece1
/frameworks/base/core/java/android/provider/Settings.java
5ed9d680409c83fbfd7b617d7f257305d3c34b62 10-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move lockscreen to using haptic feedback setting.

This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
/frameworks/base/core/java/android/provider/Settings.java
16eb7cd4570ca884c03151c4f9e7e32a5f8e4d94 10-Oct-2012 Christopher Tate <ctate@google.com> Back up / restore the "Avoid poor connections" wifi setting

Bug 7318177

Change-Id: I8fdc037f823b8c57727e7d49c5bffdc9b3c10ebb
/frameworks/base/core/java/android/provider/Settings.java
b711d57ca4e2c6a1befbfa1a41f4b8094755a93f 02-Oct-2012 Victoria Lease <violets@google.com> Multiuser love for LocationManager

LocationManagerService now keeps track of the current user ID and
denies location requests made by all but the foreground user.

Additionally, location settings are now user-specific, rather than
global to the device. Location provider services now run as specific
users, and when the device's foreground user changes, we rebind to
appropriately-owned providers.

Bug: 6926385
Bug: 7247203
Change-Id: I346074959e96e52bcc77eeb188dffe322b690879
/frameworks/base/core/java/android/provider/Settings.java
66488d64df8c3cf8722b8bf282398617cf3c0551 02-Oct-2012 Christopher Tate <ctate@google.com> Make settings backup/restore work in the new multi-user world

1) Properly handle restores of settings elements that have been migrated
to the new global namespace

1) Back up and restore the new global settings namespace

3) Make sure to back up / restore the global entity
ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED

Bug 7249405

Change-Id: Ibfa9930ea4d0e16c7635697e8c631b155e4c0cb2
/frameworks/base/core/java/android/provider/Settings.java
6e2bee75cea415621165698fdd9ce857bbb8872e 01-Oct-2012 Jeff Sharkey <jsharkey@android.com> Migrate more System and Secure settings to Global.

Includes telephony, WindowManager, PackageManager, and debugging
settings. Update API to point towards moved values.

Bug: 7231764, 7231252, 7231156
Change-Id: I5828747205708872f19f83a5bc821ed0a801cb79
/frameworks/base/core/java/android/provider/Settings.java
0ac1028b0dc8713296e2face40abe5451ecd479c 01-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move bluetooth priorities from Secure to Global.

Bug: 7231171
Change-Id: I836fdc2cfb8d67f984b4715559b9e92d0dc41c95
/frameworks/base/core/java/android/provider/Settings.java
925a659d824089d2977b44a6740f793ae65f809a 29-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Use updatable file for premium-sms filter" into jb-mr1-dev
fd4da14c8304912dcb8ee54d4597527c2ee0d2d2 28-Sep-2012 Russell Brenner <russellbrenner@google.com> Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev
c6fa237daeaae6107174a9b9d4f591ea8cd26d86 24-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Use updatable file for premium-sms filter

The data is really to big for a gservices-driven secure setting.

bug:7221402
Change-Id: Ie3d4a1a0aeb69b9ef8fad360fa7ec32e927644e8
/frameworks/base/core/java/android/provider/Settings.java
7befb7deb2ac15134b3bb190520cba19165d16dd 28-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Global gesture to toggle Accessibility system-wide.

1. This change adds a global gesture for enabling accessibility.
To enable this gesture the user has to allow it from the
accessibility settings or use the setup wizard to enable
accessibility. When the global gesture is enabled the user
can long press on power to bring the global actions dialog
and then hold with two fingers for a few seconds to enable
accessibility. The appropriate feedback is also provided.

2. The global gesture is writing directly into the settings for
the current user if performed when the keyguard is not on. If
the keygaurd is on and the current user has no accessibility
enabled, the gesture will temporary enable accessibility
for the current user, i.e. no settings are changed, to allow
the blind user to log into his account. As soon as a user
switch happens the new user settings are inherited. If no
user change happens after temporary enabling accessibility
the temporary changes will be undone when the keyguard goes
away and the device will works as expected by the current user.

bug:6171929

3. The initialization code for the owner was not executed due
to a redundant check, thus putting the accessibility layer in
an inconsistent state which breaks pretty much everything.

bug:7240414

Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
/frameworks/base/core/java/android/provider/Settings.java
3a8af8efff93ca8ee80fc8c7841e7bee9a8b7786 28-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Migrate more Secure settings to Global." into jb-mr1-dev
5e08af03a3dffff8b8fc098790e5133589601d8f 22-Sep-2012 Christopher Tate <ctate@google.com> Respect per-user rotation lock et alia

Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object. We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
/frameworks/base/core/java/android/provider/Settings.java
625239a05401bbf18b04d9874cea3f82da7c29a1 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Migrate more Secure settings to Global.

Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
/frameworks/base/core/java/android/provider/Settings.java
de6ae447b13192de88d3da88d750e49ce9bbafc5 27-Sep-2012 Russell Brenner <russellbrenner@google.com> Add Settings.Secure.USER_SETUP_COMPLETE

To be set for each individual user upon completion of setup wizard.
This complements Settings.Global.DEVICE_PROVISIONED, which is set
upon completion of setup wizard by the primary user.

Bug: 7236987
Change-Id: I22f279e3262504f529345bbce30b39c71a41dce7
/frameworks/base/core/java/android/provider/Settings.java
4de9936e85696208dfe91d1c40e3e5226e57634a 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Remove unused Secure settings.

Carefully leave default values intact in Watchdog for now.

Bug: 7232007, 7232230
Change-Id: Id944181109305aed41e0766fdd39625b43cb1d19
/frameworks/base/core/java/android/provider/Settings.java
bdfce2ec05a3e9ca6acd6711de6133e06f2446e6 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> First step towards cleaning up Global settings.

Remove all @Deprecated @hide settings, and clean up any stragglers.

Bug: 7232125
Change-Id: Ibf67093c728d4a28565129b923edb1701d3b2789
/frameworks/base/core/java/android/provider/Settings.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
/frameworks/base/core/java/android/provider/Settings.java
d49359631bc2642be73dc162a8a73207df1e0baf 25-Sep-2012 Jeff Brown <jeffbrown@google.com> Handle user switched for settings changes.

Move OVERLAY_DISPLAY_DEVICES to Global.

Bug: 7127417
Change-Id: I632648ac5b01408512f59424f3bb55162431bea4
/frameworks/base/core/java/android/provider/Settings.java
139748fd724b482e2c012a6ec44d1c5abc0c0e97 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7215984: java.lang.RuntimeException: Unable to create...

...service com.android.systemui.SystemUIService: java.lang.NullPointerException

- Don't acquire the activity manager lock in handleIncomingUser(),
there is really no need to do so.
- Rework the settings provider client side cache code to not hold
locks while calling into the provider.

I also changed the way the settings provider uses system properties
so that there is one property for all users. We can't do one per
user, since the system property name space is limited with a fixed
size. And we don't really need to do that; the worse that happens
by combining all users is that if one running user changes one of its
settings, all other running users will think they need to reload
settings when they go to fetch them next.

Change-Id: I13b90b832310d117eb6d721aacd122cfba7d749a
/frameworks/base/core/java/android/provider/Settings.java
d5111f252b731396293caedbee929856acd6b276 24-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix the build." into jb-mr1-dev
026efcc0b829ce299d94367fa56cf610b9b746af 24-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Fix the build.

Other side of change 229425: add the secure settings used to control
the source country used in premium-sms determination.

bug:7205426
Change-Id: I6c8fece4fdea9aeae72da70c5cbe45807197c7bc
/frameworks/base/core/java/android/provider/Settings.java
4e5753f5f6c5e0c7f53722e2bfa451ac7f0b27db 20-Sep-2012 rich cannings <richc@google.com> Add setting to skip verifying ADB installs

Create a setting "verifier_verify_adb_installs" to allow developers to control
package verification on ADB installs only. If package verification is enabled,
the setting will:

0, Do not perform package verification on apps installed through ADB/ADT/USB
and perform package verification on all other installs.

1, Use package verification on all installs. (Default)

Bug: 7183252
Change-Id: I9d3eb8abb5ba5e93f8634d3135794e92ff6273b6
/frameworks/base/core/java/android/provider/Settings.java
20c41d5382b70fa5a24e9ef68f19ce0aedea5234 21-Sep-2012 Michael Jurka <mikejurka@google.com> Add support for changing status widget on security screen

Change-Id: I080fd89eb84445604c602b6e807b55153a7ee129
/frameworks/base/core/java/android/provider/Settings.java
f9fac2c5fe3f304ee866b1afc3191d36835e96bd 20-Sep-2012 Eric Laurent <elaurent@google.com> Merge "Add multi user volume management" into jb-mr1-dev
89d5546d7fd3a3bb19820c42e8b4527013dd6545 19-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for remembering Wifi display devices.

Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
/frameworks/base/core/java/android/provider/Settings.java
c8c083862f6435574e479084d84b149e73795651 20-Sep-2012 Christopher Tate <ctate@google.com> setShowGTalkServiceStatus() is deprecated but tested by CTS

So its implementation has to hang around on that basis.

Bug 7164713

Change-Id: Ibb59932b3b6d275d8ac8e091774b08256a258db1
/frameworks/base/core/java/android/provider/Settings.java
bc0fab1fc2db832ef86d8a33466ec4d68b103ca0 19-Sep-2012 Eric Laurent <elaurent@google.com> Add multi user volume management

Notification and Alarm volumes are per user: they are saved and restored
when the foreground user changes.
Media volume is global: it is still saved and restored per user for
implentation reasons but is copied from one user to the next to ensure
media playback volume continuity when switching users.

Ringer mode (silent, vibrate...) is now a global setting.

Bug 7128886.

Change-Id: I9f4f5a0a3985552bca61c2cc3bbe5a144db755a6
/frameworks/base/core/java/android/provider/Settings.java
3809f500c3411af2ab5ab6c706cdb4373940123e 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Disable notification scans when p2p is connected

Also reduce scan interval for STA scans to one minute.

Bug: 7138968
Change-Id: I03620f6d462e4ec90d9bb25bbfe709f63173df21
/frameworks/base/core/java/android/provider/Settings.java
42af7518f55afebcf9b7656853d1a0e34361c3be 17-Sep-2012 rich cannings <richc@google.com> Merge "Add setting to change verifier visibility" into jb-mr1-dev
4505a43f300568811d3260d25381a61c7fff65ea 16-Sep-2012 John Huang <jsh@google.com> Merge "Add support for per-package policy for sending premium SMS." into jb-mr1-dev
e6686b3e2309cb21cc8fd9a107d524add4b75b92 16-Sep-2012 rich cannings <richc@google.com> Add setting to change verifier visibility

Added a setting that will be used to control whether the user can see the
package verification setting in the Setting app.

Bug: 7022814
Change-Id: Ifa096682e90c83760df5db12c4cf72e2f897db9c
/frameworks/base/core/java/android/provider/Settings.java
6f5a9a96523ecf97a9828a410dd1226df47ec4e6 15-Sep-2012 Christopher Tate <ctate@google.com> Fix default population of wifi settings

Various wifi settings that are explicitly defaulted did not get their
default code properly converted to refer to the correct settings
database table.

A collection of moved-to-Global settings that had not yet been
marked @deprecated in the Secure.* namespace are now so marked.

Also updated the namespace used to refer to wifi settings from the
Wifi Service. These changes are cosmetic, but they do eliminate a
number of runtime log messages.

Bug 7153671

Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
/frameworks/base/core/java/android/provider/Settings.java
76a61426876409bc6936697d7560bd8c8a6193c5 07-Sep-2012 Jake Hamby <jhamby@google.com> Add support for per-package policy for sending premium SMS.

The default behavior for sending a message to a premium SMS
short code (or suspected premium SMS number) is to ask the user for
confirmation. Enable the user to set a default policy ("remember this
choice" checkbox) to always/never allow the app to send SMS to
premium short codes in the future. The policy can be changed by
the Settings app in the app info screen.

Bug: 5513975
Change-Id: I15f45f34dc4da4aef7d0efd675be6bc3a4ceb720
/frameworks/base/core/java/android/provider/Settings.java
f229e4d3eb8f910c181f96416c6798f6f305a395 13-Sep-2012 Jim Miller <jaggies@google.com> Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
/frameworks/base/core/java/android/provider/Settings.java
78d2a66ac12e4c8f1303225514f573fb53af1dd9 14-Sep-2012 Christopher Tate <ctate@google.com> Fix Settings writes to a different user

Oops. Stacked bugs: first, the desired user handle was not properly
being passed from the call() entry point to the database operations;
then on top of that, the client-side cache management was still
looking in the local user's cache for the data, so a request to read
a different user's settings would return the local user's instead if
that key was already known to the local user's cache.

Reads and writes of a different user's settings are now uncached,
so they're relatively much slower. They're rare, however, so this
is not something to worry about unless we encounter a real world
case where it's a significant factor.

This CL also adds a bit of cross-user settings read/write testing
to the existing provider suite. These new tests caught both the
known wrong-user-write bug and discovered the client-side cache
bug, so yay.

Finally, the existing wholesale mutual-exclusion approach would
deadlock in certain circumstances due to the fact that the
settings database creation code might have to call out to the
Package Manager while populating the bookmark/shortcut table,
and the Package Manager would then call back into the settings
provider in the course of handling that request. The synchronization
regime has been significantly tightened up now: now the database
code [which is known to deal with concurrency itself] is allowed
to cope with multiple parallel openers of the same db; this
allows the settings provider to avoid calling out to other parts
of the system even implicitly while its internal lock is held.

Change-Id: Ib77d445b4a2ec658cc5c210830f6977c981f87ed
/frameworks/base/core/java/android/provider/Settings.java
c868b645b46685574955eaff9f8d46d9262a3357 13-Sep-2012 Christopher Tate <ctate@google.com> Moved a few telephony settings from Secure to Global

Also tidy up the bookkeeping for a few settings that were earlier
moved to Global without the redirect tables being fixed up.

Change-Id: I69275db3b2636cd6ba9c8c51b88e97d8ba4b7b7d
/frameworks/base/core/java/android/provider/Settings.java
d5fe1479248fa597efc7ccb0b36df0b520bbc2a3 11-Sep-2012 Christopher Tate <ctate@google.com> Miscellaneous fixes for Settings

(1) It's okay to write literal null as a settings element value
(2) Properly convey the user handle in the put-for-user variant

Bug 7137201
Bug 7139826

Change-Id: I0ed77d65e8377f0e0580a2668f10b7167ad34928
/frameworks/base/core/java/android/provider/Settings.java
4d8fc793f044cf2c857ac72ebe51641b8e6c413d 07-Sep-2012 rich cannings <richc@google.com> Move verification settings to Settings.Global

Move Settings.Secure.PACKAGE_VERIFIER_ENABLE,
Settings.Secure.PACKAGE_VERIFIER_TIMEOUT,
Settings.Secure.PACKAGE_VERIFIER_DEFAULT_RESPONSE to
Settings.Global.PACKAGE_VERIFIER_ENABLE,
Settings.Global.PACKAGE_VERIFIER_TIMEOUT,
Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE, respectively.

Bug: 7082362
Change-Id: I21fde031a330563891c0129132f3d6369ac5e7a5
/frameworks/base/core/java/android/provider/Settings.java
9219874be99cc07660807cc5dc94b0d157ef8808 07-Sep-2012 Christopher Tate <ctate@google.com> Further fixup of migration to global settings

The Settings.System.STAY_ON_WHILE_PLUGGED element should have been
migrated to the global table, but wasn't. This CL does a couple of
things around dealing with this:

(1) Tidies up the migration tables outright, so that they correctly
reflect the intended final state

(2) Introduces the option of doing a key migration only if the element
has not yet been moved to the new table, to allow for safe retry-
-with-ignore. This will make it easy to make any future alterations
to the global vs per-user association of individual elements

(3) Migrates the STAY_ON_WHILE_PLUGGED element if it hasn't been already.

Bug 7126575

Change-Id: Ic5fa9ba45f11b09270bd5bc94c26fbbd84abc749
/frameworks/base/core/java/android/provider/Settings.java
1cf70bbf96930662cab0e699d70b62865766ff52 06-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Screen magnification - feature - framework.

This change is the initial check in of the screen magnification
feature. This feature enables magnification of the screen via
global gestures (assuming it has been enabled from settings)
to allow a low vision user to efficiently use an Android device.

Interaction model:

1. Triple tap toggles permanent screen magnification which is magnifying
the area around the location of the triple tap. One can think of the
location of the triple tap as the center of the magnified viewport.
For example, a triple tap when not magnified would magnify the screen
and leave it in a magnified state. A triple tapping when magnified would
clear magnification and leave the screen in a not magnified state.

2. Triple tap and hold would magnify the screen if not magnified and enable
viewport dragging mode until the finger goes up. One can think of this
mode as a way to move the magnified viewport since the area around the
moving finger will be magnified to fit the screen. For example, if the
screen was not magnified and the user triple taps and holds the screen
would magnify and the viewport will follow the user's finger. When the
finger goes up the screen will clear zoom out. If the same user interaction
is performed when the screen is magnified, the viewport movement will
be the same but when the finger goes up the screen will stay magnified.
In other words, the initial magnified state is sticky.

3. Pinching with any number of additional fingers when viewport dragging
is enabled, i.e. the user triple tapped and holds, would adjust the
magnification scale which will become the current default magnification
scale. The next time the user magnifies the same magnification scale
would be used.

4. When in a permanent magnified state the user can use two or more fingers
to pan the viewport. Note that in this mode the content is panned as
opposed to the viewport dragging mode in which the viewport is moved.

5. When in a permanent magnified state the user can use three or more
fingers to change the magnification scale which will become the current
default magnification scale. The next time the user magnifies the same
magnification scale would be used.

6. The magnification scale will be persisted in settings and in the cloud.

Note: Since two fingers are used to pan the content in a permanently magnified
state no other two finger gestures in touch exploration or applications
will work unless the uses zooms out to normal state where all gestures
works as expected. This is an intentional tradeoff to allow efficient
panning since in a permanently magnified state this would be the dominant
action to be performed.

Design:

1. The window manager exposes APIs for setting accessibility transformation
which is a scale and offsets for X and Y axis. The window manager queries
the window policy for which windows will not be magnified. For example,
the IME windows and the navigation bar are not magnified including windows
that are attached to them.

2. The accessibility features such a screen magnification and touch
exploration are now impemented as a sequence of transformations on the
event stream. The accessibility manager service may request each
of these features or both. The behavior of the features is not changed
based on the fact that another one is enabled.

3. The screen magnifier keeps a viewport of the content that is magnified
which is surrounded by a glow in a magnified state. Interactions outside
of the viewport are delegated directly to the application without
interpretation. For example, a triple tap on the letter 'a' of the IME
would type three letters instead of toggling magnified state. The viewport
is updated on screen rotation and on window transitions. For example,
when the IME pops up the viewport shrinks.

4. The glow around the viewport is implemented as a special type of window
that does not take input focus, cannot be touched, is laid out in the
screen coordiates with width and height matching these of the screen.
When the magnified region changes the root view of the window draws the
hightlight but the size of the window does not change - unless a rotation
happens. All changes in the viewport size or showing or hiding it are
animated.

5. The viewport is encapsulated in a class that knows how to show,
hide, and resize the viewport - potentially animating that.
This class uses the new animation framework for animations.

6. The magnification is handled by a magnification controller that
keeps track of the current trnasformation to be applied to the screen
content and the desired such. If these two are not the same it is
responsibility of the magnification controller to reconcile them by
potentially animating the transition from one to the other.

7. A dipslay content observer wathces for winodw transitions, screen
rotations, and when a rectange on the screen has been reqeusted. This
class is responsible for handling interesting state changes such
as changing the viewport bounds on IME pop up or screen rotation,
panning the content to make a requested rectangle visible on the
screen, etc.

8. To implement viewport updates the window manger was updated with APIs
to watch for window transitions and when a rectangle has been requested
on the screen. These APIs are protected by a signature level permission.
Also a parcelable and poolable window info class has been added with
APIs for getting the window info given the window token. This enables
getting some useful information about a window. There APIs are also
signature protected.

bug:6795382

Change-Id: Iec93da8bf6376beebbd4f5167ab7723dc7d9bd00
/frameworks/base/core/java/android/provider/Settings.java
06efb530a479ea12398c1b3ee4b80e2ac85a1680 25-Aug-2012 Christopher Tate <ctate@google.com> Per-user settings

Each user has its own Settings.System.* and Settings.Secure.* namespace now. In
addition, this CL introduces the new Settings.Global.* namespace, which contains
a number of previously-elsewhere named settings entities; these Global.* entities
are common to all users. Because these elements have been moved from their prior
existence in the other namespaces, attempts to access them under their old names
and namespaces are detected and redirected (with appropriate compile-time and
logging messages) to their new homes.

The new Global.* namespace can only be written by system-level code, just like
the existing Secure.* namespace. If an app attempts to write a key that was
previously in the System.* namespace but has been moved to the Global.* namespace,
then a warning is logged and no write is performed; the action is a no-op. (The
app is explicitly not crashed, to avoid breaking well-behaved apps that can't
know any better.)

There is also now a hidden API for getting/setting settings entities associated
with a user other than the caller's. Reading/writing data for a user other than
yourself requires the signature-level INTERACT_ACROSS_USERS_FULL permission.

Manipulating data for a different user cannot be done via the ContentProvider
query() / insert() APIs; you must use the Settings.get/put APIs for that degree
of control. In general, use of the get/set API is *strongly* preferred over
query-type access to Settings.

Bug 6985398

Change-Id: Ibee54ddff99fb847c8c2479c23b50f1e7524d724
/frameworks/base/core/java/android/provider/Settings.java
16e119e798cd1e6dd94114bc910b2c1fd92b88e5 06-Sep-2012 rich cannings <richc@google.com> Add secure setting for package verification

Framework changes to store and read a secure setting for package verification.
Default is on/true.

This setting will be turned on/off via the Settings app.

Bug: 7082362
Change-Id: I6f93d3136add8af0dbbdc664f0473c5f5b7e3fee
/frameworks/base/core/java/android/provider/Settings.java
bd6e1500aedc5461e832f69e76341bff0e55fa2b 28-Aug-2012 Jeff Brown <jeffbrown@google.com> Add initial multi-display support.

Split the DisplayManager into two parts. One part is bound
to a Context and takes care of Display compatibility and
caching Display objects on behalf of the Context. The other
part is global and takes care of communicating with the
DisplayManagerService, handling callbacks, and caching
DisplayInfo objects on behalf of the process.

Implemented support for enumerating Displays and getting
callbacks when displays are added, removed or changed.

Elaborated the roles of DisplayManagerService, DisplayAdapter,
and DisplayDevice. We now support having multiple display
adapters registered, each of which can register multiple display
devices and configure them dynamically.

Added an OverlayDisplayAdapter which is used to simulate
secondary displays by means of overlay windows. Different
configurations of overlays can be selected using a new
setting in the Developer Settings panel. The overlays can
be repositioned and resized by the user for convenience.

At the moment, all displays are mirrors of display 0 and
no display transformations are applied. This will be improved
in future patches.

Refactored the way that the window manager creates its threads.
The OverlayDisplayAdapter needs to be able to use hardware
acceleration so it must share the same UI thread as the Keyguard
and window manager policy. We now handle this explicitly as
part of starting up the system server. This puts us in a
better position to consider how we might want to share (or not
share) Loopers among components.

Overlay displays are disabled when in safe mode or in only-core
mode to reduce the number of dependencies started in these modes.

Change-Id: Ic2a661d5448dde01b095ab150697cb6791d69bb5
/frameworks/base/core/java/android/provider/Settings.java
da6da0907b28d4704aabbdb1bbeb4300954670d1 16-Aug-2012 Irfan Sheriff <isheriff@google.com> Captive portal handling

We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.

Also, moved out captive portal handling out of wifi as a seperate component.

Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
/frameworks/base/core/java/android/provider/Settings.java
1a868b7981ca5f52e893fdf9f8f538c9d5ce241d 22-Aug-2012 John Spurlock <jspurlock@google.com> Add framework support for multiple dreams.

Bug:7028665
Change-Id: I4fba6b8e39dc07af4490c621ac3bc7b3867371b2
/frameworks/base/core/java/android/provider/Settings.java
37a37f445cbcd64376af153dd79ea2a123d9405d 15-Aug-2012 Brian Muramatsu <btmura@google.com> add wireless charger support

bug: 6879638

- add new enum value BATTERY_PLUGGED_WIRELESS
- check for sys online file with contents "Wireless"

Change-Id: I22dc3c40f50573c98643e7b5cbcb237d0216530d
/frameworks/base/core/java/android/provider/Settings.java
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
/frameworks/base/core/java/android/provider/Settings.java
9630704ed3b265f008a8f64ec60a33cf9dcd3345 28-Jul-2012 Jeff Brown <jeffbrown@google.com> Power manager rewrite.

The major goal of this rewrite is to make it easier to implement
power management policies correctly. According, the new
implementation primarily uses state-based rather than event-based
triggers for applying changes to the current power state.

For example, when an application requests that the proximity
sensor be used to manage the screen state (by way of a wake lock),
the power manager makes note of the fact that the set of
wake locks changed. Then it executes a common update function
that recalculates the entire state, first looking at wake locks,
then considering user activity, and eventually determining whether
the screen should be turned on or off. At this point it may
make a request to a component called the DisplayPowerController
to asynchronously update the display's powe state. Likewise,
DisplayPowerController makes note of the updated power request
and schedules its own update function to figure out what needs
to be changed.

The big benefit of this approach is that it's easy to mutate
multiple properties of the power state simultaneously then
apply their joint effects together all at once. Transitions
between states are detected and resolved by the update in
a consistent manner.

The new power manager service has is implemented as a set of
loosely coupled components. For the most part, information
only flows one way through these components (by issuing a
request to that component) although some components support
sending a message back to indicate when the work has been
completed. For example, the DisplayPowerController posts
a callback runnable asynchronously to tell the PowerManagerService
when the display is ready. An important feature of this
approach is that each component neatly encapsulates its
state and maintains its own invariants. Moreover, we do
not need to worry about deadlocks or awkward mutual exclusion
semantics because most of the requests are asynchronous.

The benefits of this design are especially apparent in
the implementation of the screen on / off and brightness
control animations which are able to take advantage of
framework features like properties, ObjectAnimator
and Choreographer.

The screen on / off animation is now the responsibility
of the power manager (instead of surface flinger). This change
makes it much easier to ensure that the animation is properly
coordinated with other power state changes and eliminates
the cause of race conditions in the older implementation.

The because of the userActivity() function has been changed
so that it never wakes the device from sleep. This change
removes ambiguity around forcing or disabling user activity
for various purposes. To wake the device, use wakeUp().
To put it to sleep, use goToSleep(). Simple.

The power manager service interface and API has been significantly
simplified and consolidated. Also fixed some inconsistencies
related to how the minimum and maximum screen brightness setting
was presented in brightness control widgets and enforced behind
the scenes.

At present the following features are implemented:

- Wake locks.
- User activity.
- Wake up / go to sleep.
- Power state broadcasts.
- Battery stats and event log notifications.
- Dreams.
- Proximity screen off.
- Animated screen on / off transitions.
- Auto-dimming.
- Auto-brightness control for the screen backlight with
different timeouts for ramping up versus ramping down.
- Auto-on when plugged or unplugged.
- Stay on when plugged.
- Device administration maximum user activity timeout.
- Application controlled brightness via window manager.

The following features are not yet implemented:

- Reduced user activity timeout for the key guard.
- Reduced user activity timeout for the phone application.
- Coordinating screen on barriers with the window manager.
- Preventing auto-rotation during power state changes.
- Auto-brightness adjustment setting (feature was disabled
in previous version of the power manager service pending
an improved UI design so leaving it out for now).
- Interpolated brightness control (a proposed new scheme
for more compactly specifying auto-brightness levels
in config.xml).
- Button / keyboard backlight control.
- Change window manager to associated WorkSource with
KEEP_SCREEN_ON_FLAG wake lock instead of talking
directly to the battery stats service.
- Optionally support animating screen brightness when
turning on/off instead of playing electron beam animation
(config_animateScreenLights).

Change-Id: I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
/frameworks/base/core/java/android/provider/Settings.java
0412423f06ec633203b96f68b51f0720c33a2473 29-Jun-2012 Haoyu Bai <bhy@google.com> Setup idletimer for network interface.

Cherry-picked from commit f71ca8a5728e425de61ba794c9653dd0b04f16e3 in
master. DO NOT MERGE

Change-Id: I6101c7ae041b4cc1237ce7a9983753dbdfa301d3
/frameworks/base/core/java/android/provider/Settings.java
3fb4ba616edb114b3197936eb67f481eb86b7cae 10-Aug-2012 Irfan Sheriff <isheriff@google.com> Add control to disable suspend optimizations

Add an advanced setting that allows user to turn off power savings at screen off.

Bug: 5885175
Change-Id: I2dd013b86d7500a2ad1f9ec75d86551808f05543
/frameworks/base/core/java/android/provider/Settings.java
5773bfdb7cd3852d9fedd497e3c22c49c83d0d75 13-Jul-2012 Dianne Hackborn <hackbod@google.com> Add power menu action to take a bug report

Change-Id: I5f58d99e9a27a1fc496fa54e0c0ee333087155da
/frameworks/base/core/java/android/provider/Settings.java
dde331cebd87982faded6818ad5f9927ff994c96 03-Aug-2012 Dianne Hackborn <hackbod@google.com> We can now (kind-of) change screen density on the fly.

Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.

Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.

There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)

ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.

A new am command allows you to change the density.
/frameworks/base/core/java/android/provider/Settings.java
b2d8f3f7472a091cf062ed40a8e2f7a387525e2e 29-Jun-2012 Christopher Tate <ctate@google.com> am b69c77cd: am 1598a508: Merge "Do not back up / restore the rotation-related settings" into jb-dev

* commit 'b69c77cd194ccbe24a8b1e5d8457b44d150f9a96':
Do not back up / restore the rotation-related settings
596e1917d5fd4697e6a186db422c8221eadb580e 29-Jun-2012 Christopher Tate <ctate@google.com> Do not back up / restore the rotation-related settings

Change-Id: I4c5f8c31fa78acc1dfa2676e89b2c1c7bbd12a06
/frameworks/base/core/java/android/provider/Settings.java
1b60e7287723cc03efc4893e3bbf3b9e8ac1cba9 06-Jun-2012 Jeff Brown <jeffbrown@google.com> am eef4bc08: am 615fd3df: Merge "Implement new rotation policy." into jb-dev

* commit 'eef4bc08137f2324e2974c282992ff546df99e54':
Implement new rotation policy.
207673cdbb536b9bdd9ff7f9ce953c5485d11f5a 06-Jun-2012 Jeff Brown <jeffbrown@google.com> Implement new rotation policy.

Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
/frameworks/base/core/java/android/provider/Settings.java
2d9f96bf4584fb99f1e8f06a28a859c53ff50ea4 31-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 191e7c5a: am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev

* commit '191e7c5a4959e4c16154ade5d1ceb277ef31021e':
Ask to enable touch exploration only the first time it enables the feature.
9a4c5cd19106c3021eeead27fbc2aa05ad7d0d18 30-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Ask to enable touch exploration only the first time it enables the feature.

1. Now we are asking the user to grant permission to the service to enable
touch exploration only the first time this service is enabled. If the
service was uninstalled and then later installed we ask the user again.
This avoids the scenario in which rebooting the device or upgrading an
accessibility service leaves the device in a state in which the user
cannot interact with.

bug:6582088

Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
/frameworks/base/core/java/android/provider/Settings.java
a6cfe52eb83995b124efec5f73bcb179caadf888 22-May-2012 rich cannings <richc@google.com> Allow APKs to install when verifier times out.

When app verfication is enabled and the verifier times out, allow
PackageManagerService to continue with the installation.

Bug: 6531120
Change-Id: Ic6aef755af92588e8887c918b70fb195c683b24c
/frameworks/base/core/java/android/provider/Settings.java
787c9ec558a06bb8ebcb5a77f5268cedd218fd1b 18-May-2012 Jeff Sharkey <jsharkey@android.com> Merge "Transition from DEV network stats to XT." into jb-dev
172d97edcdfd9b228d8cf96d312b55fb67699fd4 02-May-2012 Jake Hamby <jhamby@google.com> Enable SMS short code patterns to be updated from secure settings.

The premium SMS short code detector loads patterns from an XML resource
by default (frameworks/base/core/res/res/xml/sms_short_codes.xml).
Add support for updated patterns to be loaded on a per-country basis
from a secure setting named "sms_short_codes_" + the country code.
Updated patterns can be pushed to Google devices via Gservices.

Bug: 5513975
Change-Id: Ibfc0be4f12227ba45c28396ec7cdbc307442af81
/frameworks/base/core/java/android/provider/Settings.java
70c70530bd6793869736ec894498e4ebf5dc9b20 16-May-2012 Jeff Sharkey <jsharkey@android.com> Transition from DEV network stats to XT.

When XT stats are available, transition to prefer them over DEV,
since they aren't subject to hardware driver bugs. Only switches at
the first atomic XT bucket, and adds a Settings.Secure flag to force
back to DEV if needed. Includes tests to cover transition.

Fix tests where device overlay would change which network types
reflected data usage. Test both history and summary APIs. Fixed
collection timestamps to reflect full buckets.

Bug: 6504744
Change-Id: Idd7f3b2fdb064c36547c85c51c214fd938c59b7e
/frameworks/base/core/java/android/provider/Settings.java
f53857716a0db805c51c0cae93550d90e32e4749 11-May-2012 Jeff Sharkey <jsharkey@android.com> Enforce READ_EXTERNAL through Settings.Secure.

Always defers to user-defined setting, when present.

Bug: 6389556
Change-Id: I079d2a41b772facfdac74eefc4c8072fc9284f97
/frameworks/base/core/java/android/provider/Settings.java
518a3d82f78e5089d0f99e61e46e1e915aea91ab 10-May-2012 Dianne Hackborn <hackbod@google.com> Remove auto-brightness adjustment knob.

Not yet ready for release.

Change-Id: I75bc87f35af47c6baac1f26953d8bf3e38062c92
/frameworks/base/core/java/android/provider/Settings.java
3c60eeb1332661833638c863b2978422c2846140 08-May-2012 Daisuke Miyakawa <dmiyakawa@google.com> Have a new constant for "vibrate when ringing" setting

Bug: 6036529
Change-Id: I850d27629a75615647883fdaa2933f337c4824d1
/frameworks/base/core/java/android/provider/Settings.java
bffc3d1bd33eb2d8e00a9f8b6261d815db503311 08-May-2012 Eric Laurent <elaurent@google.com> Silent and Vibrate mode clean up

Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
- presence of a vibrator on the device
- current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
VOL- and volume equals 1: NORMAL => VIBRATE
VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
VOL+ and in SILENT mode: SILENT => VIBRATE
VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
Added dump for stream volumes in AudioService.
Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
/frameworks/base/core/java/android/provider/Settings.java
2bdefcab74d4ee21ad4bc1e90b30aeb7eac589e0 26-Apr-2012 Irfan Sheriff <isheriff@google.com> Add support for changing p2p device name

Change-Id: Ie13fe2adedd0bac6aa07b3369c4d6a05ef33cd24
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
/frameworks/base/core/java/android/provider/Settings.java
3ef889bf561e59561ff2c6c4b2ffb586b9c5af5c 18-Apr-2012 Irfan Sheriff <isheriff@google.com> Add user control to turn on/off nsd

Change-Id: Ide3cc20adb21ac6dffaf6b9b9136d77a129afa3b
/frameworks/base/core/java/android/provider/Settings.java
7f6c231a76f0bedaf9655a24707737d343244312 14-Apr-2012 Jeff Brown <jeffbrown@google.com> Add setting to redirect vibrator to game controller.

Bug: 6334179
Change-Id: I70093e38824ea3e5cf9cf242d1d7b6d26115ed80
/frameworks/base/core/java/android/provider/Settings.java
7ab8c4abca2abb6a5f6d900299365371073bcfd2 06-Apr-2012 Amith Yamasani <yamasani@google.com> Fixes a bug in migration of lock settings to LockSettingsService.

Due to the code to handle backward compatibility, the migration
ended up being recursive.

Change-Id: I1c2cf4a81fbdee6a4b74cafb624625716c88cad3
/frameworks/base/core/java/android/provider/Settings.java
52c489cd63cca0361f374f7cb392018fabfa8bcc 28-Mar-2012 Amith Yamasani <yamasani@google.com> Lockscreen settings per user

Move all lockscreen related settings to LockSettingsService.
LockPatternUtils uses this through IPC instead of Secure settings.
Migrate old settings to new database managed by LockSettingsService.
Passwords and patterns are stored in a new per-user location, except
for the primary user, for backward compatibility.
KeyguardViewMediator and LockPatternKeyguardView listen for changes
to user and updates the lockscreen.

Settings provider will look for Lock settings in the LockSettings
service now for the entries that used to be stored in Settings.

Change-Id: I956cd5b95e2d9d45a6401af7e270e6a5aa2dcc98
/frameworks/base/core/java/android/provider/Settings.java
6a8096d7d56ce4c65318f283ef666993f3020745 04-Apr-2012 Justin Koh <justinkoh@google.com> resolved conflicts for merge of bff6a514 to master

Change-Id: I741d5ab8ed0ce25a27330ffb55ba210534d11c3d
57978ed86286a33d5b1a0fd000ca3406ba9d87b3 04-Apr-2012 Justin Koh <justinkoh@google.com> Persists the master mute volume setting.

Persists the master mute volume setting across reboots.

TESTED = runs on Tungsten.

Change-Id: I9628b9369ca528b22413f62a9e7d697bae61d8ac
/frameworks/base/core/java/android/provider/Settings.java
925a7d8f062c2ef275ccb7579889d6f83d0d378e 19-Mar-2012 Danielle Millett <dmillett@google.com> Added a setting for whether biometric weak liveliness is enabled.

The liveliness setting is represented by a bit in
LOCK_BIOMETRIC_WEAK_FLAGS so that more settings can be added if needed.

Change-Id: Ia6c94396d5b84de61f7eeb9a192d0aa925b13507
/frameworks/base/core/java/android/provider/Settings.java
aa6816a8a0e575059f1e417ba2bbc3c86cc879a3 09-Mar-2012 Irfan Sheriff <isheriff@google.com> Merge "Enhancements for avoiding poor connection on wifi"
4c8982ad820007512e4e9cbb7f15925228d70761 09-Mar-2012 Irfan Sheriff <isheriff@google.com> Enhancements for avoiding poor connection on wifi

- Avoid flapping
- Increase thresholds and monitor rssi more closely to detect consistently weak signal

Change-Id: I6139a20b7306839b345146a72ce690020a2e00b8
/frameworks/base/core/java/android/provider/Settings.java
e61cad321d2888f2b6b7e0322158211e3b3e0c46 08-Mar-2012 Dirk Dougherty <ddougherty@google.com> resolved conflicts for merge of 532679a5 to master

Change-Id: Id60d047c0e1f288acff97526c016cca632873b6b
cd83bf9420a7c4c25d562b197438f532ad897c90 06-Mar-2012 Dirk Dougherty <ddougherty@google.com> am 4d7bc655: Doc change: String changes for Android Market

* commit '4d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219':
Doc change: String changes for Android Market
4d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219 28-Jan-2012 Dirk Dougherty <ddougherty@google.com> Doc change: String changes for Android Market

Change-Id: I823812a4fd24021bec906ad856479c92a8d2a759
/frameworks/base/core/java/android/provider/Settings.java
07573b32494acbabd21979d8b9584c1ed3f7a6ad 28-Jan-2012 Irfan Sheriff <isheriff@google.com> Improve Wi-Fi hand-off

When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
/frameworks/base/core/java/android/provider/Settings.java
7bef73900b075fc0a9078d418964ca8e7210d565 20-Oct-2011 Mike Lockwood <lockwood@android.com> SettingsProvider: Add support for overriding lockscreen.disabled default value

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
8517e46f3d3c2ce11de09aa849a8533ffc1a2026 25-Oct-2011 Mike Lockwood <lockwood@android.com> Save and restore master volume in the settings provider

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
e7eeace594861365b4b5de08eee2cb4c0abf06b2 09-Feb-2012 Scott Main <smain@google.com> am ec12ae99: am 79cfde69: am 52bfc243: docs: fix misc doc bugs from external issue tracker

* commit 'ec12ae9933e463181338834387caa7c58b330635':
docs: fix misc doc bugs from external issue tracker
dfa926f54bc4a8a154eb5a0a928234073da7d3fd 09-Feb-2012 Scott Main <smain@google.com> am 52bfc243: docs: fix misc doc bugs from external issue tracker

* commit '52bfc243684b2f340da326aaa38e9021e4e3b2e6':
docs: fix misc doc bugs from external issue tracker
52bfc243684b2f340da326aaa38e9021e4e3b2e6 09-Feb-2012 Scott Main <smain@google.com> docs: fix misc doc bugs from external issue tracker

Change-Id: If6ff3476670e42b321d56d4a1482ccff96d4d500
/frameworks/base/core/java/android/provider/Settings.java
895f99e9ca3500ad69e9ae8d1a8f28237075c7c7 02-Feb-2012 Dianne Hackborn <hackbod@google.com> New global setting for developer options.

Change-Id: I3f60538e9f858858501c5b063b0da97675d445a6
/frameworks/base/core/java/android/provider/Settings.java
c38fa1f63674971f9ac6ced1a449fb81026b62f7 02-Feb-2012 Chet Haase <chet@google.com> 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.

This is an update to a previous CL; this approach uses the WindowManager
to store the animator scale settings, instead of SystemProperties.

Change-Id: I8295fab060aa6d597ae507ded8f9c9d6077be966
/frameworks/base/core/java/android/provider/Settings.java
2d2d7d6f42fe22ecc2b1dc8bb96a19e503a61a20 28-Jan-2012 Jeff Brown <jeffbrown@google.com> Merge "Implement a cancelation mechanism for queries."
75ea64fc54f328d37b115cfb1ded1e45c30380ed 26-Jan-2012 Jeff Brown <jeffbrown@google.com> Implement a cancelation mechanism for queries.

Added new API to enable cancelation of SQLite and content provider
queries by means of a CancelationSignal object. The application
creates a CancelationSignal object and passes it as an argument
to the query. The cancelation signal can then be used to cancel
the query while it is executing.

If the cancelation signal is raised before the query is executed,
then it is immediately terminated.

Change-Id: If2c76e9a7e56ea5e98768b6d4f225f0a1ca61c61
/frameworks/base/core/java/android/provider/Settings.java
629c6765ca21b6ef23db893a35c62eef6a2a28b6 24-Jan-2012 Jeff Sharkey <jsharkey@android.com> Merge "Move network stats to FileRotator pattern."
63abc37356728c0575d6a62a203102ae6d97953b 12-Jan-2012 Jeff Sharkey <jsharkey@android.com> Move network stats to FileRotator pattern.

Split existing network stats into two separate classes: a recorder
which generates historical data based on periodic counter snapshots,
and a collection of historical data with persistance logic.

Recorder keeps a pending history in memory until outstanding data
crosses a specific threshold. Persisting is handled through a given
FileRotator. This pattern significantly reduces disk churn and
memory overhead. Separate UID data from UID tag data, enabling a
shorter rotation cycle. Migrate existing stats into new structure.

Remove "xt" stats until iptables hooks are ready. Avoid consuming
Entry values when recording into NetworkStatsHistory. Assign
operation counts to default route interface.

Introduce "Rewriter" interface in FileRotator with methods to enable
rewriteAll(). Introduce IndentingPrintWriter to handle indenting in
dump() methods.

Bug: 5386531
Change-Id: Ibe086230a17999a197206ca62d45f266225fdff1
/frameworks/base/core/java/android/provider/Settings.java
d9ea468d6a9cb6018ce33d3dcf9db72f02773af1 21-Jan-2012 Dianne Hackborn <hackbod@google.com> New brightness setting to adjust auto-brightness mode.

Change-Id: Icfec22be99d8c79e9ff5720b80fb9dacbba36134
/frameworks/base/core/java/android/provider/Settings.java
9a03482c66b2f5c30c7fde38216239a1f233df02 05-Jan-2012 Wink Saville <wink@google.com> am 3ed28036: am c697ebfd: Merge "Enhancement on ICS data stall polling logic" into ics-mr1

* commit '3ed2803691cc271fe6b893dc46d49fca2fce61df':
Enhancement on ICS data stall polling logic
71a14a589b83af50f77d628a0d8e6ef1778dd31e 04-Jan-2012 Wink Saville <wink@google.com> am c697ebfd: Merge "Enhancement on ICS data stall polling logic" into ics-mr1

* commit 'c697ebfdd671c7f4cf338d601917de16d2f1f135':
Enhancement on ICS data stall polling logic
7efb89b955a9f885835727b758e494714ee73beb 22-Dec-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Enhancement on ICS data stall polling logic

Put enhancements on data stall polling logic in ICS so that
stall recovery can kick in earler while screen is on.

Bug: 5767897
Change-Id: I4683fc45c0161f4374749c8e5840261c19a48f77
/frameworks/base/core/java/android/provider/Settings.java
3ca5a74c17a27e44ce13b39bc2f63edaa88c3ef5 07-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Make the URL for the JavaScript based screen-reader used by WebView configurable.

The URl from which to inject a screen-reader for WebView accessiblity support should be
configurable because: 1) The accessibility engineering team should be able to point
devices to a staging build of the screen-reader; 2) We would like to be able to change
this URL via the Google services mechanism.

bug:5718543

Change-Id: I3d4d343f1c93e0e0173f04b2912949fe8a3566b9
/frameworks/base/core/java/android/provider/Settings.java
d04f28151b6b73fd70ca8a2b4b5995f6a557ce8d 07-Dec-2011 Irfan Sheriff <isheriff@google.com> am 8a4cd3b1: Merge "Disable poor network connection alone" into ics-mr1

* commit '8a4cd3b1053d92ecb34628218f303343746691f4':
Disable poor network connection alone
a188e4dc0e7a1505062fd82ea01f3f6e9a555f6b 07-Dec-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of ea25ea7e to ics-aah

Change-Id: I9d387ad2107486406f364f1cebc709126e2d27a5
bb60ee97664667c7774aa3c45b473332a3757d21 07-Dec-2011 Irfan Sheriff <isheriff@google.com> am 7c92e2dc: am 8a4cd3b1: Merge "Disable poor network connection alone" into ics-mr1

* commit '7c92e2dccb4e5cb5314455692ac32d2ccff24292':
Disable poor network connection alone
19380daaf46815c80bd89fd9ca3af3c4095952b5 06-Dec-2011 Irfan Sheriff <isheriff@google.com> Disable poor network connection alone

- Keep the walled garden detection in place

Bug: 5719771
Change-Id: I9e5d69b6d56096be904106b1db48c02db4c0fb50
/frameworks/base/core/java/android/provider/Settings.java
d5f44204578d6b3d9c3864eaed84bf453998c7cf 06-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> am 1113e755: am ea25ea7e: Merge "Adding a system preference whether to speak passwords in accessibility mode." into ics-mr1

* commit '1113e75588782cc23074b9a9bb887de06eff8a49':
Adding a system preference whether to speak passwords in accessibility mode.
55f937abe1a4fedb86c2679c66f0b5220ec3780e 05-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding a system preference whether to speak passwords in accessibility mode.

By default we do not speak passwords if the user has no headset. However,
many users find this too restrictive and would like a way to enable
password announcement. While we cannot speak the passwords all the time
,to avoid leaking them, we expose a preference so each user can choose
the option that best works for him/her.

bug:5712607

Change-Id: I6eb0c40834abe5297f7dc74be02d180a5bef0174
/frameworks/base/core/java/android/provider/Settings.java
c0fc5d81b895a0696fceeeadb76bdbaf1cb52071 01-Dec-2011 Daniel Sandler <dsandler@android.com> am 2a40d0d9: Merge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1

* commit '2a40d0d92b208021b492e9af3d944720cbf269fc':
Put screensavers back in the icebox for now. DO NOT MERGE.
d2b22a885a79d537c79e98257647cc120bde2998 30-Nov-2011 Daniel Sandler <dsandler@android.com> Put screensavers back in the icebox for now. DO NOT MERGE.

Bug: 5689684
Change-Id: I3a5291c3520bb43e35d55714f1522e4ae7f6e63c
/frameworks/base/core/java/android/provider/Settings.java
711683cd96884690b9e834198e7c756bb23ab5ad 20-Nov-2011 Daniel Sandler <dsandler@android.com> am 25a43ada: am 9b5d7a59: Merge "Dreams (now Screen Candy) development." into ics-mr1

* commit '25a43adabb70aa769a097c6cb09d71b031431677':
Dreams (now Screen Candy) development.
75d8eb2a818508d135ea0aac46db8afc54445489 20-Nov-2011 Daniel Sandler <dsandler@android.com> am 9b5d7a59: Merge "Dreams (now Screen Candy) development." into ics-mr1

* commit '9b5d7a59f336a96e73f5f485f6e366e078a70497':
Dreams (now Screen Candy) development.
2d54536d08a59680078f78bc6301379563df4c85 17-Nov-2011 Daniel Sandler <dsandler@android.com> Dreams (now Screen Candy) development.

- support for global "disable" setting
- renamed settings provider keys to remove "DREAM"

Bug: 5591015
Change-Id: I31f31b3ca6001fec1e0032a49cdf0d10df7b0ec7
/frameworks/base/core/java/android/provider/Settings.java
f0b82d61f50ab0d9bd2ab57b33bf8fabed401c73 10-Nov-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of faa81c82 to ics-aah

Change-Id: I7464f16940058cc9b5a3dba5cb839bc67129009e
fb894276b127767e610fc99cc4539c397c4e7ecc 10-Nov-2011 Tom Taylor <tomtaylor@google.com> am 0bbd151e: am faa81c82: Merge "Revert "Add new secure setting for controlling Messaging notifications"" into ics-mr1

* commit '0bbd151e1dab043226725d23f0ca26f4d09ee76f':
Revert "Add new secure setting for controlling Messaging notifications"
994da2ad3242407fd822e6b35e3d302a3667d9c3 10-Nov-2011 Tom Taylor <tomtaylor@google.com> Revert "Add new secure setting for controlling Messaging notifications"

This reverts commit 03da2f00aac04e6565a02cf5a9bf6bb1ec926930.

Committer: Tom Taylor <tomtaylor@google.com>

On branch revertsetting
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

modified: api/current.txt
modified: core/java/android/provider/Settings.java
modified: core/java/android/provider/Telephony.java
modified: packages/SettingsProvider/res/values/defaults.xml
modified: packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

We've decided not to disable messaging notifications with a secure setting.
Instead, all the work will be done within the messaging app itself.

Change-Id: Icde6894e76da1007b6026c8ec7dc56e488453c06
/frameworks/base/core/java/android/provider/Settings.java
75f9808e5544c69254ea6cf374469a3dd9042b7d 09-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> am 604019c8: Merge "Fix build." into ics-mr1

* commit '604019c8d45b8c56cf48b03dbd92cfbdd29c48c1':
Fix build.
c1b3cbe1648cc606008522a667abe7fb766ff0c3 09-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of ea54b760 to master

Change-Id: Ifcdfd6ffd82db1293936a8a3b5715dd767fb43f8
81b10fd74ecad65eb9c658cf3881c9c0254351e9 09-Nov-2011 Tom Taylor <tomtaylor@google.com> am 1366c756: Merge "Add new secure setting for controlling Messaging notifications" into ics-mr1

* commit '1366c756d28cdbb6c7c07959dfb4c93c81a9539d':
Add new secure setting for controlling Messaging notifications
a74ebb6d08e691e1b5802f40b19b27dc0bbf24d5 08-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> am 604019c8: Merge "Fix build." into ics-mr1

* commit '604019c8d45b8c56cf48b03dbd92cfbdd29c48c1':
Fix build.
604019c8d45b8c56cf48b03dbd92cfbdd29c48c1 08-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix build." into ics-mr1
b45a317b56fca32a3ae2adfca6e7803e945da581 08-Nov-2011 Robert Greenwalt <robdroid@android.com> am ea54b760: Merge "Wimax : wimax framework related open source." into ics-mr1

* commit 'ea54b7608584bc0535c9e89417778c3e95b50975':
Wimax : wimax framework related open source.
8588e47358878b7a1add2bd1df2ade95091cdb8d 08-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Fix build.

Missed a commit that fixed some issues.
bug:5237167

Change-Id: I61e44831e2c3f1cf613ca1387aa95d712b7d2ded
/frameworks/base/core/java/android/provider/Settings.java
bfc3e70662900564e795a174d14939bf1271757c 08-Nov-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of 1366c756 to ics-aah

Change-Id: I9faea6d9604f44b389acb4268941a7e5917ef1a8
ea54b7608584bc0535c9e89417778c3e95b50975 08-Nov-2011 Robert Greenwalt <robdroid@android.com> Merge "Wimax : wimax framework related open source." into ics-mr1
148c7d0de720a92632aa6ed10a39bfc38b427239 13-Oct-2011 tk.mun <tk.mun@samsung.com> Wimax : wimax framework related open source.

Integrate wimax network related changes into Android Framework.
- In Connectivity service, start wimax service.
- 4G icon display in StatusBarPolicy.
- DHCP renew add.
- Add radio for wiamx

Change-Id: I2d9012247edfdf49d71ca7e1414afd0006f330ca
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5237167
/frameworks/base/core/java/android/provider/Settings.java
03da2f00aac04e6565a02cf5a9bf6bb1ec926930 07-Nov-2011 Tom Taylor <tomtaylor@google.com> Add new secure setting for controlling Messaging notifications

Bug 5552615
We're adding a new intent to allow 3rd party apps to disable
the Messaging app's notification. We want any app to be able to query
the setting of whether sms notifications are on or off, but only allow
system apps, particularly the Messaging app, to change that setting.
Other apps can change the setting by firing off an intent which brings
up a dialog activity in the Messaging app that'll let them turn off
Messaging notifications.

Change-Id: I4d2721191b86010efb383a24c28d911496440657
/frameworks/base/core/java/android/provider/Settings.java
cc27a9394764772812dad8b05c457f5c213d529f 04-Nov-2011 Wink Saville <wink@google.com> am 8b771243: am 3d708451: Merge "Separate data stall detection and recovery from net stats." into ics-mr0

* commit '8b77124395713de5e09c9b56fac03c244513dc25':
Separate data stall detection and recovery from net stats.
1aa7dda4e2cd81331d16df1c5f463dbfe58af8cb 04-Nov-2011 Wink Saville <wink@google.com> am 8b771243: am 3d708451: Merge "Separate data stall detection and recovery from net stats." into ics-mr0

* commit '8b77124395713de5e09c9b56fac03c244513dc25':
Separate data stall detection and recovery from net stats.
2861d23d660c577c65faa7dfebd66d5b6f3f1a56 04-Nov-2011 Wink Saville <wink@google.com> Separate data stall detection and recovery from net stats.

Also use the AlarmManager instead of messages so the delays
are consistent whether sleeping or not.

Bug: 5534004
Change-Id: I24118b30214dddf8183c1200a89555d6c528e606
/frameworks/base/core/java/android/provider/Settings.java
cccf01d3e270bbf53ae6601698109ac4ef461076 31-Oct-2011 Nick Pelly <npelly@google.com> API Change: add isNdefPushEnabled() & ACTION_NFC_SETTINGS.

Modify isNdefPushEnabled() semantics slightly - true only if isNfcEnabled && NDEF push enabled.

Fix up docs.

Change-Id: Icd2df9c636ecf2d8274851bbda423f2eae7bac5f
/frameworks/base/core/java/android/provider/Settings.java
619f06444bc828c6cf5c3fa4f4a309c9497dab45 25-Oct-2011 Mike Lockwood <lockwood@android.com> Save and restore master volume in the settings provider

Change-Id: I135c48155c41735c870e3934469c47f05bd74973
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
017219ab2aec18cd25e8d2eb00563073a7976488 20-Oct-2011 Mike Lockwood <lockwood@android.com> SettingsProvider: Add support for overriding lockscreen.disabled default value

Change-Id: I88c03a01727538dde3cec1ab93ebe8a66a6768a7
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
e43185e21d343741b1d98d1024db8f9703e78553 11-Oct-2011 Dave Santoro <dsantoro@google.com> Add hidden API for pre-authorizing URIs.

This allows the contacts provider to allow a caller to pre-authorize
a URI for temporary use by another application that would not
otherwise have the special permissions necessary to access it.

Bug 5437453

Change-Id: I3bd7be7c698cac73709c2d305f1723cdcb093ec4
/frameworks/base/core/java/android/provider/Settings.java
aee2687e613787f044e3f02cc99342a1ee79a739 11-Oct-2011 Amith Yamasani <yamasani@google.com> Backup owner info as part of settings backup. DO NOT MERGE.

[Cherry pick from master]

Added these settings to the whitelist:
Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED
Settings.Secure.LOCK_SCREEN_OWNER_INFO

Bug: 5342797
Change-Id: I1bd4d04b5651b61919efd8c1b25c04acc5806f4a
/frameworks/base/core/java/android/provider/Settings.java
a571a5836cdbc71feefb13648004b8ca7fe05dfb 21-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Settings are restored in alphabetical order rather in order of dependency.

Settings were restore in alphabetical order and capturing dependency
among them required keys to be chosen in such a way that after sorting
they apprear in dependency order. Now settings are exported and restored
in the order they are declared in the arrays of settings to backup.
Hence, the order in this array will capture the dependency order.

bug:5343351

Change-Id: I93a40bcdd194943cd6f85aa18f1557d546e38274
/frameworks/base/core/java/android/provider/Settings.java
1f0b13b9d64085dd8342ba942f39b6063b6d534d 18-Sep-2011 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE: Sample atomic network stats buckets, full poll.

When sampling network stats, always use atomic buckets instead of
interpolating. Always poll iface and UID together so we distribute
into buckets equally. Move stale bucket trimming to just before
writing stats.

Bug: 5321340
Change-Id: I78a2226778a79c875f3668336e39ea24a7b4d5c4
/frameworks/base/core/java/android/provider/Settings.java
991d1b1b3f303ad247a959881b1d5b57766f678b 15-Sep-2011 Jeff Sharkey <jsharkey@android.com> Network stats flag to force complete poll.

Devices currently delay collecting UID stats during common operations
like global alerts to reduce parsing load. Here we introduce a flag
to always collect UID and iface stats together to aid debugging.

Bug: 5321340
Change-Id: Ia8e1daf1a6f9d5f5cf1f64a04b6b6766ee965ab6
/frameworks/base/core/java/android/provider/Settings.java
e90bed18cc123c0963bbcc023976fa355c16a352 30-Aug-2011 Gilles Debunne <debunne@google.com> Added an add to dictionary option in suggestions for misspelled words

Change-Id: I031f17a76b4a81ae375b778046b8c391f9b8b2b2
/frameworks/base/core/java/android/provider/Settings.java
8d3feb6292ba7e87adeb4982e8cf27114a8ee2e4 29-Aug-2011 Jeff Brown <jeffbrown@google.com> Merge "Add a "show touches" option for demos and presentations. Bug: 4569045"
daf4a127ba2af82a3fb477044b872719a0ab1827 27-Aug-2011 Jeff Brown <jeffbrown@google.com> Add a "show touches" option for demos and presentations.
Bug: 4569045

Change-Id: I8726ea292dd7def790a5e40d7d7e58968974f896
/frameworks/base/core/java/android/provider/Settings.java
978ed4693bced95f6d3261f2ed230cd776cffc99 25-Aug-2011 Narayan Kamath <narayan@google.com> Merge "Deprecate old TTS settings that are no longer in use."
a33c4fc5bed76727f1e06e522e0136101a2304cd 25-Aug-2011 satok <satok@google.com> Add functions to enable / disable spell checker

Bug: 5057977

Change-Id: I2b27bd5f55feb305368034d7e95f83257ac4b3e6
/frameworks/base/core/java/android/provider/Settings.java
6d6329621e8881683008fde201f8d5f41eabb1b1 24-Aug-2011 Narayan Kamath <narayan@google.com> Deprecate old TTS settings that are no longer in use.

These settings can never be written to by engines and apps
anyway, and reading them does not serve any useful purpose.
The only code that needs to read these settings are the framework
TTS classes.

bug:5149036
Change-Id: I1f95977d241eb6b550105f45d29fee889da3fbd1
/frameworks/base/core/java/android/provider/Settings.java
ada8c4e6a3da96a795f39a1028d448eb7aebfab3 23-Aug-2011 satok <satok@google.com> Add functions to set / get SpellCheckerSubtype

Change-Id: I977326879fe201c4dee4a87da361217175eb6041
/frameworks/base/core/java/android/provider/Settings.java
e5b8c4dfc70288f661e0da4f082dd51cc1399f86 22-Aug-2011 Narayan Kamath <narayan@google.com> Framework changes to support new TTS settings features.

Locale is now stored per engine, instead of as a global
option.

bug:5149036
Change-Id: I9848172623fe8aea1dd8e6678bca008da6a4cfb1
/frameworks/base/core/java/android/provider/Settings.java
9a20fa54c9ba4bd19f2afd6e8cc6e9954e7cb739 19-Aug-2011 Jeff Sharkey <jsharkey@android.com> Merge "Background data notification, API clean up."
3a844fcf5a0e70a19c38dc500306b9ebe4e1413b 16-Aug-2011 Jeff Sharkey <jsharkey@android.com> Background data notification, API clean up.

When restricting background data, show ongoing notification to give
easy access to re-enable. Deprecate getBackgroundDataSetting() API
to always return true, since NetworkInfo.isConnected() is new source
of truth. Handle upgrade path by reading from existing secure value,
and kick one last broadcast when changing value. Remove background
data code from ConnectivityService.

Remove warning alerts, since they push ifaces into restricted list;
should only happen when iface has limit.

Bug: 5163559, 5129421
Change-Id: I0064d9d643656a4d32aaae51d4a58bce49fe295f
/frameworks/base/core/java/android/provider/Settings.java
5ab2157bf1f105b02d3e2913cd3a33f9765b74ca 27-Jul-2011 Kenny Root <kroot@google.com> Infrastructure to support package verifier

Allow a package verifier to approve or disapprove of a package being
installed.

Change-Id: Ibfea0f2b1aaa4ab1589a4e59f96144702b9bf94b
/frameworks/base/core/java/android/provider/Settings.java
8d32a01bd24b8a0d1a98f0581b3394a78fab8242 09-Aug-2011 Nick Pelly <npelly@google.com> Add NFC to airplane mode

NFC now observes airplanes mode, and is by default toggleable in airplane mode.

Change-Id: I5f19d35422c9eb1cffb0b5e0631b3f3c5eeaedcf
/frameworks/base/core/java/android/provider/Settings.java
8dc6a1b2823f374a176fb21b8a174664a5f825fa 27-Jul-2011 Isaac Levy <ilevy@google.com> Watchdog notify on explicit connect

Notifies when user explicitly clicks on wifi dialog.

Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
/frameworks/base/core/java/android/provider/Settings.java
2b30afdbad5e79c5775ac9756f3b986268d90f1f 05-Aug-2011 Wink Saville <wink@google.com> resolved conflicts for merge of 7bb2d942 to master

Change-Id: I026b01805c81d8b26d22e4a195e5e38655a34d32
628b08530a50bddbe3d65088a8b621c0950e0c19 05-Aug-2011 Wink Saville <wink@google.com> Delay connectivity change notifications.

Because changes to the route tables take time to propagate
we add a delay when sending out change notifications. This allows
applications, such as GTalk, to create sockets without encountering
a 3 minute timeout.

Bug: 5008488
Change-Id: I0eefb03a5d6358a58ea6ae5b4f697ff302b5511d
/frameworks/base/core/java/android/provider/Settings.java
42722bfa136f5616872a2c4e199813e804621c81 22-Jul-2011 Amith Yamasani <yamasani@google.com> Volume panel changes.

Combined volume panel only in tablets. On phones show active volume.
Added dummy assets for ring+notification icon.

Deprecated the NOTIFICATION_USES_RING_VOLUME. Now they are always
tied together. Audio manager changes still required to ensure that.

Initialize all feedback sounds to true.

Change-Id: I3ad7890c9be9334eedb5f3b709a4b6995fe24638
/frameworks/base/core/java/android/provider/Settings.java
88bae17cfd3de40758c5296d15f012f06f08748a 28-Jul-2011 Isaac Levy <ilevy@google.com> Changed walled garden to better url

Now checking for walled gardens using 204 error code on
http://clients3.google.com/generate_204

Change-Id: I0a00dc8b956f35f6695d2085c9f03ce40dc7e231
/frameworks/base/core/java/android/provider/Settings.java
8cbe6e8f124456acbe8a6b8ff37aef88b0d5c6be 28-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Updating the data base upgrade/creation code for the new touch exploraion setting."
a28a16d1c2b58999d757a4cd3bc66a2f3499a2eb 28-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Updating the data base upgrade/creation code for the new touch exploraion setting.

1. Update the database creation/upgrade code to take care of the new setting
to enable touch exploration.

2. Made the tocuh exploration settings persistent to the cloud.

Change-Id: Ie24e9184b4a21869432d11d207cb6464fadbac3b
/frameworks/base/core/java/android/provider/Settings.java
9b3c83fbad86989158db27a88f872562c3973a14 28-Jul-2011 Martijn Coenen <maco@google.com> Add constant for NFC sharing settings screen.

Change-Id: Ibeea153442110542f05d1ece57a7dc6388a91fbf
/frameworks/base/core/java/android/provider/Settings.java
71f14a4e23c0b6eb60a81fd9a1be86dc441d051a 25-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Touch exploration state set to clients asynchronously and depended on talking service being enabled."
63d050034df5eedc9586e393d56444cd34681bd1 25-Jul-2011 Ben Murdoch <benm@google.com> Merge "Add a System.Secure setting for the Autofill server URL."
00aabf7d187bc05408199bd687a538b2e68bdc17 21-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration state set to clients asynchronously and depended on talking service being enabled.

1. Upon registration of an accessibility client the latter received only
the accessiiblity state and waiting for the touch exploration state
to be sent by the system in async manner. This led the very first
check of touch exploration state is checked a wrong value to be reported.
Now a state of the accessibility layer is returned to the client
upon registration.

2. Removing the dependency on talking accessibility service to be enabled
for getting into touch exploration mode. What if the user wants to use
an accessibility service that shows a dialog with the text of the touched
view?

bug:5051546

Change-Id: Ib377babb3f560929ee73bd3d8b0d277341ba23f7
/frameworks/base/core/java/android/provider/Settings.java
988323c57bd25a58f05dfa492d9b9c8ab62c5153 22-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

This CL inherits https://android-git.corp.google.com/g/112600

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2
/frameworks/base/core/java/android/provider/Settings.java
d7b3e6a39b6b2e155b24ef470023bafb3b9fa35a 21-Jul-2011 Isaac Levy <ilevy@google.com> WifiWatchdogSM notification for first wifi disable

Also moved customizable settings into Settings.Secure and
added listeners for setting changes into the state machine.

Change-Id: Ia6859c71f7edae13062685867959adc423af4643
/frameworks/base/core/java/android/provider/Settings.java
9999c1d97730e33751ae5a94331797d6850701c6 19-Jul-2011 Ben Murdoch <benm@google.com> Add a System.Secure setting for the Autofill server URL.

The Autofill server is now configured as a system setting. Add
that setting and a method to be called over JNI from the chrome
stack to retrieve it.

See also external/chromium change I3a22ae42402f52207eee2d0d9df64700cb7c9f45

Bug: 4515820
Change-Id: I0aa85c5bef834b1120baaabdc2dd2e4e607a63b6
/frameworks/base/core/java/android/provider/Settings.java
31ca854cdba31ec6ab089af743a8701a6192e07e 19-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4976176: Font size setting does not persist

Change-Id: Id58caf990bdd3aac5ea97aaba45652ffad1f678a
/frameworks/base/core/java/android/provider/Settings.java
35bfedeaba724aeadc6f6c890269cb6bf7ef42f5 15-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration separate setting and API to poll the latter state.

1. Seperated touch exploration to be a seperate setting rather being
magically enabled by the system of accessiiblity is on the there
is at leas one accessibility service that speaks enabled. Now
there is a setting for requesting touch exploration but still the
system will enabled it only if that makes sense i.e. accessibility
is on and one accessibility service that speaks is enabled.

2. Added public API for checking of touch exploration is enabled.

3. Added description attribute in accessibility service declaration
which will be shown to the user before enabling the service.

4. Added API for quick cloning of AccessibilityNodeInfo.

5. Added clone functionality to SparseArray, SparseIntArray, and
SparseBooleanArray.

bug:5034010
bug:5033928

Change-Id: Ia442edbe55c20309244061cd9d24e0545c01b54f
/frameworks/base/core/java/android/provider/Settings.java
104344e507610be42fb70c7deda3c422c543bfcb 10-Jul-2011 Jeff Sharkey <jsharkey@android.com> Cached NTP time for system services.

Uses NTP server and timeout from secure settings, or fallback to
defaults in resources. Update various system services to use cached
NTP time when fresh enough, or force updates as needed.

Bug: 4517273
Change-Id: Ie1c4c4883836013d02ca0bbd850cf8949f93b34b
/frameworks/base/core/java/android/provider/Settings.java
ee69ff4eaee9342843d5f25338288865dda2d36a 28-Jun-2011 Narayan Kamath <narayan@google.com> Make the system global search provider a user setting.

Also, modify Searchables / SearchManagerService to
honour the setting when it's set.

Change-Id: Ia63351fff4fe28ee79ac8b9e30fdb8edc43f5534
/frameworks/base/core/java/android/provider/Settings.java
0a9ee1272b59ad350cea591f931b52290a5e0998 23-Jun-2011 Jeff Sharkey <jsharkey@android.com> Enable bandwidth module from stats service.

During systemReady(), tell netd to enable bandwidth tracking module,
which is used to provide detailed stats and controls.

Change-Id: Iecfd8b17a3b90f5a817d731fbe1c71777681ed6e
/frameworks/base/core/java/android/provider/Settings.java
8969d9924c662ab4cdacc342bbdc33756db730be 22-Jun-2011 satok <satok@google.com> Revert "Create TextServiceManager and SpellCheckerService"

This reverts commit eaddb894865a804279659b4aad6364a34ab50beb.
/frameworks/base/core/java/android/provider/Settings.java
f86ee14f6a53d409489261415901c6397877ce3d 22-Jun-2011 satok <satok@google.com> Merge "Create TextServiceManager and SpellCheckerService"
c6080b3cc5dc8b3d5911399aec8df8895eeec07b 22-Jun-2011 satok <satok@google.com> Merge "Add an ongoing notification to switch IME"
7cfc0ed21a3fafabafb40b38a8589808ad1517af 20-Jun-2011 satok <satok@google.com> Add an ongoing notification to switch IME

Bug: 4671417
Change-Id: I2b9e955003c1f6703978824c947d5f322a039714
/frameworks/base/core/java/android/provider/Settings.java
eaddb894865a804279659b4aad6364a34ab50beb 01-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Ia25e7b4f308778891929e31b8cbd741f6848cce4
/frameworks/base/core/java/android/provider/Settings.java
d03fd3f004e3ba8aaa1692ee0e92e8ae171d2a04 20-Jun-2011 Jeff Sharkey <jsharkey@android.com> Persist "tagged" network stats along with UIDs.

Now stores tags other than TAG_NONE (0x0), which are useful for app
debugging. Combine UID and tag together into single long key, and
expose tag data through AIDL when requested. Change NMS to track
TAG_NONE as total UID traffic, matching the kernel definition.

Added TAG_MAX_HISTORY to control how long tag-granularity statistics
are stored; overall UID usage is still kept for UID_MAX_HISTORY. Fix
bug to trim NetworkStatsHistory outside normal polling loops to catch
non-active networks and UIDs.

Test to verify UID and tag packing, and to verify that UID traffic on
two networks are combined to match MOBILE_ALL template.

Change-Id: If0e039416d9e7f63b1a39e04cddfb1133b5a78ee
/frameworks/base/core/java/android/provider/Settings.java
1324f22d8dc1a26fe481fd33511bdae04c81ac14 13-Jun-2011 Mike Lockwood <lockwood@android.com> Settings: Remove unused USE_PTP_INTERFACE setting

Change-Id: I743b81379053caece38c19c59bc76d6cda763d45
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
39ebc2195ed16b9e955dd57f5c95212bb7b934b6 12-Jun-2011 Jeff Sharkey <jsharkey@android.com> Persist UID stats, lazy loading, resize buckets.

Persisting detailed UID stats in separate "netstats_detail.bin" file
to enable different schedules for summary and detail polling. Only
load detailed UID history on demand, since it's not needed during
boot. Add test to verify UID stats are persisted across simulated
reboot.

Move external settings into well-named interface, which is still
backed by Settings.Secure. During periodic poll events, resize any
history to match current bucket duration setting. Test to verify.

Change-Id: I6366f3583a591f8ba859b0e5987daf8cafa4e95a
/frameworks/base/core/java/android/provider/Settings.java
61ee0bbb5b87fb5c4c3dc219868d52743def3d2b 30-May-2011 Jeff Sharkey <jsharkey@android.com> UID network stats, secure settings, and random.

Collect UID-granularity network stats during regular poll event. Add
dumpsys argument to generate fake historical data for debugging, and
move stats parameters to Settings.Secure.

Change-Id: I09b36a2955dc10c697d4b9c3ff23dcb3ac37bd70
/frameworks/base/core/java/android/provider/Settings.java
5ea65d609f0c8e1e3a1dcd192c4058aa2ccf3212 06-Jun-2011 Irfan Sheriff <isheriff@google.com> Update walled garden detection logic

DNS based techniques dont always work. Some hotspots
redirect on data fetch on IP. Use a known pattern match
on URL to detect a walled garden instead.

Also, added gservices capability to turn off the feature
or change the URL & the pattern to match

Bug: 4378442
Change-Id: I78b4208d3ea3ace20069169e7c01ed769892d94d
/frameworks/base/core/java/android/provider/Settings.java
7218d830e27d81141588cd6e37f206d141a18f62 04-Jun-2011 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of ca2b552d to master

Change-Id: I2f3693a59042ac5aa2d7bcdc3a504c78dc99a18b
c8812761609e532cceb400b112ed9982149c2490 03-Jun-2011 Jeff Brown <jeffbrown@android.com> am e1718de6: Merge "Add a preference panel for mouse speed." into honeycomb-mr2

* commit 'e1718de61c20c8d401633f83589f18d2c0c652db':
Add a preference panel for mouse speed.
1a84fd1fb7a51f3fe4f8865e1cdd09f3490f696c 02-Jun-2011 Jeff Brown <jeffbrown@android.com> Add a preference panel for mouse speed.

Bug: 4124987
Change-Id: I3ce175d268a1d043cf5878481261b1049a15a149
/frameworks/base/core/java/android/provider/Settings.java
8c1132e3ceed8e1a8c696e2afe0e6fe456ccd7ef 26-May-2011 Daniel Sandler <dsandler@android.com> Merge "Framework support for Android Dreams."
2a3c67c0e99bd3d8c6c538ff323a27df19cad109 26-May-2011 Joe Onorato <joeo@google.com> am cfb046de: am 2c09a9c0: am 5520610c: Merge "Make adb shell am display-size persistent." into honeycomb-mr2

* commit 'cfb046dead49568de6f6808a697e0508ef39a3a6':
Make adb shell am display-size persistent.
2c09a9c0e960163a16ad1d06055aa6ee9635c693 25-May-2011 Joe Onorato <joeo@google.com> am 5520610c: Merge "Make adb shell am display-size persistent." into honeycomb-mr2

* commit '5520610cb2612054c5d0bcec9d031f7b71faa349':
Make adb shell am display-size persistent.
571ae90801d943a4c0c8897d1cf74c9cfe04b1ec 24-May-2011 Joe Onorato <joeo@google.com> Make adb shell am display-size persistent.

Change-Id: If3d5d18729f4e89eb7e689994deadd996fd487e9
/frameworks/base/core/java/android/provider/Settings.java
0601eb7953cbf77d92826bef3ca37e208d922de7 13-Apr-2011 Daniel Sandler <dsandler@android.com> Framework support for Android Dreams.

A Dream is an activity that is launched by the window
manager after a specified idle time. You might think of this
as a "screen saver", but with the same capacity for
interactivity as any other application.

The window manager maintains a timer (like the screen lock
timer) that is reset on userActivity; the timer is suspended
during wakelocks and when the screen is off.

When the timer elapses, the user's preferred dream module is
launched (by reading Settings.Secure.DREAM_COMPONENT, which
is configured through the Settings app UI).

Like a dock app, the user can install new dreams and a
single application package may contain multiple dream
activities. Unlike the dock mode, however, there is no
"screensaver mode" for the system to manage. This allows us
to offer the user the ability to run a dream at any time, in
addition to making the overall mechanism quite simple.

There is no public API for this facility.

There is, however, a useful/recommended base class for dream
activities in the support library (change I4559a958).

Change-Id: Ied691856f88cfa38a7aca496d015f9a595da72f2
/frameworks/base/core/java/android/provider/Settings.java
1b30d7824dcb5ab5b1cd0fde532666359d752b62 23-Apr-2011 Freeman Ng <tenorslowworm@google.com> am 1e2e390f: am 3b9089c1: new LTE prepay related values

* commit '1e2e390fc715ef0aa264f4706fabde1a157668fc':
new LTE prepay related values
3b9089c1fa6970974fa5234dfea46455811c8c7a 23-Apr-2011 Freeman Ng <tenorslowworm@google.com> new LTE prepay related values

bug: 4082355
Change-Id: Id5a8f9b8bca64d9cf6ee13b00bd32c4911e9a3fa
/frameworks/base/core/java/android/provider/Settings.java
d589fea865e90859324f00d21765fa7d7759e465 15-Apr-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2724503 Persist media button receiver across reboots

Whenever a new media button receiver is registered, save it
in the settings.

When the system audio settings are reloaded or when the
AudioService is created, the registered media button receiver
is restored.

Whenever a package is removed from the system, remove
any media button receiver from the same package that are in
the media button receiver stack. If this causes the currently
registered receiver to change (i.e. the top of the stack),
this will cause an update of the receiver stored in the
system settings.

Note that unregistering a media button receiver will not
cause the receiver saved in the settings to be updated,
this is ON PURPOSE. This is to prevent well behaved
application who unregister their receiver at the destruction
of their service, to not receive the intent after a reboot,
and to not encourage applications to never unregister
their receiver.

Change-Id: I941b777debaa56e88de93c3b03aec40331ea9ab1
/frameworks/base/core/java/android/provider/Settings.java
8e0cc73919bff3dbc94e5945a500240d080898b0 11-Apr-2011 Freeman Ng <tenorslowworm@google.com> am 2df36fd6: am b7e8a54d: Merge "Add prepaid data services URL to Secure Settings" into honeycomb-LTE

* commit '2df36fd6ec39e096327032283d058b48be19e843':
Add prepaid data services URL to Secure Settings
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/core/java/android/provider/Settings.java
96be4e01e66470c6d63bbdacc6732fc14e85a0cd 08-Apr-2011 Freeman Ng <tenorslowworm@google.com> Add prepaid data services URL to Secure Settings

This is really a Gservices value being accessed through Secure Settings

bug: 4100048
Change-Id: I6e2eb72b17594b5c8f14a6ecfc21eafeff80fa1b
/frameworks/base/core/java/android/provider/Settings.java
9cdffa1788e2f24a674f185307000946aeb3760f 07-Apr-2011 Joe Onorato <joeo@google.com> A system setting for "advanced settings."

Change-Id: I622bc5fa7e5cba41362acd3b25ed9d3f119c72a2
/frameworks/base/core/java/android/provider/Settings.java
2b7f63887e39079a52592fb4507d8daaf90e8afa 25-Mar-2011 Irfan Sheriff <isheriff@google.com> Add support for supplicant SCAN_INTERVAL

Also, allow scan interval for framework and supplicant
to be configured at build time or run time

Bug: 4144882
Change-Id: I877f4bcc872597b44d3f4da85cf2bc0f16e09444
/frameworks/base/core/java/android/provider/Settings.java
54d068ec6af0ee6d261a135400efe6816c6f5ffe 02-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> Add system wide management of core settings

bug:3505060

Since we want to have some settings that are used very frequently
by many applications (long-press timeout is one example) these should
be managed efficiently to reduce lookups from different processes
because in the case of a cache miss a disk I/O is performed. Now
the system manages such core settings and propagates them to the
application processes.

Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
/frameworks/base/core/java/android/provider/Settings.java
5e7e5ec03859788bedb16b470259ddaeb3f3216e 23-Feb-2011 Irfan Sheriff <isheriff@google.com> Remove backup of sleep policy setting

Remove backup and restore of sleep policy settings

Change-Id: I87821efcaca72e12d32fdeedd8349971d85bff2b
/frameworks/base/core/java/android/provider/Settings.java
32fc71d93dea38f984c6ce1f4183ade6d003e9ed 21-Feb-2011 Irfan Sheriff <isheriff@google.com> Do not backup wifi country code settings

Country code settings are device specific and
should not be linked to an account

Change-Id: Iead6230bfe7751a9478c45e5dca6b4ba619587b3
/frameworks/base/core/java/android/provider/Settings.java
4519f07e9c6b993fbe7a3d3df24d71d9450a54f1 23-Jan-2011 Jeff Brown <jeffbrown@google.com> New orientation listener.

The objective in this listener is to be more careful about the
signal processing to prevent spurious orientation changes
and to make all of the tweakable factors physically meaningful.

The calibration is defined in terms of time constants and
does not assume a particular discrete sampling rate. This is
useful because it allows us to change the accelerometer sampling
interval if desired without having to change the calibration.
Moreover, the accelerometer sampling interval can vary +/- 20ms
from one sample to the next even in normal circumstances.

Proposed orientation changes are weighted by confidence factors
that vary exponentially in relation to how close the device
is to the ideal orientation change posture (screen is vertical,
angle is exactly at the midpoint of the orientation quadrant,
and no external acceleration beside gravity). When not in an ideal
posture, the device takes proportionally longer to settle into a
new orientation state.

Added a little tool to plot the log output of the
WindowOrientationListener. Check the README for more information
about how to use it.

Change-Id: I787f02d03582ff26367df65eda8d9ce85c5cb343
/frameworks/base/core/java/android/provider/Settings.java
b58b5db4ba8edc075f6524df200aa8d3c678e267 21-Jan-2011 Amith Yamasani <yamasani@google.com> Merge "Set the default state of NOTIFICATIONS_USE_RING_VOLUME." into honeycomb
43dee06479d96d51e895704a9ee480232224c761 20-Jan-2011 Amith Yamasani <yamasani@google.com> Set the default state of NOTIFICATIONS_USE_RING_VOLUME.

Bug: 3365600

This doesn't affect upgrades, only new installs.

Don't backup/restore NOTIFICATIONS_USE_RING_VOLUME anymore as it doesn't
work well across device types and can wedge the device into a state
where you can never hear notification sounds.

Change-Id: I703e1db539eb4ac45b273f46ada0b4bbf3b981bb
/frameworks/base/core/java/android/provider/Settings.java
2548020c364c4119d134c84cc7a00ffca2dcbe7b 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Add android.provider.Settings.EXTRA_INPUT_METHOD_ID

Change-Id: Iecb7a9c265cafe96e7eec099341133da8e966f6f
/frameworks/base/core/java/android/provider/Settings.java
f49688fa17b70313c0734f00df73bc3308a749e9 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS

Change-Id: I27c318777355991ae4ad72d0b2480e93c8c5044e
/frameworks/base/core/java/android/provider/Settings.java
247fe74c934cb3fba85aae7e051a8044f460fb11 09-Jan-2011 Dianne Hackborn <hackbod@google.com> Implement issue # 3255887 could CursorLoader offer...

...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
/frameworks/base/core/java/android/provider/Settings.java
5c58dfcf7dbc87b1f0904cccf2697ab6854a89bf 14-Dec-2010 satok <satok@google.com> Add a Setting preference "INPUT_METHOD_SELECTOR_VISIBILITY"

Bug: 3142286

Change-Id: I7d30c781a20863b974b496282bbd8b1ba65d72ac
/frameworks/base/core/java/android/provider/Settings.java
e1d4698ffd8dfa212a733339edf9a75d0cbf8da6 07-Dec-2010 Brian Muramatsu <btmura@google.com> Fix Settings getFloat Methods

Don't pass null to Float.parseFloat, because that throws a NPE.
Check for null and throw SettingNotFoundException to fulfill
what the JavaDoc says.

Change-Id: Iff742fb3c15be6e02f29b9dda9197dc05a867924
/frameworks/base/core/java/android/provider/Settings.java
d7ad0d28372bba03a3b6c5d01e0e7b0066e51374 03-Dec-2010 Brad Fitzpatrick <bradfitz@android.com> sampling profiler hz -> ms

Goes along with def41ec2e8 / Ifcfc343

Change-Id: Ia5cc90e6f8d83dcdf40802859002507980310d06
/frameworks/base/core/java/android/provider/Settings.java
804043193a46a79a8616fd7696fb781edb80b519 20-Nov-2010 Wink Saville <wink@google.com> Remove pingtest in GsmDataConnectionTracker.

The pingtest have been disabled since petit-four and ping's use is
being deprecated. Removing the ping test code, if needed use
InetAddress.isReachable instead.

bug: 1824738
Change-Id: I42b3de85b67b82dc6389e7a2234afa7b1d687209
/frameworks/base/core/java/android/provider/Settings.java
434203a277cd2f237a71508a3d5a7d1602126cd5 12-Oct-2010 Robert Greenwalt <rgreenwalt@google.com> Notify all VMs when proxy changes.

bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
/frameworks/base/core/java/android/provider/Settings.java
723a27ef3d7c94fc666abc52e0abd5e8526acb69 11-Nov-2010 satok <satok@google.com> Save the history of InputMethodSubtype for reverting the subtype when IME was changed.

- Re-revert the change https://android-git.corp.google.com/g/#q,78962,n,z
*** If you want to see the diff between reverted change and new change, please see the diff between patch set 1 and the latest patch set

- TODO: Add a public function "switchToLastInputMethod"

Change-Id: Ic85d54b3b68e47a22360acaeb81202a366a34586
/frameworks/base/core/java/android/provider/Settings.java
0ba75bb22c2992f649ee5f7605a2b45442ad4862 09-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Revert "Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed."

This reverts commit 1ab852fbcfe155c9d4373b7130f8515591669634.
/frameworks/base/core/java/android/provider/Settings.java
1ab852fbcfe155c9d4373b7130f8515591669634 05-Nov-2010 satok <satok@google.com> Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed.

Change-Id: I66752a881726c0ce2816a9d54de60fb0d992e968
/frameworks/base/core/java/android/provider/Settings.java
36f7413dabfab50699135019ba55151e9227f59d 05-Nov-2010 Irfan Sheriff <isheriff@google.com> add frequency band control API

Change-Id: I6cc6cdef27d493d4ef76cec17fdca7e49d9dc8d7
/frameworks/base/core/java/android/provider/Settings.java
b73617de462579f7c12c25a4c2747c576f00f6a2 17-Aug-2010 Daniel Sandler <dsandler@google.com> Rotation lock.

IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
/frameworks/base/core/java/android/provider/Settings.java
ed4f28b492da3ff140bbaabbbda798a08c40ea5b 30-Oct-2010 Irfan Sheriff <isheriff@google.com> Set country code in the driver and remove channel set

With dual band support, using country code
settings is the way to go

Bug: 2936741
Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
/frameworks/base/core/java/android/provider/Settings.java
24abb66c85373156ce83211b552127344bd38c05 21-Sep-2010 Bjorn Bringert <bringert@android.com> Deprecate Settings.System.SHOW_WEB_SUGGESTIONS

In earlier Android versions, Quick Search Box set this setting,
and the browser and QSB read it. Now the Browser has stopped
using it, and QSB has been unbundled and removed from the system
settings UI.

Applications that show web suggestions should have their own settings
to control it instead.

Bug: 3021480
Change-Id: I4e62bf26944287f804e50eb93843484a0356fffb
/frameworks/base/core/java/android/provider/Settings.java
86417ea3f8041481a085823a1aa9f66d747231e8 27-Oct-2010 satok <satok@google.com> Remove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER

Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f
/frameworks/base/core/java/android/provider/Settings.java
886fd91833e1f5c6ec882baf2ed5e02078911c63 21-Oct-2010 Nick Pelly <npelly@google.com> am c0e93a84: am 7ea5c45e: NFC settings cleanup.

Merge commit 'c0e93a849f82c97b847c9ad39b18e594f3bb3f5a'

* commit 'c0e93a849f82c97b847c9ad39b18e594f3bb3f5a':
NFC settings cleanup.
c0e93a849f82c97b847c9ad39b18e594f3bb3f5a 21-Oct-2010 Nick Pelly <npelly@google.com> am 7ea5c45e: NFC settings cleanup.

Merge commit '7ea5c45e8d89f59065f088d4e11cceeeed9d64d1' into gingerbread-plus-aosp

* commit '7ea5c45e8d89f59065f088d4e11cceeeed9d64d1':
NFC settings cleanup.
7ea5c45e8d89f59065f088d4e11cceeeed9d64d1 21-Oct-2010 Nick Pelly <npelly@google.com> NFC settings cleanup.

Remove NFC settings from Settings.System. The NFC Service tracks them
internally using SharedPreference.

Revert back to enable()/disable()/isEnabled() - Tag discovery is the
only functionality NFC service performs right now so we don't need to
break it up more explicitly yet. enable/disable is the global NFC
on/off and later we'll add enableDiscovery(), enableTagEmulation(),
enableSecureElement() etc as needed.

Change-Id: Id5b23e89d4a29511835f509962842452075e56cb
Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/java/android/provider/Settings.java
4f5f7c968339a83b6af98ac8893a1ac33c7aa7bc 15-Oct-2010 Irfan Sheriff <isheriff@google.com> Fix wake and scan behavior

- Add wakelock for driver start/stop to ensure a wifilock
acquisition kick starts driver. Also cleaned up state machine
driver start/stop behavior.
- Add periodic scans when driver is started to ensure wifi
reconnections when wifilock exists or when user chooses
never to sleep
- some minor clean up

Change-Id: I844eb70491d5aa2f8c8933b3d8dd01ba237ee534
/frameworks/base/core/java/android/provider/Settings.java
253a5ef88638037ec986bfd6c88bf36dc5e7d471 14-Oct-2010 Jim Miller <jaggies@google.com> Fix 3024528: Add owner info to SecureSettings.

Change-Id: Ibed62aa8881c795f0d48007fc04beac0e9c1d4a0
/frameworks/base/core/java/android/provider/Settings.java
4715bd91f5949a1919156a5a5cb50f0cccda645e 29-Sep-2010 Nick Pelly <npelly@google.com> resolved conflicts for merge of f4c3b7e9 to master

Change-Id: Idcdc521144f3072058b2bb6cb383e42c852e64f4
f4c3b7e916b417fabb468ec0a565dc79cd7ba2b3 29-Sep-2010 Nick Pelly <npelly@google.com> am 038cabe0: NFC integration

Merge commit '038cabe0247ee46df62f9363f1a303bc5b9c1028' into gingerbread-plus-aosp

* commit '038cabe0247ee46df62f9363f1a303bc5b9c1028':
NFC integration
038cabe0247ee46df62f9363f1a303bc5b9c1028 24-Sep-2010 Nick Pelly <npelly@google.com> NFC integration

Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Conflicts:

core/java/android/app/ApplicationContext.java
core/java/android/provider/Settings.java
core/jni/Android.mk
core/jni/AndroidRuntime.cpp
core/res/AndroidManifest.xml
include/utils/Asset.h

Change-Id: I62c92f4c79f5ee65126c97602f6bc1c15794e573
Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/java/android/provider/Settings.java
4d5a8b55873dc9818fa00c0daba214710421b794 28-Sep-2010 Winson Chung <winsonc@google.com> am 55ee8f93: am 44e8ff99: Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.

Merge commit '55ee8f9329b4e99427dddc692e3d8ff10d9c9eef'

* commit '55ee8f9329b4e99427dddc692e3d8ff10d9c9eef':
Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.
55ee8f9329b4e99427dddc692e3d8ff10d9c9eef 28-Sep-2010 Winson Chung <winsonc@google.com> am 44e8ff99: Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.

Merge commit '44e8ff9924db43ee2470d868ce31b1c039c99b35' into gingerbread-plus-aosp

* commit '44e8ff9924db43ee2470d868ce31b1c039c99b35':
Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.
44e8ff9924db43ee2470d868ce31b1c039c99b35 27-Sep-2010 Winson Chung <winsonc@google.com> Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.

Change-Id: I15a78a5c5a18b041b1cc4a7500bd3ceccd780ea9
/frameworks/base/core/java/android/provider/Settings.java
ab751aa085433e9f735d2e7603459c6c7e9d2fb0 14-Sep-2010 satok <satok@google.com> Add methods for managing subtypes

- added showInputMethodSubtypePicker to public API
-- show the selector dialog for subtypes
- added getter, setter and event handler to InputMethodManagerService
- extract InputMethodSubtype to the top level class for using it in aidl
- TODO: make an enabler for input method subtypes
- TODO: handle the event of changing an input method subtype in LatinIME

Change-Id: I49f8c6675ac4b06511635d14a37bd398738eff33
/frameworks/base/core/java/android/provider/Settings.java
ad450be78bb99a965b6aeb7cec04f865da59f052 17-Sep-2010 Amith Yamasani <yamasani@google.com> Add an AUTO_TIME_ZONE setting so that we can switch timezones while keeping correct time.

Have the NITZ provider honor the new setting before updating the time zone.
/frameworks/base/core/java/android/provider/Settings.java
7dda67a8a18e6e06af4be6942ac95f05c6e33d08 21-Sep-2010 Steve Howard <showard@google.com> am f1166513: am ff0ea5ea: Merge "Support for download manager "queue for wifi" dialogs" into gingerbread

Merge commit 'f1166513f596c4ffad41429b10ba1d20c65f6d6c'

* commit 'f1166513f596c4ffad41429b10ba1d20c65f6d6c':
Support for download manager "queue for wifi" dialogs
f1166513f596c4ffad41429b10ba1d20c65f6d6c 21-Sep-2010 Steve Howard <showard@google.com> am ff0ea5ea: Merge "Support for download manager "queue for wifi" dialogs" into gingerbread

Merge commit 'ff0ea5eaf13198d6d752bcfbcf8e1c96f568102f' into gingerbread-plus-aosp

* commit 'ff0ea5eaf13198d6d752bcfbcf8e1c96f568102f':
Support for download manager "queue for wifi" dialogs
f176681ecc19f3bffa3d9cb00b3460cf5a128d28 18-Sep-2010 Steve Howard <showard@google.com> Support for download manager "queue for wifi" dialogs

New DB column and new secure setting for recommended max download size
over mobile.

Change-Id: If87acda62140ad6d8f923a000a5ff9232021e1a3
/frameworks/base/core/java/android/provider/Settings.java
31b62322bfa9470d648fbfd69510e03da29b29af 30-Aug-2010 Irfan Sheriff <isheriff@google.com> Add per network static IP settings

Remove the existing global static IP settings and add support
for per network configuration

Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
/frameworks/base/core/java/android/provider/Settings.java
585f13f8dec4cbf55b3bc04d95425d647f0577b2 10-Aug-2010 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for WebViews

Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
/frameworks/base/core/java/android/provider/Settings.java
42a5ed2015461126bd012d6f8f3e1311e5721807 12-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 171c83f4 to master

Change-Id: I56a4c1838b17cf40d96763f95df3c84fc86359eb
171c83f47ddf01792371e1eb7587a99b2f192575 12-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> am 11fe181e: Add faster TextUtil function for searching delimited lists.

Merge commit '11fe181e16501103d7c0f70344661ea2ef5d3df9' into gingerbread-plus-aosp

* commit '11fe181e16501103d7c0f70344661ea2ef5d3df9':
Add faster TextUtil function for searching delimited lists.
11fe181e16501103d7c0f70344661ea2ef5d3df9 11-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> Add faster TextUtil function for searching delimited lists.

The previous version in Settings allocated memory.

Change-Id: I0f821112dc8f830689489f201ce268195f9e6cbd
/frameworks/base/core/java/android/provider/Settings.java
ca4306c976d393c3cd04270bc2de0af2f4f30fa5 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of ec52c98d to master

Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed
ec52c98d441aa592a203f547c0edec79c25bf28e 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> am 0727a865: Merge "Add network condition reporting." into gingerbread

Merge commit '0727a865d83b944c2fecc0bf1228a36976fe5300' into gingerbread-plus-aosp

* commit '0727a865d83b944c2fecc0bf1228a36976fe5300':
Add network condition reporting.
d7085fcf6567452a9d6fc69b0c6b1bf556f4c1b9 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Add network condition reporting.

Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons. Final icons TBD.

bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654
/frameworks/base/core/java/android/provider/Settings.java
94bf9431e5464c7757890abfe0716997151f153f 08-Sep-2010 Jake Hamby <jhamby@google.com> am e7578344: am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

Merge commit 'e75783440a55fb0a5ef75066be94a11898f652f0'

* commit 'e75783440a55fb0a5ef75066be94a11898f652f0':
Allow incoming SMS until internal storage is almost full.
e75783440a55fb0a5ef75066be94a11898f652f0 08-Sep-2010 Jake Hamby <jhamby@google.com> am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

Merge commit '5872e9d7f31e5a4c5f3d871dba02b6d72a7ada78' into gingerbread-plus-aosp

* commit '5872e9d7f31e5a4c5f3d871dba02b6d72a7ada78':
Allow incoming SMS until internal storage is almost full.
bb3716332321e22537a5015be13e2229fb9b90bc 24-Aug-2010 Jake Hamby <jhamby@google.com> Allow incoming SMS until internal storage is almost full.

Fix for bug 2382830: new incoming SMS should not be rejected when
running low on internal phone storage.

Testing revealed that the /data partition should have at least 256 KiB
available in order to prevent random app crashes (including system apps)
due to SQLite transaction failures. With 256 KiB free, the device should
safely boot without storage full errors. This takes into account the
36-40 KiB that the YAFFS2 filesystem reports as available even after
the partition has been completely filled. I've set the default full
threshold to 1 MiB to provide a generous safety margin.

For this bug, I changed the DeviceStorageMonitorService demon to send
two new hidden notifications for device storage "full" and "not full",
when the free space falls below the full threshold (default 1 MiB,
but configurable as a system setting), in addition to the existing
storage low/okay notifications sent when the storage crosses the threshold
of 90% full (also configurable).

The SMS code was changed to use these new notifications so that it can
accept messages until the data partition has been filled to the maximum
safe capacity rather than stopping when it hits 90% full. There should
be no negative impact on battery life because the additional check in
the storage polling service should be offset by an optimization to cache
the free threshold values which were previously being computed every time
through the loop.

While testing this change, I discovered that SMSDispatcher was being
instantiated twice, the first time in GSMPhone/CDMAPhone, and the second
time in SimSmsInterfaceManager / RuimSmsInterfaceManager. Changed the code
to pass the original SMSDispatcher to the Sim/RuimSmsInterfaceManager
constructor.

Change-Id: Ie0c6d05294778ab6ee42e0fa01313af96d824c77
/frameworks/base/core/java/android/provider/Settings.java
bc4603b0b1f1242387655274e39649882ca391d1 31-Aug-2010 Jim Miller <jaggies@google.com> Fix 2579224: Add a separate timeout for lockscreen vs display

This change adds a second timeout to the SecuritySettings page
separate from the standard display timeout.

Change-Id: I41fe10e31688308f52695ad3ee30a4b0507112bd
/frameworks/base/core/java/android/provider/Settings.java
e90aa5e97e3a5502a8334ed6ceb98305f6e01361 01-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Add a default dns entry if none is provided

Fixes part of emulator which isn't telling us about dns servers.
Gets some stuff running, but browser is still broken.

bug:2961703
Change-Id: I53b946eba434aca1bb524c2acaf77922377948d1
/frameworks/base/core/java/android/provider/Settings.java
dbecc24a4ed4e9c24fc03db19038ee45cf7a0b1d 01-Sep-2010 Chung-yih Wang <cywang@google.com> resolved conflicts for merge of a329aef4 to master

Change-Id: I5a64ee2b6adc56a7521d2e55a72e519a284d5a7c
a329aef43f1d059cb58d1987fd20b63b8b76c43d 01-Sep-2010 Chung-yih Wang <cywang@google.com> am 042e9bd9: Add SIP related settings in the Settings.System.

Merge commit '042e9bd989d9c78e23ed29011b6532743f510625' into gingerbread-plus-aosp

* commit '042e9bd989d9c78e23ed29011b6532743f510625':
Add SIP related settings in the Settings.System.
042e9bd989d9c78e23ed29011b6532743f510625 31-Aug-2010 Chung-yih Wang <cywang@google.com> Add SIP related settings in the Settings.System.

Change-Id: I00b6daee42fa59b662a380f832f76e67ca9402bc
/frameworks/base/core/java/android/provider/Settings.java
eabe8bfaf8c45289a4cfd880f4107d1a9b17e38b 31-Aug-2010 Mike Lockwood <lockwood@android.com> Add settings option for running MTP server in PTP mode.

This can be used as a compatibility workaround for host operating systems
without MTP support.

Change-Id: If4f1856206056ca8e40c3ffbfa382f185c413598
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
c7ad9fa08011be920f3636cb93bf75a0af13ea14 04-Aug-2010 Steve Howard <showard@google.com> am 80782220: am 14805b6c: Merge "New secure setting for mobile download size limit." into gingerbread

Merge commit '80782220708fdc8575502ac68c884ddab5c78ac2'

* commit '80782220708fdc8575502ac68c884ddab5c78ac2':
New secure setting for mobile download size limit.
80782220708fdc8575502ac68c884ddab5c78ac2 03-Aug-2010 Steve Howard <showard@google.com> am 14805b6c: Merge "New secure setting for mobile download size limit." into gingerbread

Merge commit '14805b6c1ff0fe5324d05ba1dd5053cdf61459b7' into gingerbread-plus-aosp

* commit '14805b6c1ff0fe5324d05ba1dd5053cdf61459b7':
New secure setting for mobile download size limit.
9c4e33e04a0202f2207d1c738a045effb490b99f 29-Jul-2010 Steve Howard <showard@google.com> New secure setting for mobile download size limit.

Change-Id: I0024d632721f59349e211c0b74dd7271423dacd5
/frameworks/base/core/java/android/provider/Settings.java
16fb7910fd3a86780edf4e65b529542ae95c26cd 02-Aug-2010 Oscar Montemayor <oam@google.com> Global Proxy changes to proxy class.

Change-Id: Ib2da33670b1da33c0b35b60f4fcbd0bc084e616a
/frameworks/base/core/java/android/provider/Settings.java
3b9f0a33a110d01e587ffd5ec7708af68723ad4b 21-Jun-2010 Jean-Baptiste Queru <jbq@google.com> Recover a handful of commits that were reverted earlier
/frameworks/base/core/java/android/provider/Settings.java
6c9a30045b1e6b9ef5d756e0a9657576c546c9bd 21-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
545e6708adda6859932b55fd824794b1401f5318 04-Jun-2010 Jaikumar Ganesh <jaikumar@google.com> HID profile.

Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
/frameworks/base/core/java/android/provider/Settings.java
4138677a72a6ebba3312cc0d32593d11f7a252e1 15-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I405069e9495e43fdcdedc41efce77d43a291272c
e6af73e18eaa1303a1499b6ec240afd953a92607 25-May-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced deprecated Inten.toURI method

Change-Id: Iff3200294edbc1cac188502219bfe481133a5d8e
/frameworks/base/core/java/android/provider/Settings.java
bde75706592c77379fb6546283e733abaca6fe04 28-May-2010 Sen Hu <senhu@google.com> wire up sampling profiler to dropbox

When system property "persist.sys.profiler_hz" > 0, SamplingProfilerService is
loaded to SystemServer. It creates a FileObserver, watching any new file in the snapshot
directory. When a snapshot is found, it is put in dropbox and deleted after that.

SamplingProfilerIntegration writes snapshots with headers. Headers are <name, value> pairs,
instantiated by caller.

Currently header format is (also in source comment):

Version: <version number of profiler>\n
Process: <process name>\n
Package: <package name, if exists>\n
Package-Version: <version number of the package, if exists>\n
Build: <fingerprint>\n
\n
<the actual snapshot content begins here...>

BUG=2732642

Change-Id: I2c1699f1728e603de13dbd38f9d8443cd3eecc06
/frameworks/base/core/java/android/provider/Settings.java
e377032899fd7a9f88ad1313847e77c098b9f248 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 864c68ea: merge from froyo-plus-aosp

Merge commit '864c68ea452baa0f4f298faf2155af45a9b6d60c'

* commit '864c68ea452baa0f4f298faf2155af45a9b6d60c':
Added an addAll to the ArrayAdapter
WLAN: Reset power save mode to startup value after DHCP response.
Add PageUp and PageDown hot keys
Should accept "application/vnd.wap.multipart.alternative" message.
replaced deprecated getIntent with parseURI
864c68ea452baa0f4f298faf2155af45a9b6d60c 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
d7b814188df4765e42a34ce94182ef5021ef8f16 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ica77cebdbb8880345faeb1ee819f51b0b7ff7a0c
f8a450f62dc408b9051f494ae41d222467bc202b 07-Jun-2010 Dianne Hackborn <hackbod@google.com> am 7d75a66c: am b7bb3b3d: Fix bug in reporting a processes\'s dependent component.
b7bb3b3df6cb3743ee43b71455d9525762e55b45 07-Jun-2010 Dianne Hackborn <hackbod@google.com> Fix bug in reporting a processes's dependent component.

Also add new action to show an app's details.

Change-Id: I6ad3b3ac8462f5acf726ce76130882a262adff92
/frameworks/base/core/java/android/provider/Settings.java
05fefe62eedda9a694aee056ef34e0a01288fd58 06-Jun-2010 Robert Greenwalt <robdroid@android.com> am 1bdb78c1: am 9c4ed139: am f9610b38: Merge "Make the DUN apn data secure." into froyo
77b32ddbbeeb13a07b16f23af705567c75a8e3df 04-Jun-2010 Robert Greenwalt <robdroid@android.com> Make the DUN apn data secure.

Rather than come out of the user-modifiable APN DB, the DUN APN data will
come first from a built-in resource and then potentially overriden by a secure
setting (which is gservices upgradable).

Also made the "require-dun" setting secure-setting overridable.
bug:2736390

Change-Id: I1e4644c3839f06c977b83797641f3948785146a2
/frameworks/base/core/java/android/provider/Settings.java
d1c3ea6a2116156629a1a3eaee64d0181e4f52c8 26-May-2010 Robert Greenwalt <robdroid@android.com> resolved conflicts for merge of 3cd6a3e3 to master

Change-Id: If3e45cc3494b2c52a1f1dcc19deff763a50498d7
d1055a250c00b0c2516ec406a8cf9a5ab1c0b7ae 26-May-2010 Robert Greenwalt <robdroid@android.com> Make the NTP Cache max-age gservices-settable

Trying to make Throttle polling more energy efficient.

bug:2708119
Change-Id: I2b75639e202dcbcee11047c43407a22de04ce350
/frameworks/base/core/java/android/provider/Settings.java
a34d2c9a221deeb2699aacc99832e6ec2b63e8a9 25-May-2010 Christian Mehlmauer <FireFart@gmail.com> replaced deprecated getIntent with parseURI

Change-Id: Ice9e74fd8f729d7efad934d2de4c747d73be562e
/frameworks/base/core/java/android/provider/Settings.java
7cd51efcbd2d083bf577696591ef1769034f7e2f 13-May-2010 Jeff Hamilton <jham@android.com> Remove the deprecated cursor methods.

Change-Id: Ie3571fea9f36996c31c327240b11086f8cc487f0
/frameworks/base/core/java/android/provider/Settings.java
d3bb93f6870581eebbf08b5b7fb0a9c5eaad8b16 13-Apr-2010 Robert Greenwalt <robdroid@android.com> Add build config values for data use defaults

Don't use hard coded defaults - use build configs instead.

Iface is now ONLY set by config so gservices doesn't need to.

bug:2576057
Change-Id: I8f9e3bc51af3b1cdf8bb4290a43197d9c01e2a14
/frameworks/base/core/java/android/provider/Settings.java
c9b6851af68bdc20c4903b16c344e9f116647219 08-Apr-2010 Irfan Sheriff <isheriff@google.com> Throttling framework addins

Add ThrottleManager in getSystemService
Add API for URL fetch

Bug: 2576057
Change-Id: Icd25c8b91ea4beea15c74e8ad7292ab48c962253
/frameworks/base/core/java/android/provider/Settings.java
9e696c29f06d45d2891e1d38fd8d9033a9e21bb9 01-Apr-2010 Robert Greenwalt <robdroid@android.com> Add service to monitor/control the flow of data.

bug:2576057
Change-Id: Ib343c7ee1d619c6978910d9ee597db195d5aa3b6
/frameworks/base/core/java/android/provider/Settings.java
40e472521a544f26cb6956995788f7c36fff1404 08-Apr-2010 Suchi Amalapurapu <asuchitra@google.com> Fix 2579461
Move install location values to secure settings.
Diable attribute for UI. Set default value to auto.
Add command line interface to set install location via pm.

Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
/frameworks/base/core/java/android/provider/Settings.java
a3bd409a0a5dea446bd1b6edca1b367f3f70b503 25-Mar-2010 Irfan Sheriff <isheriff@google.com> settings variable for wifi saved state

We add a variable for saving wifi state
to restore after tethering.

Bring up wifi on boot up if the state indicates so.

Bug: 2537983
Change-Id: I9c6548b93df6fcbc0cec1e6b857f7224dc6d1b2c
/frameworks/base/core/java/android/provider/Settings.java
98bfa39596448504f58f6dfe1b8bd2d31f25367b 24-Mar-2010 Bjorn Bringert <bringert@android.com> Use a secure setting for default browser geolocation permissions

Partly reverts I6308b476ad18b1d71d7438b936c592a45365c9f0

Bug: http://b/issue?id=2535598

Change-Id: Ib488c6d4f10a87b714ecb78eef6fe58f572907c6
/frameworks/base/core/java/android/provider/Settings.java
e861ec11c458b4f76eb80da518dfee6a400071bf 25-Mar-2010 Amith Yamasani <yamasani@google.com> Fix 2242164 Soft keyboard keeps getting enabled even if I disable it

On keyboardful devices, it is possible to disable the system soft input
method. Something changed in eclair that caused the ime to be re-enabled
on every package manager update (packages added/deleted).

Now keep track of disabled system imes in the settings db and search
in that list before enabling a system IME on package changes.

Every time the user goes to settings to enable/disable imes, the list
is re-created.

Any new system IMEs that may be added via an OTA will get enabled if
they have a different package name.
/frameworks/base/core/java/android/provider/Settings.java
3a8b0c18a49c017ecfde8ebf4eb4bb5181ac6fef 25-Mar-2010 Dan Egnor <egnor@google.com> Limit DropBox storage to 1000 files (by default).

Also does trimming asynchronously (not directly in the broadcast receiver).

Bug: 2541253
Change-Id: I7daf8bc618e2dce68a98571f5f7fbce4df1d6a76
/frameworks/base/core/java/android/provider/Settings.java
2ccda4dc8d800c3592b4bd4d1d70a064d98dd4fe 23-Mar-2010 Dianne Hackborn <hackbod@google.com> Improve switching to car mode, retain night mode option.

Fiddle with how we go into car mode to try to ensure we get a clean
transition. Also have the system take care of remembering the night
mode setting so it will stay at what you want.

Change-Id: Icb94fdd961c7a192f7707ec71544485a1ea12455
/frameworks/base/core/java/android/provider/Settings.java
ceffa1597d574599cbaca71f5855a986b0857463 17-Mar-2010 Charles Chen <clchen@google.com> Adding secure setting for storing a list of enabled TTS plugins.

Change-Id: I972ae4fb71e430828b7d4b297613f6a21da3c982
/frameworks/base/core/java/android/provider/Settings.java
9ab518ad793385f8405edf19363fe825fb64f5f8 13-Mar-2010 Irfan Sheriff <isheriff@google.com> softAp framework changes

Remove AP persist settings
Add new netd interface
Handle errors
Handle AP config change
Bug: 2413908
Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
/frameworks/base/core/java/android/provider/Settings.java
a455d194863d6c09f0388b03271880d7f21e77d6 12-Mar-2010 Dan Egnor <egnor@google.com> Record some logcat output with crashes, ANRs, etc..

Shelling out to logcat from the system server makes me queasy,
so this is turned off by default -- it must be enabled individually
for each error type (system_app_anr, etc) via a secure settings
value (which I plan to poke into from gservices for internal use).

Even when enabled, it happens in a side thread, unless the system
server is about to die anyway (system server restart).

Change-Id: Id6d88bcd78d3625f0364a5fe9c771046601a5a14
/frameworks/base/core/java/android/provider/Settings.java
458e8062c322a614d470e544b725adb04fdd8770 09-Mar-2010 David Brown <dab@google.com> Add INCALL_POWER_BUTTON_BEHAVIOR setting.

This is part 1 of the fix for bug 2364220 "Accessibility improvements for
ending calls". This change adds a new (hidden) constant
Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, for a setting that controls
whether the Power button hangs up the current call, or just turns off the
screen.

Bug: 2364220

Change-Id: I14d4a89b27e99cac51dc16826d217072d999b2d6
/frameworks/base/core/java/android/provider/Settings.java
b8b11a0b1d82e24f7a79f2e1672e7f5cf1611a55 11-Mar-2010 Dianne Hackborn <hackbod@google.com> Further improvements to window management!

Fix issue #2493497: Stuck in the Emergency dialer - Home/Back keys doesn't work
This was another case of not updating the window focus when needed, this time
when the lock screen was hidden.

Also re-arrange the layout/animate flow to address issues where you would see
a flicker of whatever was behind the lock screen when showing a new activity that
hides the lock screen. This was because we were deciding to hide the lock screen
during the layout phase, which meant we had to do it without considering whether
it had drawn. So we could hide the lock screen before the window is shown for the
first time after being drawn. Now we can do this in the policy during animate, so
we can wait until the window is drawn and actually being shown.

The flow in perform layout is thus significantly changed, where the layout and
animate loops are both under the same repeating loop. The actual flow from this
should be the same, but it now allows the policy to request a new layout after
the animation loop is done. This actually cleans up a number of things in this
code as the complexity has increased.

Finally this includes a change to the ui mode manager when switching modes, to do
the resource configuration switch at a different time. This makes transitions
between modes much cleaner (though not yet perfect).

Change-Id: I5d9e75c1e79df1106108dd522f8ffed6058ef82b
/frameworks/base/core/java/android/provider/Settings.java
1c7fa4836bfa7ff61f176461ca0557e90f714121 10-Mar-2010 Daniel Sandler <dsandler@google.com> Add VIBRATE_IN_SILENT to the settings database & backup.

Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
/frameworks/base/core/java/android/provider/Settings.java
156c43545529fb3d731ffdd9c4514d38758e3f06 06-Mar-2010 Amith Yamasani <yamasani@google.com> Move lockscreen settings to secure table to prevent tampering. b/2343673

Migrate old settings to secure on upgrade.
/frameworks/base/core/java/android/provider/Settings.java
1877d0158b529663b8315482e7346a7bcaa96166 05-Mar-2010 Brad Fitzpatrick <bradfitz@android.com> Add "call" method on ContentProvider.

This permits implementing interfaces which are faster than using
remote Cursors. It then uses it for Settings & SettingProvider, which
together account for ~50% of total ContentProvider event loop stalls
across Froyo dogfooders.

For fetching Settings this looks like it should reduce average
Settings lookup from 10 ms to 0.4 ms on Sholes, once the
SettingsProvider serves most gets from in-memory cache. Currently it
brings the Sholes average down from 10ms to 2.5 ms while still using
SQLite queries on each get.
/frameworks/base/core/java/android/provider/Settings.java
e7085e909d0c7f58a160b2730ff06aca085dfd6b 04-Mar-2010 Robert Greenwalt <robdroid@android.com> Update framework tethering UI

Getting rid of notification dialog - maybe the entire TetherActivity.
Also getting rid of toasts - to ephemeral.
/frameworks/base/core/java/android/provider/Settings.java
5321aef4a22daef6ed01ed48d936cdd82f2e38b7 12-Feb-2010 Irfan Sheriff <isheriff@google.com> Wifi AP framework changes first pass

Bug: 2421638
Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
/frameworks/base/core/java/android/provider/Settings.java
6329bf7b1e2217c6c9477bd57349a1edade18417 26-Feb-2010 Daniel Sandler <dsandler@google.com> New vibrate/silent mode behavior.

In earlier versions of Android, "vibrate mode" (in which
only alarms and media produce sound, but notifications may
operate the vibe motor) was only accessible by adjusting the
ringer volume (via the device's volume rocker) down until
the "vibrate" icon appeared (between the lowest ring volume
and silent mode).

Many users prefer that "silent mode" always allow vibration.
Others prefer Android's historical behavior, in which silent
mode stops the vibes as well.

To accommodate these two distinct usage patterns, we now
allow the user to decide whether vibration is allowed in
"silent mode", a user interface abstraction that now spans
both AudioManager.RINGER_MODE_VIBRATE and
AudioManager.RINGER_MODE_SILENT.

To minimize API impact (and therefore maximize backward
compatibility), RINGER_MODE_VIBRATE and RINGER_MODE_SILENT
remain unchanged. What has changed is what happens when the
user activates silent mode, either via Settings,
GlobalActions (longpress on power), volume rocker, or the
keyguard tab. In essence, there is now only one "silent"
position in these controls, and whether RINGER_MODE_VIBRATE
or RINGER_MODE_SILENT is actually set on the AudioService is
determined by a new one-off setting
(System.VIBRATE_IN_SILENT). This new setting isn't meant to
be a long-term API, however: in the future we hope to
replace and extend this design with a much more
sophisticated set of systemwide feedback profiles. ETA TBD.

Related changes:
* I09ad7d69 (GlobalActions and keyguard)
* I22ba7bcf (Settings app)

Bug: 2457183
Change-Id: I14cf91b0910261ffdfd1bf302423f41ec747d057
/frameworks/base/core/java/android/provider/Settings.java
14c2d79028224118b96a03d2db6bab1902ccb6af 26-Feb-2010 Christopher Tate <ctate@google.com> Be sure to back up / restore some new settings

Added in this CL:

Power sounds enabled
Dock sound enabled
Lock/unlock sounds enabled
Auto-restore app data on install

Change-Id: Ie1c3215e926282e7cac5b82cd6196636049f7f85
/frameworks/base/core/java/android/provider/Settings.java
c03fa5014912684367174ff3cce664deb29f5e0e 24-Feb-2010 Robert Greenwalt <robdroid@android.com> Add mobile data on/off switch.

bug:2251458
/frameworks/base/core/java/android/provider/Settings.java
eebc8e2e8fa23b2957fec5838acc874af9a64a3d 18-Feb-2010 Erik <roboerik@android.com> b/2441327 Added add account intent to public api.

Added ACTION_ADD_ACCOUNT intent and EXTRAS_AUTHORITIES strings to the public
api so that Calendar can send users to the add account screen directly instead
of via the sync settings page.
/frameworks/base/core/java/android/provider/Settings.java
2a091d7aa0c174986387e5d56bf97a87fe075bdb 12-Feb-2010 Robert Greenwalt <robdroid@android.com> Update Tethering.

Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
/frameworks/base/core/java/android/provider/Settings.java
1c9131c91f27c8258dfad0a92cee105275f5422a 13-Feb-2010 Dan Egnor <egnor@google.com> Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
/frameworks/base/core/java/android/provider/Settings.java
0e9d2af2d60b381ba52d0c25e583b3d2a9906051 25-Jan-2010 Daniel Sandler <dsandler@google.com> New user interface sound effects:

- Low battery. (http://b/2320026)
- Dock/undock events.
- Keyguard lock/unlock events.

New system settings have been created to turn these on/off
and to specify the relevant sound files.

[Production notes: The provided low battery sound and dock
sounds were synthesized; the lock screen sounds are
processed samples of a ballpoint pen click mechanism.]

Bug: 2320026
Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d
/frameworks/base/core/java/android/provider/Settings.java
90d2db3d21d07c2a4b4cbbc558f5ec59d20098c3 12-Feb-2010 Dianne Hackborn <hackbod@google.com> Add Pointer Location to the window manager.

The window manager now has pointer location built into it.
Viva la touch!
/frameworks/base/core/java/android/provider/Settings.java
5d34e9b63d5305934dcedac11e8dd658ae23c174 11-Feb-2010 Mike LeBeau <mlebeau@android.com> Add new setting for the ComponentName of the service to be used
for voice recognition on the device. Right now this just queries
the package manager at boot and finds the (hopefully) single
available recognizer.

TODO: Add an attribute to let recognition services expose a settings
activity, and expose the settings activity of the chosen recognition
service in the system settings for voice input & output.
/frameworks/base/core/java/android/provider/Settings.java
60586f2ec65d16d185767fce4311d3ed0e9112ac 09-Feb-2010 Dan Egnor <egnor@google.com> API CHANGE: Add SSLSessionCache public API to allow unbundled SSL session caching.

Generally clean up the associated SSLCertificateSocketFactory API as well,
change AndroidHttpClient to use this new thing, and make the android-common
library build SDK-clean (woo hoo).

Bug: 2362543
Bug: 2357311
/frameworks/base/core/java/android/provider/Settings.java
117818e4f171b1fd9daa05349c48f61388f04567 09-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Add new manifest option for install location
Change recommendAppInstallLocation api
add code to parse new attribute.
Define flags in PackageInfo
Add new settings attributes for enabling setting and value for install location
Some tests
The policy for install location: if explicitly set in manifest as internal only we try to install the app only on internal storage. if set to preferExternal, we try to install it on sdcard if possible. If not we fall back to internal.
If the user enables setting SET_INSTALL_LOCATION(which will always
be set to false in final release builds) and sets a prefered location, we try
to honour it.
/frameworks/base/core/java/android/provider/Settings.java
d0e18ffb82b59d38aeaf0e552f48e734202719ab 26-Jan-2010 Robert Greenwalt <robdroid@android.com> First pass at USB Tethering.

bug:2281900
/frameworks/base/core/java/android/provider/Settings.java
cce9da5dc3d515f98c260af41a03e61e57b4e7a6 04-Feb-2010 Christopher Tate <ctate@google.com> Add auto-restore setting and Backup Manager awareness thereof

This setting, like BACKUP_ENABLE, should never be set directly in the secure
settings database. Instead, it should be manipulated through the new IBackupManager
method setAutoRestore(boolean).

Change-Id: I5c3226ca85b6148bb756d753d7f9e4ea76e878c4
/frameworks/base/core/java/android/provider/Settings.java
d8893db060c9aabb6042ba6444a9df476da13a6f 26-Jan-2010 Doug Zongker <dougz@android.com> update javadoc for Settings.Secure.ANDROID_ID

Remove reference to GoogleLoginService, explain what this value is now.

Change-Id: I2359bd21d9c250245c01e26d660b133f4e469759
/frameworks/base/core/java/android/provider/Settings.java
017091669a5af2dd3d0a457f05f153f4d31848b6 23-Jan-2010 Chih-Chung Chang <chihchung@google.com> Unhide brightness constants to help unbundle Camera.
/frameworks/base/core/java/android/provider/Settings.java
a3d5e0c5e3d12b3f8d7f43acb0c170b5e5899876 26-Jan-2010 Mark Vandevoorde <mtv@google.com> Unhide the secure setting for LocationProviderEnabled

The unbundled NetworkLocationProvider needs to get/set the enabled bit
from the settings database.
/frameworks/base/core/java/android/provider/Settings.java
9d8b876c61831fd52abf56a87c518b999cc17821 23-Jan-2010 Daniel Sandler <dsandler@google.com> Add android.provider.Settings.ACTION_DEVICE_INFO_SETTINGS.

Maps to "android.settings.DEVICE_INFO_SETTINGS", which
launches the DeviceInfoSettings activity in Settings.
/frameworks/base/core/java/android/provider/Settings.java
ef340357cefeee452403a77c2b6c1aa01c239d6b 14-Jan-2010 Justin Mattson <jmatt@google.com> NEW_API: Declare an ACTION_SEARCH_SETTINGS constant in android.provider.Settings so that apps can cause this system setting group to be opened directly.

The Settings app already responds to this action it just was not exposed in the platform API.
/frameworks/base/core/java/android/provider/Settings.java
0e25caf82ebe2af3aa5612d27e0eef7c10e8d85c 14-Jan-2010 Ficus Kirkpatrick <ficus@android.com> Remove some settings we are no longer using.

All are hidden; no API change.
/frameworks/base/core/java/android/provider/Settings.java
42471dd5552a346dd82a58a663159875ccc4fb79 08-Jan-2010 Dan Egnor <egnor@google.com> Simplify & update ANR logging; report ANR data into the dropbox.
Eliminate the per-process 200ms timeout during ANR thread-dumping.
Dump all the threads at once, then wait for the file to stabilize.
Seems to work great and is much, much, much faster.

Don't dump stack traces to traces.txt on app crashes (it isn't very
useful and mostly just clutters up the file).

Tweak the formatting of the dropbox dumpsys a bit, for readability,
and avoid running out of memory when dumping large log files.

Report build & kernel version with kernel log dropbox entries.
/frameworks/base/core/java/android/provider/Settings.java
87734d3bc118cba8f42845ddd51f10edadb84abf 08-Jan-2010 San Mehat <san@google.com> Settings: Add settings for MountService prefs and bump DB version to 46

Adds 4 new Settings:
Secure.MOUNT_PLAY_NOTIFICATION_SND - Play notification sound on events
Secure.MOUNT_UMS_AUTOSTART - Auto-start UMS when host detected
Secure.MOUNT_UMS_PROMPT - Show notification when host detected
Secure.MOUNT_UMS_NOTIFY_ENABLED - Show notification while UMS enabled

These settings are also added to the Settings backup list

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/java/android/provider/Settings.java
aed8f8eb1491a21c8c71d39258b70edb74533a62 08-Jan-2010 Doug Zongker <dougz@android.com> remove Settings.Gservices

Move the last few keys to secure settings, and delete the Gservices
table.

Change-Id: Ie3ba45aa8c1f220824aa027c547cb82884452eb5
/frameworks/base/core/java/android/provider/Settings.java
edc5189c33de03f3e2f5f73edc0e007992b933c9 07-Jan-2010 Doug Zongker <dougz@android.com> change remaining frameworks/base Gservices to Secure settings

Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
/frameworks/base/core/java/android/provider/Settings.java
43866e0c48bb0effe8805afd62b253e50ca7d591 07-Jan-2010 Doug Zongker <dougz@android.com> move some system services from gservices to secure settings

Change-Id: Ie2dfb99a2b42b2cc9310b858c044d8684e3493fa
/frameworks/base/core/java/android/provider/Settings.java
f68888951ae6056f5a15a7e2a84045c067bc6ba2 07-Jan-2010 Doug Zongker <dougz@android.com> move Watchdog's settings from Gservices to Secure

Change-Id: Iac1146dafa12f9247874514c9aeefa5f8f83933d
/frameworks/base/core/java/android/provider/Settings.java
a0b517609dfd8436a98bdebb31466f19ffec6cb5 28-Dec-2009 Eric Laurent <elaurent@google.com> am 68e9014e: am 484d2888: Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.

Merge commit '68e9014e47f7350b3889e1704dde809b2a926968'

* commit '68e9014e47f7350b3889e1704dde809b2a926968':
Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
484d2888680e18e6ad8c3fcc51e3b70a705a096e 08-Dec-2009 Eric Laurent <elaurent@google.com> Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.

Add a separate system settings entry for bluetooth SCO volume.
/frameworks/base/core/java/android/provider/Settings.java
60d8762413e8daba5f73559786312a9ec5e3b827 17-Dec-2009 Dan Egnor <egnor@google.com> DropBox logging of app & system server crashes.

The crashes are also reported to the event log (and of course the
main logcat, like they always have been). Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is. (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
/frameworks/base/core/java/android/provider/Settings.java
17b7ffe9cec899a4097a16107dbc380b05d40abc 17-Dec-2009 Christopher Tate <ctate@google.com> Do not back up / restore the END_BUTTON_BEHAVIOR setting

If something had backed up this setting in the 'do nothing' state, a restore of
that dataset could render a device without a hard END key unusable. There's no
clear reason to want to restore this value anyway, so we no longer back it up,
nor apply it at restore time even if the dataset contains it.

Bug: 2326562
/frameworks/base/core/java/android/provider/Settings.java
97ef7637c6799e72956db8e08192539f1b1942f6 10-Dec-2009 Fred Quintana <fredq@google.com> - move the EventLog stuff out of ATSA
- move the google calendar sync adapter settings out of Settings.java
/frameworks/base/core/java/android/provider/Settings.java
20d778805cd824c0710ab79d8b3c58f214606d3a 03-Dec-2009 Ken Shirriff <kens@google.com> Make Gservices setting constants public.
/frameworks/base/core/java/android/provider/Settings.java
42c4c589003c029309c823e8f06ed00b3cdb21de 02-Dec-2009 Amith Yamasani <yamasani@google.com> am a9791d30: Merge change Iae3ed706 into eclair

Merge commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc' into eclair-mr2

* commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc':
Add new setting for notification light pulsing. Bug #2238250
ae3ed706702a5ebe6ffcc08b941b1401c9a24b89 02-Dec-2009 Amith Yamasani <yamasani@google.com> Add new setting for notification light pulsing. Bug #2238250

New System setting and code to set the defaults on upgrade.
/frameworks/base/core/java/android/provider/Settings.java
799f721fcbff7a5ef62141786a642290f275903b 25-Nov-2009 Dan Egnor <egnor@google.com> Fix a bug in the Settings contract class (introduced in an ... iffy ... fix
to a race condition) that breaks the caching of non-existent Settings/Secure/
Gservices values (causing lots of unnecessary database queries).

Fix a dumb thinko (reversed condition) in the SQLiteDatabase logging.
/frameworks/base/core/java/android/provider/Settings.java
f8c2bb36f7b5d49553155559bc30c4e9211340e4 20-Nov-2009 Ken Shirriff <kens@google.com> Add gservices flags for calendar sync.
/frameworks/base/core/java/android/provider/Settings.java
194f0808925453f40f516fca4de57887d455066a 19-Nov-2009 lknguyen <lknguyen@google.com> Add Gservices flag so that Market can turn on performance logging for specific groups.
/frameworks/base/core/java/android/provider/Settings.java
db9f06d9c44cd640f282b1a631ae82d3652beeef 13-Nov-2009 Wink Saville <wink@google.com> resolved conflicts for merge of 2a1e9641 to eclair-mr2

Change-Id: Ie1e1e686a7ef26a8a3f583c9660930eb16ca2659
ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818 12-Nov-2009 Wink Saville <wink@google.com> Add code to use Gservices provided values for throtting NITZ updates.

bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
/frameworks/base/core/java/android/provider/Settings.java
6139bf60e83753750fa1009de6da85033dad1820 12-Nov-2009 Dan Egnor <egnor@google.com> Add AGGREGATION_INTERVAL_SECONDS (fixing the build)
/frameworks/base/core/java/android/provider/Settings.java
4ff960006f00d79d50d692bc634789d1485413d8 09-Nov-2009 Cynthia Wong <cynthiaw@google.com> new gservices flag for delaying bad gmail operations
/frameworks/base/core/java/android/provider/Settings.java
2effb21e89962d0f8046a81aa010691f60d23257 06-Nov-2009 Dan Egnor <egnor@google.com> Add UPDATE_ACTION to Gservices, used by the new checkin service.
/frameworks/base/core/java/android/provider/Settings.java
272af007684be307464dc14335503316cea3dbf3 05-Nov-2009 Vasu Nori <vnori@google.com> a possible fix for the bug http://b/issue?id=2200637
/frameworks/base/core/java/android/provider/Settings.java
2086152c1b60ad3bfe85c1ddc3871cff77e6da1b 16-Oct-2009 Mike Lockwood <lockwood@android.com> am f55aa972: Merge change I01935be3 into eclair

Merge commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542' into eclair-mr2

* commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542':
Remove PowerManager.setAutoBrightness()
dc3494e3d8e17aeb0dbbe41953a5ef763d95ff78 15-Oct-2009 Mike Lockwood <lockwood@android.com> Remove PowerManager.setAutoBrightness()

We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
647ae75e5785575c333de22a67b7bf27e4e917e2 15-Oct-2009 Christian Sonntag <cxs@google.com> Add Gservice for vending_restore_window, this determines the duration after first setup, during which we do not reconcile backup apps.
after that apps restored via market/backup will be treated just like any other app and being synced with the server state.
/frameworks/base/core/java/android/provider/Settings.java
4410ec8f7cec6ab05a8c24c04fe2d5ed5d1e18df 12-Sep-2009 Dan Egnor <egnor@google.com> Framework-side DropBox service that maintains a size-bounded
queue of data chunks (sort of a blob-oriented logcat).

In the future, this will be coupled with a revised checkin service that
would actually upload this data.
/frameworks/base/core/java/android/provider/Settings.java
ee649a811bc7e2193b63cadb312877a03640a9c4 09-Oct-2009 Dan Egnor <egnor@google.com> Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads.
See bug 2177046.
/frameworks/base/core/java/android/provider/Settings.java
a33e3f79259b56b03c7912af35944f34ad190e3c 30-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2154794: Force close when start facebook application.

I think when we were scanning the updated app in the system image,
from an older version on the data partition, we were not setting
the existing package to have the system flag, so not auto-granting
any new permissions.

This also includes some other cleanup in the package manager to
remove old files in various places, and tighten up logging.

Also similar logging cleanup elsewhere.

Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
/frameworks/base/core/java/android/provider/Settings.java
f602c5170ef5a7d75992db9e46ad44efb709ca99 29-Sep-2009 lknguyen <lknguyen@google.com> Add Gservices flag for Vending doctor download complete timeout.
/frameworks/base/core/java/android/provider/Settings.java
f582a69dd2ed556d48a4c158b6560c08e44386fd 28-Sep-2009 Christopher Tate <ctate@android.com> Don't back up / restore "allow apps from unknown sources"

We no longer back up the state of the "Allow the installation of applications
from unknown sources" setting, nor do we set that based on restore data even if
it is present.

Change-Id: Ida276874616f1ff82807d642b0b733fcab339529
/frameworks/base/core/java/android/provider/Settings.java
362aca60453ec7f27abb4d83fc29dd82095dc882 26-Sep-2009 Christopher Tate <ctate@android.com> Add auto-brightness mode to the list of backed-up settings

Change-Id: I4302b79691ed717d810748b239311cba198f6381
/frameworks/base/core/java/android/provider/Settings.java
c15255a979c9fc70bc251aefdcd9c1074b458d49 24-Sep-2009 Amith Yamasani <yamasani@google.com> Add a PRIVACY_SETTINGS action to launch the new Privacy settings screen.
/frameworks/base/core/java/android/provider/Settings.java
b34a3a08050c456fabec399cfeb44df47d96bc9f 18-Sep-2009 Sanjay Jeyakumar <sjk@google.com> Remove the GDD Gservices setting.
/frameworks/base/core/java/android/provider/Settings.java
a286f419084d56217f05a64f1d24c9e07917212e 19-Sep-2009 Christopher Tate <ctate@android.com> Don't back up / restore certain sync-related settings

In particular, this no longer attempts to back up the on/off state of specific
backend syncing [gmail/contacts/calendar], nor the "background data" toggle.
The former was causing a great deal of spurious trips through backup as the
notification was being tickled during general sync operation, and the latter
makes little sense at restore time.

Fixes these issues:

b/2097613 - frequent "backup_data_changed" messages in event log
b/2131662 - should not backup background data, master sync settings
/frameworks/base/core/java/android/provider/Settings.java
a233943cb1b064155d001556c573140ed333149e 18-Sep-2009 Jacek Surazski <jaceks@google.com> Add a Gservices setting to controll the app error reporting feature.
/frameworks/base/core/java/android/provider/Settings.java
8cbaa832aec8d996830008f34cc47f23ad3165f9 17-Sep-2009 Sanjay Jeyakumar <sjk@google.com> Add Gservices settings required for carrier billing.
/frameworks/base/core/java/android/provider/Settings.java
cac138274c45b49a91e1d28cce44faa02d37906e 16-Sep-2009 Cynthia Wong <cynthiaw@google.com> Add new Gservices setting for discarding uphill ops for eclair and future devices.
/frameworks/base/core/java/android/provider/Settings.java
951764b97010dfa073126f52b43ea1bdf1b35998 27-Aug-2009 Dan Murphy <D.Murphy@motorola.com> Add automatic lighting control framework

Add changes to have the ability to turn on and off the
automatic light sensing for the device. This is fully configurable
and is by default not present. Vendors should override the ALS setting
to enable the automatic lighting controls.

These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.

If the user selects auto then the slide bar will become invisible. Manual mode
will present the slide bar to the user.

Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
0738e8893540e8f7fac7c193be5fe24b67f04672 12-Sep-2009 Christopher Tate <ctate@android.com> Don't backup/restore telephony material from secure settings

* Remove several nonportable telephony settings from the set to be included in
the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
operation, so that we don't inadvertently do things like configure a GSM
phone to use CDMA logic.
/frameworks/base/core/java/android/provider/Settings.java
96f8613d95122a491a44f755f06845cc2c13e81e 04-Sep-2009 Bjorn Bringert <bringert@android.com> Add Gservices constants for GlobalSearch settings

This is part of the implementation of http://b/issue?id=2097470

Change-Id: Ife3e5edd4c7d31824d75a0f93a6dcd56a39ab524
/frameworks/base/core/java/android/provider/Settings.java
0b98c944c6bac98d95c93916cde31f841b44d9aa 05-Sep-2009 Ye Wen <ywen@google.com> Fix code placement and comments for gtalk url scraping settings.
/frameworks/base/core/java/android/provider/Settings.java
7a0c108d8b625c5ecb3476b9233dddaf5a6270e0 04-Sep-2009 Ye Wen <ywen@google.com> Gservices settings for controlling URL scraping in GTalk app.
/frameworks/base/core/java/android/provider/Settings.java
dd9b82c283815747b75fe4434c65e4b6c9c9b54f 03-Sep-2009 Dianne Hackborn <hackbod@google.com> Add better service reporting.

This will be used elsewhere.

Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
/frameworks/base/core/java/android/provider/Settings.java
62d95ead34d954c286f13a6d341f07a267796ee4 02-Sep-2009 Christian Sonntag <cxs@google.com> Add APANIC kernel logging to CheckinService.
we keep book and only read a particular file once and send it to the server.

The files are:

Ramconsole Driver (Dream/Sapphire):

/data/dontpanic/last_kmsg

Apanic Driver (Sholes/all future designs):

/data/dontpanic/apanic_console
/data/dontpanic/apanic_threads
/frameworks/base/core/java/android/provider/Settings.java
48f886e661275a6b649699d556c8f01f384d88d8 26-Aug-2009 Ye Wen <ywen@google.com> The Gservices settings for pruning messages/chats.
/frameworks/base/core/java/android/provider/Settings.java
ebd8416fad86aad10f8724a02437d27c473169bd 27-Aug-2009 Sanjay Jeyakumar <sjk@google.com> Add Gservices setting for the frequency to perform provisioning.
/frameworks/base/core/java/android/provider/Settings.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
/frameworks/base/core/java/android/provider/Settings.java
cc6bd5a0d3f679d2820e2d61ea868ba6a58fc186 24-Aug-2009 Wei Huang <weih@google.com> fix typo
/frameworks/base/core/java/android/provider/Settings.java
1abf498e7fbd914d12843b3426c1f26bde3b2e79 21-Aug-2009 Wei Huang <weih@google.com> add a "display_sent_time" column to the message table, to provide a hint that the UI should display time stamp for this message always. Add Gservices settings for gtalk stuff.
/frameworks/base/core/java/android/provider/Settings.java
f0f13aeadd5c9f9cfe19e6b115b3501705a97076 20-Aug-2009 Ken Shirriff <kens@google.com> Add calendar sliding windows setting.

GOOGLE_CALENDAR_SYNC_WINDOW_UPDATE_DAYS indicates how often to update
the calendar sync window.
/frameworks/base/core/java/android/provider/Settings.java
ef99e248fe5f556bbd216d3ac669391b83ab5ebb 18-Aug-2009 Jasperln <jasperln@google.com> am f5e6a211: Merge change 21572 into donut

Merge commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1' into eclair

* commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1':
Add constants to adjust Vending input and output buffer sizes.
b95277e76291729ac2f2254372ae62ea88789443 17-Aug-2009 Jasperln <jasperln@google.com> Add constants to adjust Vending input and output buffer sizes.

- Needed for Bug: 2058060
/frameworks/base/core/java/android/provider/Settings.java
c650bf583dbed8701da9a49b9dbd9023768f0df8 14-Aug-2009 Wei Huang <weih@google.com> Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings.
/frameworks/base/core/java/android/provider/Settings.java
1e4807aaf4854645616814169987ad153a70b5ff 30-Jul-2009 Wei Huang <weih@google.com> new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.
/frameworks/base/core/java/android/provider/Settings.java
c030a48c1e9e2923e8dee320dd3085dc3324b9a4 11-Aug-2009 Debajit Ghosh <debajit@google.com> add gservices setting for switching sync subscriptions to use a new routing info.
/frameworks/base/core/java/android/provider/Settings.java
0d54b02b75dc2f6a4a35b583258692621e7372ce 11-Aug-2009 Cynthia Wong <cynthiaw@google.com> Add a new setting for controling how much time to wait before discarding uphill operations
/frameworks/base/core/java/android/provider/Settings.java
326580d59aa803aa217f89337757a5b7b400b486 10-Aug-2009 Ken Shirriff <kens@google.com> Add calendar_sync_window_days setting to control calendar sync window.
/frameworks/base/core/java/android/provider/Settings.java
058779c9bbdfcc8773b181eb87de299ca7269c4d 07-Aug-2009 Christian Sonntag <cxs@android.com> Add constant for storing market backup state in shared preferences.
/frameworks/base/core/java/android/provider/Settings.java
50dac8c67379e6d765ca3be19b069eaba19c863d 07-Aug-2009 Alex Gruenstein <alexgru@android.com> Remove Voice Search constants, factored them out into the Voice Search app.
/frameworks/base/core/java/android/provider/Settings.java
bd5ddf01e4d629982fa8bb667d4be7c5ec3aa79f 30-Jul-2009 Mike Lockwood <lockwood@android.com> Wifi: Add support for enabling Wifi while in airplane mode.

If the new system settings value for AIRPLANE_MODE_TOGGLEABLE_RADIOS
contains RADIO_WIFI, then the user will be allowed to enable Wifi
while in airplane mode.
Turning on airplane mode will still disable Wifi, but the user will
be free to reenable it in the Settings app.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
e60066db189d429564632f64b14c2b32538a3b02 24-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 0e638630: Merge change 8291 into donut

Merge commit '0e6386300c958c5566d09b6a18b4338a6db3e965'

* commit '0e6386300c958c5566d09b6a18b4338a6db3e965':
Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
f965d1690e462abcbb55ea7b289fd15c62b2c23b 23-Jul-2009 lknguyen <lknguyen@google.com> Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
/frameworks/base/core/java/android/provider/Settings.java
71effba5ac09a02704b564a7e89b797768a47103 21-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 6fb608ee: Merge change 7854 into donut

Merge commit '6fb608ee67c3ad82baf2253b87b63fff8907992a'

* commit '6fb608ee67c3ad82baf2253b87b63fff8907992a':
Issue #1884058 (Need to only record frequency and duration for selected Google apps)
9fdbf6ae465f90b50ca5feb320215b98018c9937 19-Jul-2009 Dianne Hackborn <hackbod@google.com> Issue #1884058 (Need to only record frequency and duration for selected Google apps)

Quick and dirty solution: a new --packages argument allows you to specify an explicit
set of packages to include in the dump. There is also now a new GServices setting
that can provide a value for it.
/frameworks/base/core/java/android/provider/Settings.java
2debd56b5b24d7f4c385f64bfcaf23d00d4d986a 14-Jul-2009 Tom Taylor <tomtaylor@google.com> Add new gtalk values

Add new gservices strings for various picture related urls for GTalk.
/frameworks/base/core/java/android/provider/Settings.java
4573df4db0d4dc0dfcac15e8fe35b9939e351bcf 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 5628711a: Merge change 6855 into donut

Merge commit '5628711a6f5674070da674488513d2e1b03c4959'

* commit '5628711a6f5674070da674488513d2e1b03c4959':
Add a Gservices setting to control if we send up multipart protocol buffers
1c5e4034e47be32e739972860cbca0afdbe807ef 09-Jul-2009 Wei Huang <weih@google.com> modify Gservices setting for push messaging registration url.
/frameworks/base/core/java/android/provider/Settings.java
278a802dcd5d5454143127d0d59a6eb0ba96ecc7 10-Jul-2009 Cynthia Wong <cynthiaw@google.com> Add a Gservices setting to control if we send up multipart protocol buffers
/frameworks/base/core/java/android/provider/Settings.java
f00193ff7ac1872fc88f86b5150e023c09846df9 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 8f7c7c0c: Merge change 6659 into donut

Merge commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924'

* commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924':
Add a Gservices setting to set the rate at which the home page refreshes.
21bf2416512a8bdf4f3a0fd9f788f409d6013c32 09-Jul-2009 Sanjay Jeyakumar <sjk@google.com> Add a Gservices setting to set the rate at which the home page refreshes.
/frameworks/base/core/java/android/provider/Settings.java
2eac99ccbcdcc91b69c04ea2eb03f4cba961c17c 08-Jul-2009 -b master <yamasani@google.com> resolved conflicts for merge of d6fe243c to master
8823c0a8c68fe669c21c539eef9fc6541f0c7494 07-Jul-2009 Amith Yamasani <yamasani@google.com> Backup / Restore locale preference.

Also backup development settings MOCK_LOCATION and USB_DEBUGGING.
Backup and restore more of the Audio settings. Won't work yet without a reboot.
Disable Wifi supplicant restore temporarily. It seems to be disabling Wifi due to
permissions problems.
Don't restore Ringtones.
/frameworks/base/core/java/android/provider/Settings.java
be11746cb750a6d8b8dcd37e18dc87547e95692a 07-Jul-2009 Cynthia Wong <cynthiaw@google.com> am 04f0b05e: Add a Gservices setting for how many times we should retry before discarding an uphill operation

Merge commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313'

* commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313':
Add a Gservices setting for how many times we should retry before discarding an uphill operation
04f0b05ea04a4a13d6a15b36eaa27b2ec364f313 07-Jul-2009 Cynthia Wong <cynthiaw@google.com> Add a Gservices setting for how many times we should retry before discarding an uphill operation
/frameworks/base/core/java/android/provider/Settings.java
48f7d85d7b6be25f17f269adc7794e53121bbe2c 07-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am dbee95ca: Merge change 6317 into donut

Merge commit 'dbee95cacff9d2faf30638e64abe26fbeb128787'

* commit 'dbee95cacff9d2faf30638e64abe26fbeb128787':
Make enable/provisioning of the backup service a two-step process
8031a3df2fd0c38d85eeae39c1ea2c83e813f4ff 07-Jul-2009 Christopher Tate <ctate@google.com> Make enable/provisioning of the backup service a two-step process

This CL adds the concept of 'provisioned' to the backup manager. No backups
will be scheduled until the user has indicated that backups are to be enabled
*and* has clicked all the way through the setup wizard.

When the user first turns on the backup system, the delay before the initial
backup pass is different from the periodic backup interval. Currently that
initial delay is 12 hours. The intent here is to guess at a less-active time
for performing that first backup pass.

NOTE: currently the backup service defaults to 'provisioned'. Once the real
code goes live in Setup Wizard, this will be changed to default to
not-provisioned until the user has confirmed all the relevant UI.
/frameworks/base/core/java/android/provider/Settings.java
501eec92f9f4f206ad7972c63f2d0ef0285d8e34 06-Jul-2009 -b master <yamasani@google.com> Revert "hand rolled out 220f4d633be1098e7887dbd06f179138bf19f1ad due to interface changes on master, the change will need to be made again"

This reverts commit f8e3ba5bfad14f3037d72eb6243258c13169cbd8.
/frameworks/base/core/java/android/provider/Settings.java
f8e3ba5bfad14f3037d72eb6243258c13169cbd8 03-Jul-2009 The Android Open Source Project <initial-contribution@android.com> hand rolled out 220f4d633be1098e7887dbd06f179138bf19f1ad due to interface changes on master, the change will need to be made again
/frameworks/base/core/java/android/provider/Settings.java
133ec72f2480a65a02c8e1e5d9540796a0d05895 03-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 288fe16c: Merge change 6043 into donut

Merge commit '288fe16c20e2c20556839046d38c487b0b18735c'

* commit '288fe16c20e2c20556839046d38c487b0b18735c':
System and Secure settings backup.
5d16cd046298ec9e009cfdd2056c64c1a9ac5ba3 03-Jul-2009 Dianne Hackborn <hackbod@google.com> am d7cd29da: Add facility to run setup wizard after an update.

Merge commit 'd7cd29da91ccc0aba1f1097e19366f9ca36c7ce1'

* commit 'd7cd29da91ccc0aba1f1097e19366f9ca36c7ce1':
Add facility to run setup wizard after an update.
575d1af980f4b4866325bfc487455f54606cf49e 03-Jul-2009 The Android Open Source Project <initial-contribution@android.com> resolved conflicts for merge of cf098294 to master
220f4d633be1098e7887dbd06f179138bf19f1ad 02-Jul-2009 Amith Yamasani <yamasani@google.com> System and Secure settings backup.

This backs up the basic system and secure settings. THe restoration doesn't
take effect immediately. You many need to restart the runtime to see all
restored values take effect.
/frameworks/base/core/java/android/provider/Settings.java
023d7564a6b6bce894aba4eaf00133c6f86d1de5 02-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am f3ab3c34: Merge change 5833 into donut

Merge commit 'f3ab3c3437f18834ce63542062c2ed7a87a05fca'

* commit 'f3ab3c3437f18834ce63542062c2ed7a87a05fca':
Fix nit on length of flag constant.
74ab31598bb65b17f84411d11d09269f1291d78a 02-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am d8de2ba4: Merge change 5750 into donut

Merge commit 'd8de2ba42679a10db2adc11995d6596a0045ab3a'

* commit 'd8de2ba42679a10db2adc11995d6596a0045ab3a':
Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
d7cd29da91ccc0aba1f1097e19366f9ca36c7ce1 01-Jul-2009 Dianne Hackborn <hackbod@google.com> Add facility to run setup wizard after an update.

The system now keeps a tag of the last version (just an arbitrary string)
that the setup wizard was run for. If this is different than the current
one in the setup wizard, then setup is launched at boot.

This introduces a new intent action for the part of the setup wizard that
gets run for an ungrade, which the system uses to find its current version
tag for comparing against what was last stored. It is up to the launched
setup activity update the stored setting to reflect its current value,
once it is happy.
/frameworks/base/core/java/android/provider/Settings.java
cf098294da7a820d5c30d8ed2006ed5446ee1da9 02-Jul-2009 Dianne Hackborn <hackbod@google.com> Move backup state to settings, change permission checks to use symbol.

This changes the backup service to use the settings provider instead
of system properties, correspondingly making it off by default and
allowing specific devices to define the transport. Also tweaks
the permission checks to use the permission symbol instead of raw
strings.

This requires some corresponding changes in the vendor projects.
/frameworks/base/core/java/android/provider/Settings.java
09b3373d83a0f582eae46562bc307022c64ac497 30-Jun-2009 lknguyen <lknguyen@google.com> Fix nit on length of flag constant.
/frameworks/base/core/java/android/provider/Settings.java
b0cba433057857ab61d2231a979a50c2b999f9e7 30-Jun-2009 lknguyen <lknguyen@google.com> Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
/frameworks/base/core/java/android/provider/Settings.java
bcab8df83e6e769a7cbcc742e72b47d665998793 25-Jun-2009 Mike Lockwood <lockwood@android.com> Settings: Add preference to enable/disable assisted GPS.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/Settings.java
8ad2246edd526b7bef1b04e3a69faf2707691375 25-Jun-2009 Wei Huang <weih@google.com> add Gservices setting for data messaging app token url.
/frameworks/base/core/java/android/provider/Settings.java
b3222875943efba066896c140b7cf7d58b423870 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 60a0ad65: Merge change 5329 into donut

Merge commit '60a0ad65f4cd7dedbbd06993d107fb1b72d072c6'

* commit '60a0ad65f4cd7dedbbd06993d107fb1b72d072c6':
frameworks/base - CDMA settings additions
d0f6715dcb68fbcee12e0c73326c8d872cb9c5a4 14-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base - CDMA settings additions

These changes are the frameworks/base portion of CDMA UI changes.

Five settings are added:
- In-call DTMF type (burst or long)
- Emergency tone type
- CDMA auto-retry
- Hearing Aid Compatibility (on/off)
- TTY mode
/frameworks/base/core/java/android/provider/Settings.java
61f24e58d6b86667906c8ac84e2f09b6c7e4ac2c 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 2830b922: Merge change 4977 into donut

Merge commit '2830b9226bc737da970f8d20601ccde19008415c'

* commit '2830b9226bc737da970f8d20601ccde19008415c':
Update the gservices gtalk setting for the terms and services url.
2c0a01a6e775ad0d76a2f7169497e73b96ef5ab3 23-Jun-2009 Tom Taylor <tomtaylor@google.com> Update the gservices gtalk setting for the terms and services url.
/frameworks/base/core/java/android/provider/Settings.java
90c8f83538cc9dd79e68d167263095b98870fed4 22-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am d6dd686b: Merge change 4805 into donut

Merge commit 'd6dd686bc7adba448af1bc36a022cddba9f9561f'

* commit 'd6dd686bc7adba448af1bc36a022cddba9f9561f':
add GServices settings for Google Talk privacy and legal urls.
ceca25fdb019ef11e28b88e4575e6594cc46b55d 19-Jun-2009 Wei Huang <weih@google.com> add GServices settings for Google Talk privacy and legal urls.
/frameworks/base/core/java/android/provider/Settings.java
f1891f4b79127ae8e0f3b2e8b2c3062e3f6a64c3 20-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 52546575: Merge change 4818 into donut

Merge commit '5254657540b0a6ad54be6229b68fa5626e4ef9e5'

* commit '5254657540b0a6ad54be6229b68fa5626e4ef9e5':
Added in Settings.Secure default country and variant for the default TTS language.
a6fcc9541161de5d1c39e62d2646076706d87b96 19-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Added in Settings.Secure default country and variant for the default TTS language.
/frameworks/base/core/java/android/provider/Settings.java
44c6e3e7857ac79694a439428bad6a6a6c8f1c5a 19-Jun-2009 Ye Wen <ywen@google.com> Fix bug1435331: add a gservices setting for the retry threshold of auth expired failure.
/frameworks/base/core/java/android/provider/Settings.java
350feeb8368846d674321db4fc1bee233959e4cf 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am b00518d8: Merge change 4796 into donut

Merge commit 'b00518d81550c638728b53346a2a25f0a80a1049'

* commit 'b00518d81550c638728b53346a2a25f0a80a1049':
Move USE_LOCATION_FOR_SERVICES to Secure.
d0b47a1740408d4e97d03765d41c39313791f943 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ba6409f1: Merge change 4706 into donut

Merge commit 'ba6409f1f69db7dfa16d5b914d2bc41a3aa43caf'

* commit 'ba6409f1f69db7dfa16d5b914d2bc41a3aa43caf':
Add a new checkin server flag for Vending Machine heartbeats.
630cd06414dede289e5319861b6c06984b7953ae 19-Jun-2009 Amith Yamasani <yamasani@google.com> Move USE_LOCATION_FOR_SERVICES to Secure.

Since SetupWizard needs to be able to write the setting, it
couldn't live in Gservices. Moved it to Secure.
/frameworks/base/core/java/android/provider/Settings.java
abd7eba70b38752d0ecac98e51416d2b33d2d1ec 19-Jun-2009 Linda Nguyen <lknguyen@google.com> Add a new checkin server flag for Vending Machine heartbeats.
/frameworks/base/core/java/android/provider/Settings.java
50c786d19cd2c70635a8b655823b2f9e0d654687 17-Jun-2009 Wei Huang <weih@google.com> add a checkin eventlog tag for reporting GTalk heartbeat timeout; remove unused adaptive heartbeat settings.
/frameworks/base/core/java/android/provider/Settings.java
2cc50b12d1ffe2a1b1b08020c8e062af6ba66f32 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 77b7d785: Merge change 4117 into donut

Merge commit '77b7d7859ab8a4ab66a31375826ddfe17dc69c07'

* commit '77b7d7859ab8a4ab66a31375826ddfe17dc69c07':
Add a Gservices setting to have a "use location for better search".
430555acaedb2ba639f37de1cf91bd2e2d98991a 12-Jun-2009 Amith Yamasani <yamasani@google.com> Add a Gservices setting to have a "use location for better search".
/frameworks/base/core/java/android/provider/Settings.java
bd6b11dd582d7c7dde64e355f967f5ed77a9870d 11-Jun-2009 Mitsuru Oshima <oshima@google.com> am e5fb3288: resolution support fix/improvement * adding compatibility menu * backup gravity * set expanable=true if the screen size is hvga * density. * added "supports any density" mode. I\'ll add sdk check later. * disallow to catch orientation c

Merge commit 'e5fb328825995aa33b5b7ecf8b5bee2b17f81715'

* commit 'e5fb328825995aa33b5b7ecf8b5bee2b17f81715':
resolution support fix/improvement
bd6b2b410f67833589f01a4b5f568c6770aba230 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a45711aa: Merge change 3765 into donut

Merge commit 'a45711aaebc514290fdf0c93f07a3120dc160ddb'

* commit 'a45711aaebc514290fdf0c93f07a3120dc160ddb':
Add a gservices flag to limit the size of protobufs we can gzip
e5fb328825995aa33b5b7ecf8b5bee2b17f81715 10-Jun-2009 Mitsuru Oshima <oshima@google.com> resolution support fix/improvement
* adding compatibility menu
* backup gravity
* set expanable=true if the screen size is hvga * density.
* added "supports any density" mode. I'll add sdk check later.
* disallow to catch orientation change event if the app is not expandable. This
was causing layout problem under non-expandable mode. I discussed this with Mike C
and we agreed to do this approach for now. We'll revisit if this causes problem to
a lot of applications.
/frameworks/base/core/java/android/provider/Settings.java
85427f71a410e7165c11598ed41eaaa75b8d6acd 10-Jun-2009 Cynthia Wong <cynthiaw@google.com> Add a gservices flag to limit the size of protobufs we can gzip
/frameworks/base/core/java/android/provider/Settings.java
26fd4ea25578a215b6a83254e0e32556d1a44f9f 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3279fbad: Merge change 3652 into donut

Merge commit '3279fbad638bd48b8e52a528d75bb5aa4757f81c'

* commit '3279fbad638bd48b8e52a528d75bb5aa4757f81c':
Adding default text-to-speech language in Settings.Secure.
f478267d6a60220fb8078c13971b5d4d3f868d67 10-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Adding default text-to-speech language in Settings.Secure.
/frameworks/base/core/java/android/provider/Settings.java
fa4d817851ee0db782bfa2368a13d9761f62b2ce 06-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 7b0d2d93: Merge change 3223 into donut

Merge commit '7b0d2d933d8a601cf6259f25576f5615ff146b33'

* commit '7b0d2d933d8a601cf6259f25576f5615ff146b33':
Adding new Settings.Secure properties for the Text-To-Speech functionality.
f62ba452bb07407f577cabecde14bfad101d7f43 04-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Adding new Settings.Secure properties for the Text-To-Speech functionality.
Those properties are secure to prevent applications from altering the user's settings without his knowledge.
/frameworks/base/core/java/android/provider/Settings.java
cc784e3258a020190b20b25ab0fa7423d06035fe 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 2f1b422d: Merge change 3249 into donut

Merge commit '2f1b422dc8d30da19dfc51911261d92ccccd9edd'

* commit '2f1b422dc8d30da19dfc51911261d92ccccd9edd':
Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
48603e7fed957f318b12aa24089e0b13c3e78529 05-Jun-2009 Mike LeBeau <mlebeau@android.com> Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
(in a follow-on change). This setting, to be respected by global search, and which
I will also file a bug to the browser to respect, determines whether live web
suggestions will be shown to the user as they type. For privacy reasons, this
could be considered undesirable, as partial queries can then be sent to the user's
chosen search engine, so a setting was required.
/frameworks/base/core/java/android/provider/Settings.java
e87b2f02761744520c841f536d3f2d7be97fcc91 03-Jun-2009 Wei Huang <weih@google.com> add Gservices settings for adaptive heartbeat parameters and wifi heartbeat interval.
/frameworks/base/core/java/android/provider/Settings.java
733f840aaa979c010e77cf2a69cfa106279e4721 30-May-2009 Android (Google) Code Review <android-gerrit@google.com> am c3b7e4e7: Merge change 2736 into donut

Merge commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2'

* commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2':
Telephony support for SMS memory reporting to the network.
867641ece36e2fd17faaea79cf19506ab17177c6 28-May-2009 jsh <jsh@google.com> Telephony support for SMS memory reporting to the network.

- Use ordered broadcast to allow receivers to set a result code.
- Ack SMS with result code.
- New RIL command to report memory status.
- Fixed a typo in a Gservices setting.
- Merge in CL 137895 (hold a wake lock while broadcasting SMS_RECEIVED).
/frameworks/base/core/java/android/provider/Settings.java
a85d46aff547a1007beb32b01d1dfab68a2115b4 22-May-2009 Wei Huang <weih@google.com> add Gservices setting for "send message using bareJid timeout".
/frameworks/base/core/java/android/provider/Settings.java
58eef7e4cf004857d1accef9b1bf4fed87ecf76b 22-May-2009 Wei Huang <weih@google.com> add Gservices setting for "send message using bareJid timeout".
/frameworks/base/core/java/android/provider/Settings.java
b84905662f85e6c42236fa1d2792f6e0a53c88e8 18-Apr-2009 Costin Manolache <costin@google.com> Add option for gtalk stream compression
/frameworks/base/core/java/android/provider/Settings.java
60e6e19907c2a92242e6ae1c2df74c1f45609b92 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 83a6ec60: Merge change 1791 into donut

Merge commit '83a6ec600259d245b799a99a8e963704db031a63'

* commit '83a6ec600259d245b799a99a8e963704db031a63':
Add a method to get the PhoneType in CellLocation.
9bfbfbd40df381817c0c685b177a2a1d666e101d 15-May-2009 Jaikumar Ganesh <jaikumar@google.com> Add a method to get the PhoneType in CellLocation.

CellLocation uses TelephonyManager to get the PhoneType.
TelephonyManager uses the system property to get the phoneType,
if the ITelephony interface is not up.
/frameworks/base/core/java/android/provider/Settings.java
ad8195bb0ea9ed087519d899402571c8608c0b48 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2f11599e: Merge change 1579 into donut

Merge commit '2f11599eb317887a8cca14d8e66bfc485e5169e7'

* commit '2f11599eb317887a8cca14d8e66bfc485e5169e7':
Teleca 2b changes
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/core/java/android/provider/Settings.java
e18b02cc2c142fe5cf4a1c9753822876931b7da8 15-May-2009 Dan Egnor <egnor@google.com> am abc25e36: Add intent for gservices override, and handle empty arguments properly in the "am" utility.

Merge commit 'abc25e3679a9de2625eadf3e3050a6973f7a6c71'

* commit 'abc25e3679a9de2625eadf3e3050a6973f7a6c71':
Add intent for gservices override, and handle empty arguments properly
abc25e3679a9de2625eadf3e3050a6973f7a6c71 14-May-2009 Dan Egnor <egnor@google.com> Add intent for gservices override, and handle empty arguments properly
in the "am" utility.
/frameworks/base/core/java/android/provider/Settings.java
76879bc2343779d4d2a870b7bd46b0544c0cc46c 15-May-2009 svetoslavganov <svetoslavganov@google.com> resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge....
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/core/java/android/provider/Settings.java
f967afde2e172a7a2aa8cb08473ede676a836092 18-Apr-2009 Costin Manolache <costin@google.com> Add option for gtalk stream compression
/frameworks/base/core/java/android/provider/Settings.java
935ae463d495d41155e27feb849768ad2b8b16db 14-Apr-2009 Dianne Hackborn <> AI 145994: Integrate #145778 from Donut.

Automated import of CL 145994
/frameworks/base/core/java/android/provider/Settings.java
3156bb00dd3ab3d6ec732bb6a64a2e84d08c34f0 13-Apr-2009 Patrick Scott <> AI 145870: Add a build property for the default alarm alert. Update the various
framework classes to deal with the new property. Also update various
documentation that mentions the default ringtones.
Use the build property as the default alert when the user has not chosen
an alert for an alarm. This is also used if the alarm alert is null when
the alarm fires.
BUG=1723684

Automated import of CL 145870
/frameworks/base/core/java/android/provider/Settings.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
/frameworks/base/core/java/android/provider/Settings.java
44e4aaf13318be21913e9c4b0e70a922415e30e7 08-Apr-2009 Cynthia Wong <> AI 145124: am: CL 144928 Make the uphill discarding ops functionality controllable via a Gservices flag
Original author: cynthiaw

Automated import of CL 145124
/frameworks/base/core/java/android/provider/Settings.java
f62b80fa1ba6b0a4cf5996655812bca79ff6c49e 08-Apr-2009 Cynthia Wong <> AI 144928: Make the uphill discarding ops functionality controllable via a Gservices flag
BUG=1725022

Automated import of CL 144928
/frameworks/base/core/java/android/provider/Settings.java
bd2a7126e5b42e022228c6aac25e95b671e5263b 03-Apr-2009 Mike Lockwood <> AI 144415: am: CL 144372 Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
making LocationManager.updateProviders() unnecessary.
Removed LocationManager.updateProviders()
Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
of enabling or disabling a single location provider.
This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
BUG=1729031
Original author: lockwood

Automated import of CL 144415
/frameworks/base/core/java/android/provider/Settings.java
460ae0c910e46f6aeb48316f8745be810f68b5a4 03-Apr-2009 Mike Lockwood <> AI 144389: am: CL 144221 Fix typo in Javadoc
Original author: lockwood

Automated import of CL 144389
/frameworks/base/core/java/android/provider/Settings.java
9637d474899d9725da8a41fdf92b9bd1a15d301e 03-Apr-2009 Mike Lockwood <> AI 144372: Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
making LocationManager.updateProviders() unnecessary.
Removed LocationManager.updateProviders()
Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
of enabling or disabling a single location provider.
This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
BUG=1729031

Automated import of CL 144372
/frameworks/base/core/java/android/provider/Settings.java
04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
/frameworks/base/core/java/android/provider/Settings.java
570d05f776106a715d00099c8bd5e716be1f4aa3 02-Apr-2009 Mike Lockwood <> AI 144221: Fix typo in Javadoc

Automated import of CL 144221
/frameworks/base/core/java/android/provider/Settings.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/core/java/android/provider/Settings.java
63f49f1c3a093c314df863c13b8d7a29d04437ec 26-Mar-2009 Mark Womack <> Automated import from //branches/donutburger/...@142717,142717
/frameworks/base/core/java/android/provider/Settings.java
78ef45602aad6dff0f6b61f2a327aec87c0f5fce 26-Mar-2009 Mark Womack <> Automated import from //branches/master/...@142755,142755
/frameworks/base/core/java/android/provider/Settings.java
afb6c8eafc96dcee4d2fa465eb5a2eba6b38f36f 25-Mar-2009 Cedric Beust <> Automated import from //branches/master/...@142319,142319
/frameworks/base/core/java/android/provider/Settings.java
079c6f64f998c62028290d9ef4c8b88ef0f7563c 25-Mar-2009 Cedric Beust <> Automated import from //branches/donutburger/...@142318,142318
/frameworks/base/core/java/android/provider/Settings.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/provider/Settings.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/provider/Settings.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/provider/Settings.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/provider/Settings.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/provider/Settings.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/provider/Settings.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/base/core/java/android/provider/Settings.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/provider/Settings.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
/frameworks/base/core/java/android/provider/Settings.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/frameworks/base/core/java/android/provider/Settings.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/provider/Settings.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/provider/Settings.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/provider/Settings.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/provider/Settings.java