| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We were accidentally stripping both leading and trailing commas
when removing a provider from the enabled provider list.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
| |
Change-Id: I0a48aacd8da30896d91fa05b7791335e6ed751e5
|
|
|
|
| |
This reverts commit 7cc400ee542cb718b94ce5135c62b7abdbd46231.
|
| |
|
|
|
|
| |
Change-Id: Ic4f14e2ff5c2b4f623405d30389863a9e3e82572
|
|
|
|
|
|
|
|
| |
Bug: 2569112
Wrong usage of local method.
Change-Id: I9d7c68baa7cf8dd2b7e4345555c1edc374de94e6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Bug: 2535288
Change-Id: I15ca60c7afe58fbe57e557e6d0028dc200d8b322
|
|
|
|
|
|
| |
Part of bug #2545514
Change-Id: Ic775e3b942c485252149c1b6c15c88517fa4e3e5
|
|
|
|
|
|
|
| |
unclosed SQLiteStatement objects cause finalizer warnings.
nix them by closing this object in finally block.
Change-Id: Iea86ff169f935bb743aa0c32aa4aeb0cb4fcd4ad
|
|
|
|
|
|
| |
Fix finalizer error bug 2483608
Change-Id: I49c33dc68cd3f24772990a467790ecaa06e13a18
|
|
|
|
|
|
|
|
|
| |
Use constants defined in PackageHelper for user preferences
to install auto, internal, external.
Set default install location to external.
Update settings db version number
Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6
|
|
|
|
| |
Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
|
|
|
|
|
|
|
|
|
|
|
| |
On insert(), check to see if the value is redundant by checking if
it's the same value already in our cache (but without faulting it in
to check). If so, avoid hitting sqlite or spamming all the
notification listeners with such uselessness.
This reportedly is happening a fair bit.
Change-Id: If58feb3ff1d00027dd927e0900087388cbcd72ae
|
|
|
|
| |
Change-Id: I50289ece2d7f5f50d2ea2efbacac7a0bb1483bf6
|
|
|
|
|
|
| |
Bug #2460685
Change-Id: I402e342673cd8de88664a595401a141e09583e1d
|
|
|
|
|
|
|
|
| |
This brings down Settings lookups to 0.5 ms on sholes. (down from
~10.5 ms originally, and ~2.5 ms after the ContentProvider.call()
interface)
Change-Id: Ibde7c3d21e0b0e5714714a2075f314726edfc19d
|
|
|
|
| |
Migrate old settings to secure on upgrade.
|
|
|
|
| |
Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Change-Id: If2e09d6b4e65c75e7e90754adc2425fa73d2602a
|
|
|
|
|
|
|
| |
This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
|
|
|
|
| |
upgrade path.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setting
I am getting tired of writing package monitor code, realized this is missing in
a number of places, and at this point it has gotten complicated enough that I
don't think anyone actually does it 100% right so:
Introducing PackageMonitor.
Yes there are no Java docs. I am still playing around with just what this
thing is to figure out what makes sense and how people will use it. It is
being used to fix this bug for monitoring voice recognizers (integrating the
code from the settings provider for setting an initial value), to replace
the existing code for monitoring input methods (and fix the bug where we
wouldn't remove an input method from the enabled list when it got
uninstalled), to now monitor live wallpaper package changes (now allowing
us to avoid reverting back to the default live wallpaper when the current
one is updated!), and to monitor device admin changes.
Also includes a fix so you can't uninstall an .apk that is currently enabled
as a device admin.
Also includes a fix where the default time zone was not initialized early
enough which should fix issue #2455507 (Observed Google services frame work crash).
In addition, this finally introduces a mechanism to determine if the
"force stop" button should be enabled, with convenience in PackageMonitor
for system services to handle it. All services have been updated to support
this. There is also new infrastructure for reporting battery usage as an
applicatin error report.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
upgrader.
This should give us the ability to diagnose and fix db upgrade errors as reported by partners and end users.
|
|
|
|
|
| |
RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice
recognition service.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Change-Id: I1bcc55f1309cb908803bc42084846a046041eda6
|
|
|
|
|
|
|
|
| |
Clarifies what the password modes mean, renaming them to "quality"
and updating their documentation and the implementation to follow.
Also adds a facility to find out if a monkey is running, which I
need for the api demo to avoid letting it wipe the device.
|
|
|
|
| |
bug 2388178
|
|
|
|
|
| |
Update API with some new features, re-arrange how you check for valid
passwords, and start hooking up the back-end implementation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Move the last few keys to secure settings, and delete the Gservices
table.
Change-Id: Ie3ba45aa8c1f220824aa027c547cb82884452eb5
|
|
|
|
| |
Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
|
|
|
|
|
|
| |
volume and vice versa.
Add a separate system settings entry for bluetooth SCO volume.
|
|
|
|
|
| |
Several files were moved to android-common. Update all the references
to import those files from the new location.
|
| |
|
|
|
|
| |
New System setting and code to set the defaults on upgrade.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: Id93f4c9e9fb8468a554ae1e5c5c767f72903662c
|
|
|
|
|
|
|
| |
The core logging in BackupManagerService and in the Google backup transport are
still enabled at this point.
Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
|
|\
| |
| |
| |
| | |
* changes:
Add auto-brightness mode to the list of backed-up settings
|
| |
| |
| |
| | |
Change-Id: I4302b79691ed717d810748b239311cba198f6381
|
|/
|
|
| |
Change-Id: I85efeca1a0aca91992e28236077c668e0d14cbbb
|
|
|
|
|
|
|
|
| |
The ad-hoc blacklist has been replaced by a check that whitelists each restored
datum against the set of keys that we actually back up. Keys read from the
restore data which are not found in the whitelist are not applied.
Also adds in some more debugging output, marked to be disabled for ship.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.
Fix Theme.NoDisplay to actually work.
Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.
Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).
Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
|