summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure to apply the auto-restore setting when the system is restoredChristopher Tate2010-02-261-0/+13
| | | | Change-Id: If2e09d6b4e65c75e7e90754adc2425fa73d2602a
* Re-arrange android-common so framework no longer links with it.Dianne Hackborn2010-02-251-1/+1
| | | | | | | 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.
* Merge "Fix bug 2452941 Add a flag to maintain the intended direct playback ↵Jean-Michel Trivi2010-02-251-3/+21
|\ | | | | | | of TTS data independently from the associated AudioTrack state. Only start the track when it's been stopped but is supposed to be playing."
| * Fix bug 2452941 Add a flag to maintain the intended direct playbackJean-Michel Trivi2010-02-241-3/+21
| | | | | | | | | | | | of TTS data independently from the associated AudioTrack state. Only start the track when it's been stopped but is supposed to be playing.
* | Filenames of sound effects are not translatable.Eric Fischer2010-02-241-7/+7
| |
* | Some framework fixes for apps on sdSuchi Amalapurapu2010-02-241-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | change hard coded path in installd fix tests Work around for renaming containers. Do forced unmount when destroying containers. Force a gc in default container service to release handle to parsed package and thus avoid getting killed by vold Some cosmetic changes to PackageManager api. Unit tests for renaming container for MountService Remove internal size limit on app to be installed.
* | Turn off lock screen sounds by default.Daniel Sandler2010-02-231-4/+4
| | | | | | | | | | | | | | | | | | | | This change also fixes a typo that was suppressing the dock sounds. But: so as not to surprise anyone, this change defaults dock sounds off as well. Will need to add UI somewhere to turn them on (Spare Parts?). Bug: 2465483 Change-Id: Ic2cccb416d5616a84363debb740bf5897f0831c4
* | Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, ↵Oscar Montemayor2010-02-221-1/+20
| | | | | | | | upgrade path.
* | Fix issue #2438980: Implement package watcher for voice recognizer service ↵Dianne Hackborn2010-02-222-43/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Move package from internal to external and vice versa.Suchi Amalapurapu2010-02-191-2/+6
|/
* Fix issue #2420412: API review: DeviceAdmin API changesDianne Hackborn2010-02-171-2/+3
| | | | | | | | Note in docs that callbacks are on main thread. Rename to DeviceAdminReceiver? Document resetPassword is the device's password. Also hide android.R.attr.neverEncrypt.
* Move mount service wrapper calls to PackageHelperSuchi Amalapurapu2010-02-161-121/+22
| | | | Fix bug related to forward locked apps.
* Merge "Include install location preference when installing packages. Changes ↵Suchi Amalapurapu2010-02-162-2/+146
|\ | | | | | | include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests"
| * Include install location preference when installing packages.Suchi Amalapurapu2010-02-122-2/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests DefaultContainerService first parses the file uri(if content uri is specified it returns a default install internal only value) and returns a recommended location. Based on which the temporary id is determined either a file name or a container id and the file is copied there. This is then later renamed during install. Todo's light weight parsing of package when determining location since we just need the install location attribute only when finding out recomended location. This will also enable to move the check for updated system apps(cannot be on sdcard) prior to copying.
* | New user interface sound effects:Daniel Sandler2010-02-122-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge "Remove BACKUP_DATA permission and associated checks"Chris Tate2010-02-121-2/+0
|\ \
| * | Remove BACKUP_DATA permission and associated checksChristopher Tate2010-02-121-2/+0
| |/ | | | | | | | | | | | | | | Any package can now participate in backup/restore, without requiring any manifest-declared permission. *Control* of the backup manager is still guarded by the BACKUP permission, which is signatureOrSystem. Change-Id: I116fcfcd4cd255e3c976330da1c4dea7d4faae9d
* | Watch 2274882: Add a field to the db when we wipe due to an error in the ↵Jim Miller2010-02-121-7/+12
|/ | | | | | upgrader. This should give us the ability to diagnose and fix db upgrade errors as reported by partners and end users.
* Use the new RecognitionService.SERVICE_INTERFACE instead ofMike LeBeau2010-02-111-1/+2
| | | | | RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service.
* Merge "Setting the synth busy flag inside a synchronized block for thread ↵Charles Chen2010-02-111-2/+6
|\ | | | | | | safety."
| * Setting the synth busy flag inside a synchronized block forCharles Chen2010-02-101-2/+6
| | | | | | | | thread safety.
* | Add new setting for the ComponentName of the service to be usedMike LeBeau2010-02-111-1/+49
| | | | | | | | | | | | | | | | | | | | 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.
* | Set default value for default install locationSuchi Amalapurapu2010-02-101-1/+3
| |
* | Add new manifest option for install locationSuchi Amalapurapu2010-02-102-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | New external storage APIs.Dianne Hackborn2010-02-092-4/+41
| | | | | | | | | | | | | | | | | | | | | | This implements the spec for external storage organization, and properly reflects how the media scanner organizes the files it finds. Also includes package manager support for removing app private files from external storage when the application is uninstalled. For the new APIs and paths, the main place to look is Environment and Context.
* | Framework: Clean up / Refactor Mount APIsSan Mehat2010-02-091-6/+6
|/ | | | | | | | | | | | | | | | | | | | | | - Move android.storage.* -> android.os.storage.* and refactor users - Refactor generic shares back to explicit ums enable/disable/isEnabled - Remove media insert/removed event callbacks (not ready for Froyo) - Remove 'label' from volume state change callbacks - Add public API functions for enabling/disabling USB mass storage (permissions enforced in MountSevice) - Remove some stray un-needed import lines - Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage - Improve code comments Updated: MountService: Add dup state check and move debugging behind a conditional UsbStorageActivity: Fix review comments + a TODO StorageNotification: Add @Override tags StorageManager: Don't use a static Listener list MountService: Reduce bloat and fix == where I meant .equals() PackageManagerTests: Update for new API Signed-off-by: San Mehat <san@google.com>
* Fixing a race condition in the TextToSpeech service that could beCharles Chen2010-02-081-2/+12
| | | | | triggered if many long utterances are started and interrupted in rapid succession.
* Merge "Fixing a bug with the TextToSpeech speech queue processing. The queue ↵Charles Chen2010-02-051-2/+2
|\ | | | | | | processor should not be called for the next item until synthesis has actually happened for the current item; before it was being incorrectly called regardless of whether or not the synthesizer had processed the current item."
| * Fixing a bug with the TextToSpeech speech queue processing.Charles Chen2010-02-051-2/+2
| | | | | | | | | | | | | | The queue processor should not be called for the next item until synthesis has actually happened for the current item; before it was being incorrectly called regardless of whether or not the synthesizer had processed the current item.
* | use device serial number to seed RNG for generating ANDROID_IDDoug Zongker2010-02-031-2/+11
| | | | | | | | Change-Id: I1bcc55f1309cb908803bc42084846a046041eda6
* | Apps on sdcard: Add new broadcastsSuchi Amalapurapu2010-02-021-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Add new broadcasts ACTION_MEDIA_RESOURCES_AVAILABLE and ACTION_MEDIA_RESOURCES_UNAVAILABLE that get broadcast by PackageManagerService when sdcard gets mounted/unmounted by MountService so that packages on sdcard get recognized by various system services as being installed/available or removed/unavailable by the system. The broadcasts are sent before the actual package cleanup which includes mounting/unmounting the packages and we force a gc right after so that any lingering file references to resources on sdcard get released.
* | DefaultContainerService: Refactor MountService calls (new api)San Mehat2010-02-021-39/+34
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | More device policy work: clarify password modes, monkeying.Dianne Hackborn2010-01-291-2/+17
|/ | | | | | | | 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.
* Add asec permission to DefaultContainerServiceSuchi Amalapurapu2010-01-271-0/+4
|
* AppsOnSd feature - Add default containerSuchi Amalapurapu2010-01-274-0/+354
| | | | | | | | | | | | | | | | | | Add new remote interface to do temporary copies. The new remote stub handling is done on mHandler thread and doesn't need locking for now. Add new InstallArgs class and subclasses to isolate cases for installation. Move resource deletion for failed installs/upgrades to later on in installation cycle. Fix code path for forward locked apps when using scanPackageLI TODO's Fix installation paths to completely use InstallArgs based design later on. Get rid of using flags in various install/uninstall code paths. Ideally InstallArgs should be created using these flags and used in the rest of the code. Function renames. Revisit mount api's.
* Remove unused providersKen Shirriff2010-01-221-1/+0
| | | | bug 2388178
* More device policy manager / admin work.Dianne Hackborn2010-01-211-1/+16
| | | | | Update API with some new features, re-arrange how you check for valid passwords, and start hooking up the back-end implementation.
* Fix 2385283: Add DevicePolicyManager calls to LockScreen.Jim Miller2010-01-201-4/+4
|
* Apply EQ on the output of the speech synthesis only when using the PicoJean-Michel Trivi2010-01-112-22/+76
| | | | TTS engine.
* Merge "Enabling multiple apps to use different speech synthesis engines and ↵Charles Chen2010-01-081-0/+12
|\ | | | | | | not interfere with one another."
| * Enabling multiple apps to use different speech synthesis engines and notCharles Chen2010-01-081-0/+12
| | | | | | | | interfere with one another.
* | Merge "Remove useless start of AudioTrack for TTS and improper volume ↵Jean-Michel Trivi2010-01-081-3/+2
|\ \ | | | | | | | | | setting. The AudioTrack that plays the synthesized audio data should only be started when the first synthesis request is sent, not after the initialization of the engine. The track volume should be initialized to it nominal level. Volumes above 1 do not provide amplification, so setting the volume to 2 is not necessary."
| * | Remove useless start of AudioTrack for TTS and improper volume setting.Jean-Michel Trivi2010-01-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The AudioTrack that plays the synthesized audio data should only be started when the first synthesis request is sent, not after the initialization of the engine. The track volume should be initialized to it nominal level. Volumes above 1 do not provide amplification, so setting the volume to 2 is not necessary.
* | | Settings: Add settings for MountService prefs and bump DB version to 46San Mehat2010-01-082-4/+43
|/ / | | | | | | | | | | | | | | | | | | | | | | 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>
* | less log spewJoe Onorato2010-01-081-1/+0
| |
* | Merge "Update with latest translations."Eric Fischer2010-01-083-5/+5
|\ \
| * | Update with latest translations.Eric Fischer2010-01-073-5/+5
| |/
* | remove Settings.GservicesDoug Zongker2010-01-072-25/+17
| | | | | | | | | | | | | | Move the last few keys to secure settings, and delete the Gservices table. Change-Id: Ie3ba45aa8c1f220824aa027c547cb82884452eb5
* | change remaining frameworks/base Gservices to Secure settingsDoug Zongker2010-01-071-2/+0
|/ | | | Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
* Do not use a user tag on apps, as it is ignored.Jean-Baptiste Queru2010-01-063-3/+3
| | | | | | | | | | The build system does not honor user tags on apps, and setting it is misleading. This removes the confusion by making the makefiles behave like they read. Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885