95378 Commits

Author SHA1 Message Date
kmccormick
00707306e2 am 37fc02be: am 61f13cd8: am ae657a05: am e23f97ba: Doc change: updates to Gestures training class.
* commit '37fc02be989e880314c05390eca01398ddee996a':
  Doc change: updates to Gestures training class.
2013-03-12 15:34:26 -07:00
kmccormick
37fc02be98 am 61f13cd8: am ae657a05: am e23f97ba: Doc change: updates to Gestures training class.
* commit '61f13cd877405f8bb72c2ad33c717ba3f02acf74':
  Doc change: updates to Gestures training class.
2013-03-12 15:32:46 -07:00
kmccormick
61f13cd877 am ae657a05: am e23f97ba: Doc change: updates to Gestures training class.
* commit 'ae657a05db910936a92340ffe721351d259d434b':
  Doc change: updates to Gestures training class.
2013-03-12 15:31:14 -07:00
kmccormick
ae657a05db am e23f97ba: Doc change: updates to Gestures training class.
* commit 'e23f97ba6ee5214679fff61e33deda075cfd741d':
  Doc change: updates to Gestures training class.
2013-03-12 15:29:21 -07:00
kmccormick
e23f97ba6e Doc change: updates to Gestures training class.
Change-Id: I5328a82736472e4a7507709380875ba0c9ef6f8e
2013-03-12 15:07:40 -07:00
John Reck
bd5ee4d39c am 733329a2: Merge "Fix NPE when pasting non-text from Clipboard"
* commit '733329a2745ce703029b40afaa5dd78c7a5b620c':
  Fix NPE when pasting non-text from Clipboard
2013-03-12 14:29:48 -07:00
Kenny Root
f3e3a7fd3c am 7ad51409: Merge "Switch TLS Channel ID API from ECPrivateKey to PrivateKey."
* commit '7ad514094c8abbea0cc61b72fcaf0e23d6124b0d':
  Switch TLS Channel ID API from ECPrivateKey to PrivateKey.
