Commit Graph

38903 Commits

Author SHA1 Message Date
Christopher Tate
49401ddb9a Revamp backup scheduling policy
We now schedule a periodic check of pending backups; if any apps have requested
a backup since the last check, we perform all of the pending backups.  The
periodic backup scheduling matches the enable/disable state of the backup
manager; while backups are disabled entirely there are no periodic wakeups.

The period is set here to one hour.  If an external caller (transport, the
'bmgr' command line tool, etc) requests an immediate backup pass, that is
performed and then the periodic backup check is rescheduled using that pass as
the starting point of a new interval.
2009-07-01 12:38:06 -07:00
Christopher Tate
ce0bf069fe Use secure settings for backup enable / transport selection 2009-07-01 11:45:57 -07:00
Android (Google) Code Review
c2b9d63953 am a79ee8e2: Merge change 5792 into donut
Merge commit 'a79ee8e2d3b4ae3e74ccefa5eeec215b425d9a8e'

* commit 'a79ee8e2d3b4ae3e74ccefa5eeec215b425d9a8e':
  Fix typo introduced during variable cleanup.
2009-07-01 11:20:25 -07:00
Android (Google) Code Review
4cf3c3b115 am 5fb4cab2: Merge change 5787 into donut
Merge commit '5fb4cab2db174bff5e28a3a2c6f50c07e0f7a845'

* commit '5fb4cab2db174bff5e28a3a2c6f50c07e0f7a845':
  Fix http://code.google.com/p/android/issues/detail?id=3059
2009-07-01 11:20:22 -07:00
Wu-cheng Li
0795684839 am b8a10fe4: Allow setPreviewDisplay after startPreview.
Merge commit 'b8a10fe45657f2dcc50cae8a06805f8438a6937e'

* commit 'b8a10fe45657f2dcc50cae8a06805f8438a6937e':
  Allow setPreviewDisplay after startPreview.
2009-07-01 11:20:08 -07:00
Android (Google) Code Review
9fa8914eac am 33a7030f: Merge change 5780 into donut
Merge commit '33a7030f56d83126baa656820bf884ea02772751'

* commit '33a7030f56d83126baa656820bf884ea02772751':
  In TTS synthesis to file, remove hard coded values for the writing of the WAV header.
2009-07-01 11:20:02 -07:00
Android (Google) Code Review
e10809d02c am 7a573862: Merge change 5720 into donut
Merge commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60'

* commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60':
  Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
2009-07-01 11:19:50 -07:00
Android (Google) Code Review
91a546d4a9 am 083928fe: Merge change 5718 into donut
Merge commit '083928fefde7060eb69f7f45cd8e2180efa9bfe1'

* commit '083928fefde7060eb69f7f45cd8e2180efa9bfe1':
  Fix NullPointerException in DrawableContainer.mutate()
2009-07-01 11:19:32 -07:00
Tammo Spalink
71b62d29ce am 8561de15: eliminate byte-typed cdma sms fields
Merge commit '8561de157c78e65e49f6989cd2c242c416631df7'

* commit '8561de157c78e65e49f6989cd2c242c416631df7':
  eliminate byte-typed cdma sms fields
2009-07-01 11:19:28 -07:00
Android (Google) Code Review
50f380074a am 0178afe4: Merge change 5485 into donut
Merge commit '0178afe415a598b5b3b4ab5bbeec96a079a124e1'

* commit '0178afe415a598b5b3b4ab5bbeec96a079a124e1':
  cdma sms is91 support
2009-07-01 11:19:24 -07:00
Android (Google) Code Review
4a301cb495 am 8aadf7ae: Merge change 5359 into donut
Merge commit '8aadf7ae278961926de5452a46863503303735cf'

* commit '8aadf7ae278961926de5452a46863503303735cf':
  fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-07-01 11:19:19 -07:00
Christopher Tate
a2b2223817 am 6f317426: Don\'t issue a deletion for the global metadata backup
Merge commit '6f317426e49e73ef3e50d8839877504039cd2fca'

