6517 Commits

Author SHA1 Message Date
San Mehat
739e1f8cda Merge "MountService: Add isSecureContainerMounted() API call" 2010-02-09 19:30:34 -08:00
Alex Gruenstein
46d3502333 Merge "Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults()" 2010-02-09 18:57:11 -08:00
Romain Guy
8c583083df Merge "Fix the lock screen." 2010-02-09 18:50:55 -08:00
Romain Guy
b4a107d826 Fix the lock screen. 2010-02-09 18:50:08 -08:00
San Mehat
6cdd9c0856 MountService: Add isSecureContainerMounted() API call
Signed-off-by: San Mehat <san@google.com>
2010-02-09 18:46:05 -08:00
Brad Fitzpatrick
a63730d1f1 Log ContentProvider operations to the EventLog.
Just like with db_operation, operations over 100ms are always logged,
while operations under that are subsampled.

This will help with performance analysis, getting real-world
performance numbers from dogfooders.
2010-02-09 17:49:43 -08:00
Adam Powell
e1d683074b am 87da8606: Manually merged VelocityTracker changes
Merge commit '87da860616009a86e260e49bbefffe12c1a06607'

* commit '87da860616009a86e260e49bbefffe12c1a06607':
  Use a circular buffer in VelocityTracker
2010-02-09 17:35:52 -08:00
Fred Quintana
c4893b71e5 Merge "only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later" 2010-02-09 17:07:47 -08:00
Eric Fischer
6909b5a639 Merge "Make the Date Picker fields more consistent in locales with numeric months." 2010-02-09 16:10:57 -08:00
Eric Fischer
5fe1e6221e Make the Date Picker fields more consistent in locales with numeric months.
In locales that use month numbers instead of names, use *just* the number
instead of also the word for month to be consistent with the other fields,
which also show just a number instead of a number plus the word for day
or year.

Bug 2289276
2010-02-09 15:58:50 -08:00
Alex Gruenstein
cc47fae688 Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults() 2010-02-09 15:25:53 -08:00
Adam Powell
87da860616 Manually merged VelocityTracker changes 2010-02-09 14:25:41 -08:00
Dianne Hackborn
632aa76422 Merge "New external storage APIs." 2010-02-09 14:22:29 -08:00
Dianne Hackborn
e83cefcef0 New external storage APIs.
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.
2010-02-09 14:20:55 -08:00
Fred Quintana
751fdc09bb only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later 2010-02-09 14:13:18 -08:00
Leon Scroggins
df737e442e Merge "Set the IME action to GO for normal textfields." 2010-02-09 14:12:07 -08:00
Leon Scroggins
af314e246d Set the IME action to GO for normal textfields. 2010-02-09 17:06:59 -05:00
Leon Scroggins
5c84bf0a3b Restart input when moving to a new textfield.
Ensures that the IME action gets updated properly.

Fixes http://b/issue?id=2428023
2010-02-09 17:03:44 -05:00
Dan Egnor
44d993798f Merge "Fix NPE in FileObserver when multiple events pile in for a defunct observer. Also, fix up some bogus whitespace (hard tabs, etc)." 2010-02-09 13:47:21 -08:00
Romain Guy
cdc045dd6d Merge "Properly notifies listener when an animation is cancelled. Bug: #2428005." 2010-02-09 13:21:09 -08:00
Vasu Nori
cb72cda8ca Merge "change wording in warning msg printed when compiled-sql cache is full" 2010-02-09 12:29:21 -08:00
Bjorn Bringert
8e867eb454 Merge "Fix NPE in PackageParser" 2010-02-09 12:09:28 -08:00
Vasu Nori
82f82be4b3 change wording in warning msg printed when compiled-sql cache is full 2010-02-09 11:49:01 -08:00
Romain Guy
305a2eb8e5 Properly notifies listener when an animation is cancelled.
Bug: #2428005.
2010-02-09 11:36:44 -08:00
Shimeng (Simon) Wang
b7f17d4742 Take into account the visible title height when scrolling.
Bug: 2425057
	modified:   core/java/android/webkit/WebView.java
2010-02-09 11:32:16 -08:00
San Mehat
b104340496 Framework: Clean up / Refactor Mount APIs
- 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>
2010-02-09 11:03:16 -08:00
Adam Powell
18f75bd45c am e88192b9: Cleanup fixes for ScaleGestureDetector
Merge commit 'e88192b9d2a8c364d8545471907c5baa275bb5f6' into eclair-plus-aosp

* commit 'e88192b9d2a8c364d8545471907c5baa275bb5f6':
  Cleanup fixes for ScaleGestureDetector