2013-03-12 13:25:35 -07:00
Daniel Sandler
39099feeec am 1bc1699c: Merge ""[+>" more icon was never shown in PhoneStatusBar"
* commit '1bc1699c313a07693826a8d8b451a2ed72137957':
  "[+>" more icon was never shown in PhoneStatusBar
2013-03-12 13:25:32 -07:00
John Reck
733329a274 Merge "Fix NPE when pasting non-text from Clipboard" 2013-03-12 20:24:14 +00:00
Kenny Root
7ad514094c Merge "Switch TLS Channel ID API from ECPrivateKey to PrivateKey." 2013-03-12 20:05:09 +00:00
Daniel Sandler
1bc1699c31 Merge ""[+>" more icon was never shown in PhoneStatusBar" 2013-03-12 19:51:32 +00:00
Mats H Carlsson
cd231432ff "[+>" more icon was never shown in PhoneStatusBar
"[+>" more icon was never show in status bar because
the member variable for this icon was not initialized
from resources. This fix enables "[+>" icon to appear
in status bar when the number of indications in status
bar becomes large.

Bug: 8368569
Change-Id: Ieb3412eed831052d69c0cf63c9b4230c38171e4a
2013-03-12 19:51:07 +00:00
Alex Klyubin
ac5eb03a7c Switch TLS Channel ID API from ECPrivateKey to PrivateKey.
This is to accept both the "transparent" and "opaque" ECC private
keys. "Transparent" keys provide structured access to their key
material -- these are instances of ECPrivateKey. "Opaque" private
keys are not required to provide structured (or even any) access to
their key material -- these are instances of PrivateKey.

Change-Id: Ib22e18b45b638b429f994ed965416c753226c4ee
2013-03-12 10:33:13 -07:00
Scott Main
22bcc39be8 am 5c748fa5: am 5cb405bc: am 679fe25b: am a15afd2b: resolve a few doc issues from external reports
* commit '5c748fa5fca06922279d17496ff61d16d3ba3c04':
  resolve a few doc issues from external reports
2013-03-12 10:12:25 -07:00
Scott Main
5c748fa5fc am 5cb405bc: am 679fe25b: am a15afd2b: resolve a few doc issues from external reports
* commit '5cb405bcc71fb741f0feb70c71d6ae1fc5e810df':
  resolve a few doc issues from external reports
2013-03-12 10:09:35 -07:00
Scott Main
5cb405bcc7 am 679fe25b: am a15afd2b: resolve a few doc issues from external reports
* commit '679fe25b416f9e558922ea4f1eaa68e0ad0c81f6':
  resolve a few doc issues from external reports
2013-03-12 10:07:36 -07:00
Scott Main
679fe25b41 am a15afd2b: resolve a few doc issues from external reports
* commit 'a15afd2bc4b103146497b521c09c73722a8e3725':
  resolve a few doc issues from external reports
2013-03-12 10:06:03 -07:00
Scott Main
a15afd2bc4 resolve a few doc issues from external reports
Change-Id: Ic4ca327bf2ac92ed259fbd3c51fe5a4453afb479
2013-03-12 09:25:22 -07:00
Nils Holmström
df337f30e9 Fix NPE when pasting non-text from Clipboard
When copying a link from a bookmark and then pasting it into
a textfield a NullPointerException will occur.
A ClipData.Item is not guaranteed to always contain a text string
and therefore getText() can be set to null.

Using method coerceToText() instead of getText() makes sure that
a text string is always returned.

Change-Id: I81343c0371835a3a7a52045dcd1760e69e59a967
2013-03-12 20:49:14 +09:00
quddusc
49c6ff0a03 am a9cac9aa: am e1c2a62a: am 1267cfc3: am 616908fe: docs: Fixed import statements for licensing docs. Bug: 8360745
* commit 'a9cac9aa4322a2969c9614aa01f63c13e5f0189e':
  docs: Fixed import statements for licensing docs. Bug: 8360745
2013-03-11 16:07:56 -07:00
quddusc
a9cac9aa43 am e1c2a62a: am 1267cfc3: am 616908fe: docs: Fixed import statements for licensing docs. Bug: 8360745
* commit 'e1c2a62a75fa0e4c899e66220b2b20f4b41ac19c':
  docs: Fixed import statements for licensing docs. Bug: 8360745
2013-03-11 16:05:18 -07:00
quddusc
e1c2a62a75 am 1267cfc3: am 616908fe: docs: Fixed import statements for licensing docs. Bug: 8360745
* commit '1267cfc38dcabfe9cdfa7388c7b0b306926e06cc':
  docs: Fixed import statements for licensing docs. Bug: 8360745
2013-03-11 16:03:03 -07:00
quddusc
1267cfc38d am 616908fe: docs: Fixed import statements for licensing docs. Bug: 8360745
* commit '616908fee48c44a2115d5d63583ccf04e401b3da':
  docs: Fixed import statements for licensing docs. Bug: 8360745
2013-03-11 16:01:28 -07:00
quddusc
616908fee4 docs: Fixed import statements for licensing docs.
Bug: 8360745

Change-Id: Ic72adc7c571c8a36d784afd997418307fb7b2a9f
2013-03-11 15:36:03 -07:00
Elliott Hughes
a45bafc2f0 am c9e0cd2a: Merge "Fix DateFormat k and h, and implement K and H for the first time."
* commit 'c9e0cd2ac7b1df3e60f0ca8bab6a7240bade07d9':
  Fix DateFormat k and h, and implement K and H for the first time.
2013-03-11 15:27:52 -07:00
Elliott Hughes
c9e0cd2ac7 Merge "Fix DateFormat k and h, and implement K and H for the first time." 2013-03-11 22:03:18 +00:00
Elliott Hughes
7a89f62877 Fix DateFormat k and h, and implement K and H for the first time.
Bug: 8359981
Change-Id: I52ef937a77e9e28f2719c2ee6f59e4b74514f0b2
2013-03-11 14:49:44 -07:00
Elliott Hughes
7c1e8dbd31 am 21d3f294: Merge "use Calendar in DateUtils format method"
* commit '21d3f294831f7a15c5e746b3dae3e6ec0de883a8':
  use Calendar in DateUtils format method
2013-03-11 14:19:14 -07:00
Elliott Hughes
21d3f29483 Merge "use Calendar in DateUtils format method" 2013-03-11 20:11:20 +00:00
Sungmin Choi
9a2ada418b use Calendar in DateUtils format method
The DatePickerDialog is using DateUtils to format the dialog's title
and the DateUtils class does not work with dates outside to the
specified range.
For example, if user selects 2038-03-07, DatePickerDialog shows
1902-01-30 on Title.
The reason for the DateUtils class not being able to format dates
outside the range of 1902 and 2036 is because internally it is using
the Time class which does not support such dates.
To fix it, use Calendar class in DataUilts format method.

Steps to reproduce:
1. Settings -> Date & time
2. uncheck Automatic date & time
3. Set Date
4. choose any date before 1902 or after 2037
5. update wrong date on Title

Bug: https://code.google.com/p/android/issues/detail?id=13050
Change-Id: I003266765751b5c340426af84daef271f39f771e
2013-03-11 11:24:02 -07:00
Elliott Hughes
31bb1dec27 am 5b543775: Merge "update preloaded-classes"
* commit '5b5437752fb2318142a41b6320b00a000575503f':
  update preloaded-classes
2013-03-11 10:32:08 -07:00
Elliott Hughes
5b5437752f Merge "update preloaded-classes" 2013-03-11 16:59:49 +00:00
Sungmin Choi
42bb0307f8 update preloaded-classes
Remove some preloaded-classes and fix typo for deleting log messages
as the followings during booting.

W/Zygote  (  163): Class not found for preloading: android.bluetooth.
BluetoothAudioGateway
W/Zygote  (  163): Class not found for preloading: android.bluetooth.
HeadsetBase
W/Zygote  (  163): Class not found for preloading: undroid.content.Ab
stractThreadedSyncAdapter$SyncThread

Change-Id: Id02e0cccaeb150f48e12d67b2d691df828842e4c
2013-03-11 09:59:13 -07:00
Elliott Hughes
2cb314ebc7 am e0cd3c19: Merge "Improve DateFormat.format."
* commit 'e0cd3c19546a00db3db706c6a993fb0e3bd00b3a':
  Improve DateFormat.format.
2013-03-08 16:18:42 -08:00
Elliott Hughes
e0cd3c1954 Merge "Improve DateFormat.format." 2013-03-08 23:50:02 +00:00
Elliott Hughes
8326b9a429 Improve DateFormat.format.
Add support for the 'c' format character, required in many non-English locales.
Reimplement 'c' and 'E', and 'L' and 'M', so they correctly interpret 5-count
pattern characters.

Replace the old incorrect class documentation with a pointer to the
well-maintained libcore equivalent and the Unicode UTS to which these two
implementations are supposed to conform.

Deprecate the useless constants for pattern characters. No one sane is going
to write MONTH + MONTH + MONTH + MONTH instead of "MMMM".

Correct the documentation for getLongDateFormat and getMediumDateFormat.

Also fix DateUtils.getStandaloneMonthString for LENGTH_SHORTEST.

Tests are in https://android-review.googlesource.com/53291.

Change-Id: I4dda8b18070f05ccdc11c1f0a9381a9d233db4e8
2013-03-08 15:06:14 -08:00
Elliott Hughes
bf8a663c53 am 3f7a4990: Merge "Improve the Resource.getQuantityString/getQuantityText documentation."
* commit '3f7a49904cef7ea14808590b63b115a4381537a1':
  Improve the Resource.getQuantityString/getQuantityText documentation.
2013-03-08 13:59:59 -08:00
Elliott Hughes
3f7a49904c Merge "Improve the Resource.getQuantityString/getQuantityText documentation." 2013-03-08 21:18:34 +00:00
Elliott Hughes
ac071e36ae am 0c25ecfd: Merge "Use getRelativeDayString in getRelativeTimeSpanString."
* commit '0c25ecfd43235340c9b6bf5b640232138a217836':
  Use getRelativeDayString in getRelativeTimeSpanString.
2013-03-08 11:47:39 -08:00
Elliott Hughes
95d5ab30f2 Improve the Resource.getQuantityString/getQuantityText documentation.
Natural languages differ so much and in such odd ways that you can't
use getQuantityString as an "if" statement. It's really just for grammaticality.
This is explained well in
http://developer.android.com/guide/topics/resources/string-resource.html#Plurals
but we need to make more of an effort to motivate people to read that, and to
at least get the most important point across if they don't read it.

Change-Id: I549b9f3563462c45f2dea34c558185e0714127cd
2013-03-08 11:26:57 -08:00
Elliott Hughes
0c25ecfd43 Merge "Use getRelativeDayString in getRelativeTimeSpanString." 2013-03-08 18:39:47 +00:00
Elliott Hughes
5acc6e5214 Use getRelativeDayString in getRelativeTimeSpanString.
The bug we're fixing here is that languages that don't
distinguish the "one" case grammatically (such as Japanese)
would say the equivalent of "In 1 day" rather than "Tomorrow"
because of the misuse of getQuantityString.

This has the side-effect of switching us over to the CLDR
strings for relative day names, which have consistent capitalization;
the Android donottranslate-cldr.xml strings varied even within
a language, so although this is a change, it seems like a step
in the right direction.

In a future change, we should actually push all relative
day formatting down into icu4c.

Bug: 7098707
Change-Id: Ia2f9af3d18c441d6093dd5da7956a3d0130e5b06
2013-03-07 16:46:55 -08:00
Scott Main
d9cdde94f3 am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit '6d3943b69d5b766e94a12a8249fcd268d0337c2f':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:25:49 -08:00
Scott Main
6d3943b69d am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'b3d07573617656e6008466d01dfb5aebbd7568ba':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:24:41 -08:00
Scott Main
b3d0757361 am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit '49e3d6baf55098b8de07cd6a4585ea0984f86d16':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:23:26 -08:00
Scott Main
49e3d6baf5 am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'd55091f6fdec4bb42e2f922369dfa19f8993be8d':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:20:23 -08:00
Scott Main
d55091f6fd change devbytes playlist order to reverse playlist order
Change-Id: Ic6f91cf6adc3999ff4c6394f652a7ef4e2fc3c22
2013-03-07 16:17:06 -08:00
Elliott Hughes
4a1bd4640c am d0d1be2d: Merge "Explain why the frameworks/base DateUtilsTest isn\'t merged with CTS\' DateUtilsTest."
* commit 'd0d1be2d27af35fe7553835ee8c411fd13d1c8d7':
  Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
2013-03-07 15:39:46 -08:00
Elliott Hughes
d0d1be2d27 Merge "Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest." 2013-03-07 23:24:40 +00:00
Elliott Hughes
025148cc4d Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
Change-Id: Icbdb4e9133a9ae1c1b37f822367e1ac86e9e36cb
2013-03-07 14:30:17 -08:00