* commit '6f317426e49e73ef3e50d8839877504039cd2fca':
  Don't issue a deletion for the global metadata backup
2009-07-01 11:19:15 -07:00
Jean-Michel Trivi
a9fa179999 am bbd63cb2: Fix bug where the default TTS Service country is initialized to the default language.
Merge commit 'bbd63cb28595bd6b1fa62d331d9373b5c798c267'

* commit 'bbd63cb28595bd6b1fa62d331d9373b5c798c267':
  Fix bug where the default TTS Service country is initialized to the default language.
2009-07-01 11:18:55 -07:00
Android (Google) Code Review
15e71346dd am aa4f1f9e: Merge change 5711 into donut
Merge commit 'aa4f1f9edc94851a5892ba94af94002018821ddc'

* commit 'aa4f1f9edc94851a5892ba94af94002018821ddc':
  Adding in TTS service support for language query and level of support.
2009-07-01 11:18:50 -07:00
Android (Google) Code Review
35a2664f8d am 22e8cbc3: Merge change 5656 into donut
Merge commit '22e8cbc32bd642bcb3e9b6f161ec662bcf45ff70'

* commit '22e8cbc32bd642bcb3e9b6f161ec662bcf45ff70':
  Generate key events for actions sent to generic input connections.
2009-07-01 11:18:41 -07:00
Android (Google) Code Review
7ec1920f7f am 27a8e07e: Merge change 5699 into donut
Merge commit '27a8e07e4a10d3754c696cf5b0d947b7bdaea187'

* commit '27a8e07e4a10d3754c696cf5b0d947b7bdaea187':
  Adding status return codes for TTS calls.
2009-07-01 11:18:33 -07:00
Android (Google) Code Review
a01fda5427 am bda04135: Merge change 5669 into donut
Merge commit 'bda04135ee9375d5a6b2bf00e464c3ae69ae9ab4'

* commit 'bda04135ee9375d5a6b2bf00e464c3ae69ae9ab4':
  Fix setting of the APN type.
2009-07-01 11:18:28 -07:00
Android (Google) Code Review
ebe67f958f am 526355de: Merge change 5701 into donut
Merge commit '526355dea1fdb24e8ef49f4e5b62974f1dc637d5'

* commit '526355dea1fdb24e8ef49f4e5b62974f1dc637d5':
  Expose in SynthProxy the query for the TTS supported and current language.
2009-07-01 11:18:23 -07:00
Eric Fischer
c08dd9e27e Add CLDR data/formats for newly-translated locales. 2009-07-01 11:10:35 -07:00
Satish Sampath
1b1a6e406c Fix build break by adding an @hide javadoc comment. 2009-07-01 19:08:05 +01:00
Guang Zhu
c899d0c7d9 resolved conflicts for merge of 53e083c9 to master 2009-07-01 11:03:25 -07:00
John Huang
2e7e15f2da AI 150264: DO NOT MERGE TO DONUT.
Manual merge of https://android-git.corp.google.com/g/Gerrit#change,5804 from donut:
  Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that
  the index is always < the array's length. Also ensures that the object's
  state is consistent. Should resolve a denial-of-service bug when handling
  malformed WAP pushes.
  Also add a try-catch around call to dispatchMessage(), in case there are other lurking bugs.  (This is also already in Donut.)

Automated import of CL 150264
2009-07-01 10:08:20 -07:00
Satish Sampath
fef8d3e4d8 Make search UI open up quicker to the user.
On invoking the search UI, the drop down list box with past queries and shortcut items
appears after a few hundreds of milliseconds on screen. This was because we were
displaying the drop down within the onFilterCompleted callback after the list box filtered
the items based on the given query text. While that code path is necessary, for the first
invocation of the search dialog with an empty query we can show the list box before the
text stuff happens. This change does that, issuing an async request to show the drop
down after pending events have been processed.