2010-02-09 10:55:57 -08:00
Adam Powell
e88192b9d2 Cleanup fixes for ScaleGestureDetector 2010-02-09 10:27:48 -08:00
San Mehat
c8da710f00 Merge changes I1aabef01,I8dbd0f83
* changes:
  SystemServer: Move MountService startup before NotificationManagerService
  StorageManager: Check for a null MountService
2010-02-09 08:58:23 -08:00
Kenny Root
ace5a3fbfb Hide resourceDirs from public API
Change-Id: I070558c0adca43c8650ac740d3cda4334d0f4a50
2010-02-09 08:47:30 -08:00
Leon Scroggins
d5ff5dbfeb Handle the Tab key by moving to the next textfield. And ensure
there is always a way to get to the next field.

http://b/issue?id=2414236 and http://b/issue?id=2414229
2010-02-09 10:30:08 -05:00
Bjorn Bringert
e04b1ad9cd Fix NPE in PackageParser
Before, PackageParser threw NPE when reading <path-permission>
android:writePermission set.

Fixes http://b/issue?id=2430967

Change-Id: I4c69f0210ab362a649ff239c5f9e927d93c2f241
2010-02-09 13:56:08 +00:00
Andy Stadler
a90cee8250 Merge "Fixes to DeviceAdmin & DevicePolicyManager Javadoc" 2010-02-08 23:06:31 -08:00
Andrew Stadler
88209d15dd Fixes to DeviceAdmin & DevicePolicyManager Javadoc
1.  Fix build break caused by renaming of sample app files
2.  Rewrote JavaDoc for setMaximumFailedPasswords()
2010-02-08 22:59:36 -08:00
Jim Miller
0b31970cac Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView
- Added new PasswordEntryKeyboardView to internal/widgets.  Widget supports:
	- alpha mode with symbols (latin-1 only).
	- a numeric keyboard
	- IME emulation that applies keyboard input to arbitrary top-level view widget.
- Added new transparent assets to framework resources.
- Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
2010-02-08 21:04:39 -08:00
San Mehat
17da5a691c StorageManager: Check for a null MountService
Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
Dan Egnor
d95244faef Fix NPE in FileObserver when multiple events pile in for a defunct
observer.  Also, fix up some bogus whitespace (hard tabs, etc).
2010-02-08 17:21:18 -08:00
Fred Quintana
53bd2522ca - change the SyncManager to retry MANUAL syncs that encounter a soft error
- make the sync dump handle the case where there are no accounts
- fix a bug that caused the SyncManager to burn up CPU in the system process

The following was implemented:

scheduler offers:
 - settings to disable sync
 - retries of certain errors
 - backoffs

want a way to control these when scheduling a sync
 - "ignore_settings"
 - "ignore initial backoff"
 - "manual" : ignore settings, ignore initial backoff
 - "do not retry"

- need to change the default behavior of not retrying manual syncs to retry regardless
2010-02-08 16:54:43 -08:00
Amith Yamasani
ec5df83c5b Fix to enable having a primary index that's not the closest match.
Needed for predictive hit target correction in LatinIME.
2010-02-08 15:26:00 -08:00
Romain Guy
1fa2d46fd2 Merge "Always remember the last touch mode state when touch mode changes." 2010-02-08 14:59:03 -08:00
Romain Guy
498b2960d5 Always remember the last touch mode state when touch mode changes.
Do not just rely on getting an onWindowFocusChanged() event. There are cases
where we might not get it (view removed from the window for instance.)
2010-02-08 14:58:01 -08:00
Suchi Amalapurapu
a22927909f Merge "Rename media resource broadcasts Add checks for fwdlocked and updated system apps add more tests remove duplicate adds" 2010-02-08 14:51:38 -08:00
Suchi Amalapurapu
b56ae20b22 Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
2010-02-08 14:52:25 -08:00
Mike Reed
c9532609f5 animated the return to normal of mr-stretchy 2010-02-08 17:18:40 -05:00
Joe Onorato
e8d898f4ed Merge "Make ComponentName cloneable." 2010-02-08 13:10:46 -08:00
Romain Guy
43d5e65049 Merge "Prevent crash in KeyboardView when the view is 0x0." 2010-02-08 13:06:17 -08:00
Joe Onorato
edc649aabc Make ComponentName cloneable. 2010-02-08 12:40:45 -08:00
Doug Zongker
870d81d038 remove android.os.Base64Utils
There are no more users of this code.

Change-Id: Ie0109ece2ea329aeb9607e9193eaf0808955eab9
2010-02-08 12:27:07 -08:00
Romain Guy
46a61bb730 Prevent crash in KeyboardView when the view is 0x0.
See http://code.google.com/p/android/issues/detail?id=6374
2010-02-08 11:57:55 -08:00
Vasu Nori
8d45e4e4c6 changes after review by API council
please refer to http://b/issue?id=2420299
2010-02-08 11:12:04 -08:00