8358 Commits

Author SHA1 Message Date
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
Vasu Nori
3ef94e25b4 use sqlite 3.6.22 to print and profile the sql statetements
instead of rolling our own trace/profile code in java, lets use
sqlite 3.6.22 features. turns out sqlite does a good job of
printing the sql statements - including the ones from the triggers.
2010-02-08 10:56:48 -08:00
The Android Open Source Project
5d36c46d2d am ad9bcb22: merge from open-source master
Merge commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f'

* commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f':
  Fix x coordinate of the ACTION_UP event in TouchUtils.drag() method
  Fixed Android animation framework, for using interpolators that do not start at 0.0f
  Fix for GPS engines without separate session and engine status events.
  Be tolerant of GPS session and engine on status messages arriving out of order.
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off
2010-02-08 09:17:10 -08:00
Bjorn Bringert
7406e53c4c Merge "Fixing a bug when installing VoiceSearch cause error" 2010-02-08 06:20:08 -08:00
Valentin Kravtsov
7a3c9d31bb Fixing a bug when installing VoiceSearch cause error
Reinstalling VoiceIME created a problem because RecognitionService expected the first command to be setListener, in this version, such command is added
if the connection is broken.

Change-Id: Ia102fc1843053e2bdd330b380c2685a1227081b2
2010-02-08 14:04:18 +00:00
Vasu Nori
0bce138ee4 Merge "fix a warning message that is confusing people." 2010-02-05 21:37:42 -08:00
Adam Powell
7e64962d0c Merge "ListView updates. Fixed several overscrolling bugs. Added programmatic scrolling to ListView. Added auto-scrolling to show expanded content for ExpandableListView. Fixed an AbsListView recycler bug where offscreen views would stick around in the view hierarchy." 2010-02-05 18:01:45 -08:00
Adam Powell
4580347998 ListView updates. Fixed several overscrolling bugs. Added programmatic
scrolling to ListView. Added auto-scrolling to show expanded content
for ExpandableListView. Fixed an AbsListView recycler bug where
offscreen views would stick around in the view hierarchy.

Addresses bugs 1161597 and 1119429.
2010-02-05 17:57:41 -08:00
Daniel Sandler
f6a5c0999d Groundwork for new lock icon in the status bar.
Will be shown when the screen is on and the secure
lockscreen is engaged (i.e. shown, or active but behind a
FLAG_SHOW_WHEN_LOCKED activity).

Change-Id: I03475c8ba4abfe87c7e4a4c6b833e12c71d6dbc0
2010-02-05 16:49:20 -08:00
Romain Guy
8186ae5a96 Merge "Do not let negative margins reduce the size of the LinearLayout." 2010-02-05 15:35:10 -08:00
Romain Guy
053b48051a Do not let negative margins reduce the size of the LinearLayout. 2010-02-05 15:34:33 -08:00
Fred Quintana
c5d1c6db61 add sync polling
- added the ability to specify that a sync (of account/authority/extras)
  should occur at a given frequency
- the existing daily poll code was replaced with seeding each
  account/authority with a 24 hour periodic sync
- enhanced the "adb shell dumpsys content" output to show the
  periodic syncs and when they will next run
2010-02-05 15:16:20 -08:00
Vasu Nori
adf1c58fa9 fix a warning message that is confusing people.
warning message printed when the compiled-sql statament cache is emptied out is
not making sense to people. hope this version is better.
2010-02-05 15:14:32 -08:00
The Android Open Source Project
ad9bcb22d0 merge from open-source master 2010-02-05 13:55:16 -08:00
Romain Guy
b74a84dea5 Merge "Fix dialogs to occupy more space." 2010-02-05 13:00:06 -08:00
Romain Guy
d60d3742ab Fix dialogs to occupy more space. 2010-02-05 12:58:47 -08:00
Ken Shirriff
2cd2374805 Merge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent." 2010-02-05 12:45:15 -08:00
Ken Shirriff
15049e46f7 Make ACCOUNT_NAME/ACCOUNT_TYPE consistent.
Some code was using "account_name" and some was using "_sync_account".
Also move definitions so they can be accessed by Event, Calendar,
and EventsEntity.

bug 2420732
2010-02-05 12:44:04 -08:00
Dan Egnor
97e4494728 Add an AlarmManager API to set the system time (with the proper permissions). 2010-02-05 12:31:41 -08:00
Paul Westbrook
7722abe259 Bug 2420366
Rehide NumberPicker widget
2010-02-05 09:31:38 -08:00
Leon Scroggins
744d902453 Add a new permission and remove createTitleFromFilename.
Part of http://b/issue?id=2384554