Without this change, on an average it took 350ms for the code to show the drop down.
With this change, on an average it takes 150ms.
2009-07-01 17:55:31 +01:00
Android (Google) Code Review
74dc3e4a1e Merge change 5616 into donut
* changes:
  Revise VpnService to use new vpn.* properties.
2009-07-01 09:16:48 -07:00
Android (Google) Code Review
50d87fbd69 Merge change 5879 into donut
* changes:
  Represent new searchSettingsDescription attribute on searchables in SearchableInfo.
2009-07-01 08:51:31 -07:00
Android (Google) Code Review
6ccc06fba9 Merge change 5923
* changes:
  Fixes for moving a focused textfield on screen when entering a character.
2009-07-01 08:22:00 -07:00
Leon Scroggins
409812691d Fixes for moving a focused textfield on screen when entering a character.
When the focused node is a textfield, but the WebView has focus
(for example if the page had an initial focus) and the cursor
is not over a plugin or textfield, rebuild the WebTextView
to handle the keys.  Also, remove mScrollToAccommodateCursor,
since now the WebTextView is only showing when we want to
scroll.
2009-07-01 10:57:47 -04:00
Mitsuru Oshima
8f25c426b1 resolve complex value in application context instead of system context. 2009-07-01 00:10:43 -07:00
Android (Google) Code Review
01ecd7bcd1 am ab4748c6: Merge change 5694 into donut
Merge commit 'ab4748c62d106d9cbc27c88ccd3d2bbda8e451bd'

* commit 'ab4748c62d106d9cbc27c88ccd3d2bbda8e451bd':
  Implement persistent enable/disable of the backup manager
2009-07-01 00:07:35 -07:00
Android (Google) Code Review
2658254d92 am 48d4f673: Merge change 5692 into donut
Merge commit '48d4f673001160df8feae3185a603f320c000e1b'

* commit '48d4f673001160df8feae3185a603f320c000e1b':
  Adjust the character picker layout a little so it will fit on the screen.
2009-07-01 00:07:31 -07:00
Android (Google) Code Review
2c2949a2d9 am 3a608f82: Merge change 5684 into donut
Merge commit '3a608f829b54a7653c9cc2b3bdbda0641cca37bb'

* commit '3a608f829b54a7653c9cc2b3bdbda0641cca37bb':
  Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
2009-07-01 00:07:21 -07:00
Android (Google) Code Review
e4b988b6bd am 52bce9c4: Merge change 5680 into donut
Merge commit '52bce9c4e7b66ee0a8e1bc5ea7798cf5892b4f23'

* commit '52bce9c4e7b66ee0a8e1bc5ea7798cf5892b4f23':
  Fixes #1949502. Prevents an NPE in View.buildDrawingCache().
2009-07-01 00:07:17 -07:00
Android (Google) Code Review
8efa48e7f4 am 9032ab8e: Merge change 5673 into donut
Merge commit '9032ab8e2d42882ea79eabac33c5c2a09565b982'

* commit '9032ab8e2d42882ea79eabac33c5c2a09565b982':
  Adding support for params.
2009-07-01 00:07:07 -07:00
Android (Google) Code Review
ed3240ed1a am 58ebdcc0: Merge change 5625 into donut
Merge commit '58ebdcc06eca06741460a7db2be4b79e3865eb88'

* commit '58ebdcc06eca06741460a7db2be4b79e3865eb88':
  fix [1947273] the DimLayer causes the whole screen to update during transactions
2009-07-01 00:06:47 -07:00
Nick Pelly
41557e18fa Obex library cleanup, second pass.
o Use mMemberField variable naming as per style guide
o ClientSession.trans is only used in the ctor, doesn't need to be a member
o Rename connectionOpen to mOpen and isConnected to mObexConnected to reduce
  confusion
o Refactor duplicated code into helper functions (setRequestActive())
o Fix whitespace around comment blocks
o Change unnecessary public scope's to package private (eg setRequestInactive())
o Remove a redundant factory method ClientSession.createHeaderSet()
o Rename OPTIMIZATION to TODO to match Android style
o Rename java.io.IOException to IOException
o Be consistent with variable naming - use header not headers
2009-06-30 19:48:16 -07:00
Nick Pelly
2e0da96e75 Obex library cleanup, first pass.
o Add Android.mk file.
o Add @hide so it is not exposed in the public API. It is not yet in shape.
o Prefer @throws to @exception
o Do not use @version. This is meaningless in Android.
o Prefer classes 'final' unless explicitly allowing inheritance
 (See "Effective Java" item 15)
o Prefer CamelCaps java naming even for acronyms (OBEXHelper -> ObexHelper)
o Use the built-in MD5 library.
o Move ObexConstants into ObexHelper.
o Remove unused variables.
o Prefer stricter access priveleges. Most importantly, avoid public fields.
o Don't use 'import java.io.*'. Name each class explicitly.
o Delete commented out code. If its not used then remove it.
2009-06-30 19:47:54 -07:00
Nick Pelly
9439a7fe51 Add javax.obex library, contributed by Motorola.
Based of a JSR-82 reference implementation.

This check-in is 'as-is' from the source provided June 25.

This code does not conform to Android style and quality guidelines. I will be
working with Motorola to improve it. If it does not see substantial improvement
in the Eclair timeframe it will be deleted.
2009-06-30 19:45:24 -07:00
Android (Google) Code Review
c56096fe1f Merge change 5878 into donut
* changes:
  Add new attribute 'searchSettingsDescription' for use within an app's searchable.xml. This attribute defines the string to be shown as the description a searchable in the 'searchable items' section of system search settings.
2009-06-30 18:44:12 -07:00
Mike LeBeau
735b333bf6 Represent new searchSettingsDescription attribute on searchables in
SearchableInfo.
2009-06-30 18:27:40 -07:00
Mike LeBeau
f763e8f42d Add new attribute 'searchSettingsDescription' for use within an app's
searchable.xml. This attribute defines the string to be shown as the
description a searchable in the 'searchable items' section of system
search settings.
2009-06-30 18:26:21 -07:00
Michael Chan
2cfb0d166b Added URI for querying event instances by day in addition to by time-millis
modified:   core/java/android/provider/Calendar.java
2009-06-30 18:11:23 -07:00
Android (Google) Code Review
b47aa584ff Merge change 5735
* changes:
  Added a Formatter parameter to DateUtils.formatDateRange
2009-06-30 17:45:33 -07:00
Eric Fischer
5a3a63f8b4 AI 150245: Import and add to the l10n builds new and updated translations for:
zh_CN, es_US, ru, ko, da, el, tr, pt, pt_PT, sv.

Automated import of CL 150245
2009-06-30 17:25:16 -07:00
Dianne Hackborn
6463ff2468 resolved conflicts for merge of 66c2942a to master 2009-06-30 16:52:32 -07:00
Android (Google) Code Review
65363830c1 Merge change 5854 into donut
* changes:
  Run backups at background priority
2009-06-30 16:18:59 -07:00
Christopher Tate
7958834e0e Run backups at background priority 2009-06-30 16:11:49 -07:00
Android (Google) Code Review
b0b815da8c Merge change 5845 into donut
* changes:
  Always clear the TextView drag state whenever a touch begins.
2009-06-30 15:44:07 -07:00
Eric Fischer
58b971d733 Always clear the TextView drag state whenever a touch begins.
Apparently it can sometimes miss a touch release, which would prevent
the longpress menu from appearing if the location of the new touch was
too far from the location of the previous touch.

Bug 1673223
2009-06-30 15:22:51 -07:00
Android (Google) Code Review
daa5a21562 Merge change 5810 into donut
* changes:
  Fix bug 1930055 of NullPointerException.
2009-06-30 15:16:38 -07:00
Android (Google) Code Review
85d650c899 Merge change 5804 into donut
* changes:
  Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that the index is always < the array's length. Also ensures that the object's state is consistent. Should resolve a denial-of-service bug when handling malformed WAP pushes.
2009-06-30 15:05:56 -07:00