Requires a change to packages/providers/DownloadProvider
2010-02-05 11:18:34 -05:00
Valentin Kravtsov
3da3cad972 Adding speech recognition service public API
Change-Id: Ia2c13d4c7993d646956090aa5c56d1a441af9e5a
2010-02-05 14:21:07 +00:00
Andreas Agvard
4766defdd0 Fixed Android animation framework, for using interpolators that do not start at 0.0f
There is a bug that affects interpolators that do not return 0.0f when given 0.0f as input. All default interpolators in Android do return 0.0f, which is why it hasn't been
noticed. Some custom interpolators can for example run backwards, returning 1.0f when given input 0.0f.
2010-02-05 08:16:01 +01:00
Dianne Hackborn
50929f089b Merge "Rename ApplicationContext to ContextImpl." 2010-02-04 16:53:47 -08:00
Dianne Hackborn
2155637d00 Rename ApplicationContext to ContextImpl.
I've been wanting to do this for a long long time.
2010-02-04 16:34:40 -08:00
Chris Tate
5c1779b8ac Merge "Add single-package restore from an app's most-recent data" 2010-02-04 16:27:42 -08:00
Christopher Tate
8472581aa3 Add single-package restore from an app's most-recent data
Renamed the RestoreSession performRestore() method to restoreAll(), and
added a new restorePackage() method that only restores the single
specified app.  In order to restore an app other than itself, the
caller must hold the android.permission.BACKUP permission.

This change also introduces dataset tracking:  the Backup Manager
persistently remembers both the current backup dataset's identity
and that of the "ancestral" dataset, i.e. the one most recently used
for a whole-device restore such as performed by SetupWizard.  When a
single package is restored via restorePackage(), the selection of
most-recent dataset to use is this:

1. The data from the currently-active backup dataset, if such exists.
   An app that has ever backed up data will therefore get its last-
   known-good data.

2. The app's data from the ancestral dataset, if such exists.  This
   covers the case of a factory reset followed by reinstallation of
   an app at a later time.  The app had not yet backed anything up
   post-wipe, but the old data is in the ancestral dataset and should
   be brought forward when the app reappears.

3. If neither 1. nor 2. exist, there is no data to restore, so just
   skip it and return failure.

Note that the infrastructure to automatically attempt a restore after
an application has been installed does not yet exist; that's coming.

Change-Id: I0ba170df9885128000c46ed28d3dddda3a63a143
2010-02-04 16:01:09 -08:00
Daniel Sandler
64226a49b7 Merge "Add support in StatusBarManager for disabling ticker text." 2010-02-04 15:58:18 -08:00
Daniel Sandler
91e1d0cdda Add support in StatusBarManager for disabling ticker text.
The new flag, DISABLE_NOTIFICATION_TICKER, will be used by
the car dock app (in conjunction with DISABLE_EXPAND) to
minimize distractions to the driver.

It may also be used by the secure lockscreen to avoid
leaking personal information when the screen is on but the
device is locked (e.g. when the desk dock app is running).

Change-Id: Ibc8efde7da7501767163ae0a75f7c369b824e2a2
2010-02-04 15:55:00 -08:00
Mathias Agopian
ac72cb96e4 Merge "fix [2313526] sensor enable race condition" 2010-02-04 15:26:27 -08:00
Mathias Agopian
b3dc5eb4e4 fix [2313526] sensor enable race condition
Make sure we wait until the SensorThread is running an has open the sensors fd.
Also handle errors when/if this fails.
2010-02-04 15:25:05 -08:00
Michael Chan
a969dc4ea4 Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> out)
Note that Rfc822Tokenizer.tokenize(CharSequence text) is already in the SDK
and it just wraps the version I am unhiding.

Change-Id: I1ac3b405a04df960fc1e65ca4797d6f5adf85dc4
2010-02-04 14:51:28 -08:00
Ken Shirriff
5c19aeca3d API review: TrafficStats: rename Pkts to Packets
Rename getMobileTxPackets(), getMobileRxPackets(), getTotalTxPackets(),
getMobileRxPackets()

bug 2420318
2010-02-04 14:37:21 -08:00
Romain Guy
46c53129c6 Rename GestureUtilities to GestureUtils. 2010-02-04 14:27:00 -08:00
Kenny Root
8f3ff09556 Merge "resolved conflicts for merge of dd24f599 to master" 2010-02-04 14:26:40 -08:00
Kenny Root
2cce6267a0 resolved conflicts for merge of dd24f599 to master
Change-Id: I57c349c493d69585d4c85e8c0970649708c6bd33
2010-02-04 14:23:39 -08:00
Dianne Hackborn
7b4030dbe7 Merge "Framework part of issue #2391576: Add method to start the Jit and call it" 2010-02-04 12:48:12 -08:00
Bjorn Bringert
fb06c59a55 Merge "Remove source selector from SearchDialog" 2010-02-04 12:28:48 -08:00
Dianne Hackborn
2a9094d079 Framework part of issue #2391576: Add method to start the Jit and call it 2010-02-04 11:54:34 -08:00
Daniel Sandler
1ec608d13a Sharper mdpi transfers of usb_android{,_connected}.png.
Change-Id: Ic5b6a0b23b5fc4c71e2628156905e69faf56b999
2010-02-04 11:51:41 -08:00
Bjorn Bringert
da5c1bd444 Remove source selector from SearchDialog
Fixes http://b/issue?id=2419208

This reverts commit 32d580c360da0a0f15e7a080f4ebd0b7b514fe4c.

Change-Id: I5d8821d52badf3e0347230b86671f8ceb65a663d
2010-02-04 19:34:19 +00:00
Daniel Sandler
09922d855b Merge "Stop scaring the kids when USB is connected." 2010-02-04 10:44:50 -08:00