15190 Commits

Author SHA1 Message Date
Joe Onorato
f04c8816f9 am dbf9a02b: am ed3c7be8: Merge "Report the new size to wallpapers when the requested size changed." into gingerbread
* commit 'dbf9a02b0abe7cac3c15f7cc36b95d5998927ad8':
  Report the new size to wallpapers when the requested size changed.
2010-10-29 08:20:42 -07:00
Nick Pelly
4611bb1814 am ba1664b3: am 4bf4b491: Merge "Hide some NFC API\'s." into gingerbread
* commit 'ba1664b34cc33ebb6b45fccedb35298ff8b1d998':
  Hide some NFC API's.
2010-10-29 08:20:28 -07:00
Joe Onorato
dbf9a02b0a am ed3c7be8: Merge "Report the new size to wallpapers when the requested size changed." into gingerbread
* commit 'ed3c7be84255d48fe7f0454bdd51b3955698cafe':
  Report the new size to wallpapers when the requested size changed.
2010-10-29 08:16:20 -07:00
Nick Pelly
ba1664b34c am 4bf4b491: Merge "Hide some NFC API\'s." into gingerbread
* commit '4bf4b491be3fbd0f71bb87749a0e31f817b91e08':
  Hide some NFC API's.
2010-10-29 08:15:48 -07:00
Ben Murdoch
ffcc49eb42 Add a class that stores localised strings used by libchromium.
These are loaded by the first WebView to be instantiated and read
over JNI by libchromium in external/chromium/android/app/l10n_util.cc

Change-Id: I43d6e5a061691689d28cba2697fedcd27548af08
2010-10-29 11:44:42 +01:00
Bjorn Bringert
24abb66c85 Deprecate Settings.System.SHOW_WEB_SUGGESTIONS
In earlier Android versions, Quick Search Box set this setting,
and the browser and QSB read it. Now the Browser has stopped
using it, and QSB has been unbundled and removed from the system
settings UI.

Applications that show web suggestions should have their own settings
to control it instead.

Bug: 3021480
Change-Id: I4e62bf26944287f804e50eb93843484a0356fffb
2010-10-29 09:03:06 +01:00
Joe Onorato
ed3c7be842 Merge "Report the new size to wallpapers when the requested size changed." into gingerbread 2010-10-28 18:18:52 -07:00
Joe Onorato
dcfae5c0fd Report the new size to wallpapers when the requested size changed.
We were telling the app, but we weren't saving the data for ourselves.
This also tells them to re-scroll when there's a new size.

Bug: 3144373
Change-Id: I9d12b714119ff02dd7d7f1cfa997d8a44475b9e9
2010-10-28 18:04:10 -07:00
Nick Pelly
4bf4b491be Merge "Hide some NFC API's." into gingerbread 2010-10-28 16:47:31 -07:00
Wink Saville
d6d86efe33 Merge "Remove an @Override that is not needed." 2010-10-28 16:05:56 -07:00
Brad Fitzpatrick
ed82725f0e Merge "StrictMode: optimize common case (just dropboxing)" 2010-10-28 15:08:33 -07:00
Nick Pelly
11b075e218 Hide some NFC API's.
We are leaving enough API so that you can see when any Tag is discovered,
get its ID, and get its NDEF messages.

But for advanced use - creating tag connections and writing messages - we have
2 problems. Firstly a lot of the code is untested
(RawTagConnection.transceive()), or in some cases known not to work
(NdefTagConnection.write()). Secondly, there is still debate about how to
best expose information about Tags.

The set of data/methods exposed for a Tag changes completely depending on the
tag technology. There may be multiple sets of technology implemented in a
single tag. Tag A may have technology X and Y, Tag B may have technology Y
and Z. Furthermore, some NFC controllers will be not be able to use all
technologies, and so Android Device 1 may see technology X and Y on Tag A but
Android device 2 may only see technology X. So we have a pretty challenging
set of constraints to work under, and we are not convinced the current Tag and
NdefTag class is the best approach going forwards.

The Tag application should be able to remain unbundled, since it just needs to
get incoming NDEF Messages.

Change-Id: Ic09f094f33794e10f8d730fffe011c9a5957e0ac
Signed-off-by: Nick Pelly <npelly@google.com>
2010-10-28 14:54:52 -07:00
Vasu Nori
673ce4e2a6 Merge "cleanup some of the STOPSHIP comments" 2010-10-28 14:50:49 -07:00
Vasu Nori
02fc2b01a3 cleanup some of the STOPSHIP comments
removing a check no longer required.
bug:3143859

Change-Id: I6a2ed242d234a4eb78b116bde81efd31e82fafaf
2010-10-28 14:41:59 -07:00
Wink Saville
9d9f0c20a6 Remove an @Override that is not needed.
Change-Id: I23d216c387ea44073eed1e3acb05d07104784e16
2010-10-28 14:38:49 -07:00
Jeff Hamilton
ae5ace55d9 am bd8ff5b5: Merge "DO NOT MERGE. Fix asset file descriptor for pipe based fds." into gingerbread
* commit 'bd8ff5b5d4f4c74889ce20a0c7a2f8e0ab7b6ea9':
  DO NOT MERGE. Fix asset file descriptor for pipe based fds.
2010-10-28 14:03:40 -07:00
Daniel Lehmann
61b39a48bc Merge "Add API and strings for the contact-field "Relation"" 2010-10-28 13:52:44 -07:00
Brad Fitzpatrick
71678ddcc4 StrictMode: optimize common case (just dropboxing)
The way StrictMode is used during development, just dropboxing
violations, could be a little more optimal, taking the
ActivityManagerService call off the main thread.  But we can only do
this safely in the case where that's the only penalty.

Data suggests this call, despite being async, still takes around 30
milliseconds.  This isn't a major win, and arguably it might be a
_better_ idea to slow down people's event loops more and further jank
up their animations on violations, but I thought any less overhead
from StrictMode, the better.

Change-Id: Iad9cce1cb4a084fa64abc4b5e1b4f3bff6a08c94
2010-10-28 13:51:58 -07:00
Alon Albert
644792c407 Merge "Apply backoff to operation that caused it" 2010-10-28 13:49:15 -07:00
Daniel Lehmann
1fb39f0ffc Add API and strings for the contact-field "Relation"
Bug:3134946
Change-Id: Ic2163abfaf0ca16cbd24ea68cbace5144b688eab
2010-10-28 13:40:38 -07:00
Alon Albert
c1ac7769d8 Apply backoff to operation that caused it
Change-Id: I4f0c9598f031fc7c440071db14eca40094956afb
2010-10-28 13:35:55 -07:00
Jeff Hamilton
145fe77dbf DO NOT MERGE. Fix asset file descriptor for pipe based fds.
Change-Id: Ic366d01f91017109abfcfa65bd2231dd7416ce71
2010-10-28 15:05:27 -05:00
Dianne Hackborn
5164246d7e Fix setting of class loader.
Also add Bundle API to retrieve its class loader because...  well,
why not.

Change-Id: Ie939f6a2ae13974e5a05eb5bd3b28f350d8a8565
2010-10-28 12:29:15 -07:00
Jaikumar Ganesh
9a069da5a3 Merge "Fix incoming connection problem" 2010-10-28 11:09:43 -07:00
Jaikumar Ganesh
470132509f Fix incoming connection problem
This fixes the incoming auto connection of profiles with certain remote devices.

Bug: 3136095
Change-Id: If26b5aa91403c0c7bd547e2970ee5bf2ac381416
2010-10-28 10:51:54 -07:00
Shimeng (Simon) Wang
767dbefbe0 Fixes "open pages in overview" option.
This option was disabled when doing fixed viewport.
This is fixed with the intention to show at least overview scale,
 which will be also fine with phone.

issue:3131279
Change-Id: I2e65d40a90a04f2ca72882fec8096dd8a0d81cb0
2010-10-28 10:43:36 -07:00
Derek Sollenberger
7e6bf6ff0f Rename some variable to make it clear what data is being stored.
The object that carries drawing data between WebViewCore and WebView
uses ambiguous variable names that do not fully convey the meaning
of the values.  This change updates those names to make it clear to
the reader what the intention of those values is.

Change-Id: I5a403d44881e1fad366f3ec9930ee59134eccd88
2010-10-28 10:11:25 -04:00
satok
04d5020470 Show Subtype Icon properly in the system status bar
- Added API for getting the current subtype
- Added functions for show/hide status icon

Change-Id: Ifcaad00f7f4c658cdb3af367387476bbf316eb19
2010-10-28 16:18:50 +09:00
Jaikumar Ganesh
70a68f9544 am 025f78eb: Merge "DO NOT MERGE Fix auto connection with headsets which don\'t send incoming connections for all profiles." into gingerbread 2010-10-27 23:44:02 -07:00
Jaikumar Ganesh
025f78ebb8 Merge "DO NOT MERGE Fix auto connection with headsets which don't send incoming connections for all profiles." into gingerbread 2010-10-27 23:42:43 -07:00
Vasu Nori
4c6e5dfa1c make notifications appear during downloading AND after completion
bug:3132773
Change-Id: I012859fa86055f322069d5120b110c4c8887fb61
2010-10-27 23:09:51 -07:00
Gilles Debunne
a80d256d04 New cut/copy/paste hdpi assets
Change-Id: I64d019e83bf8047e32dae8674fbf3f31a100c987
2010-10-27 20:08:10 -07:00
Joe Onorato
926829056c Merge "Implement reminder power dialog and invalid charger dialog." 2010-10-27 19:28:03 -07:00
Joe Onorato
4ca7f1e281 Implement reminder power dialog and invalid charger dialog.
Bug: 2510318
Bug: 2974431
Change-Id: I92eb419eeffb657e5572a35a490735a96b303d6b
2010-10-27 19:24:51 -07:00
Dianne Hackborn
e829fef639 Add facility for broadcasts receives to do work asynchronously.
You can now call goAsync() and move your work to a background thread.
If you are that kind of receiver.  You weirdo.

Also allows SharedPreferences.apply() to be committed off the main
thread after returning from onReceive().

Change-Id: I27f975910e28f230ababcaeb551eb9a78ec4fc76
2010-10-27 17:13:29 -07:00
Jaikumar Ganesh
28967499d7 DO NOT MERGE Fix auto connection with headsets which don't send incoming
connections for all profiles.

Bug: 3136095
Change-Id: I48f36b99f3f7619a6a18c6adc2057c9d6d23c3e3
2010-10-27 16:34:43 -07:00
Amith Yamasani
162b689c52 Merge "No animation when tapping on current header in a preference screen." 2010-10-27 16:34:42 -07:00
Amith Yamasani
f5cbaeda14 No animation when tapping on current header in a preference screen.
Bug: 3125427
2010-10-27 16:31:05 -07:00
Eric Fischer
1ab2cafb80 Merge "Import revised translations." 2010-10-27 15:15:34 -07:00
Dianne Hackborn
e71df8fa16 am 96abb48d: am aa93bcd6: Fix issue #3138926: App\'s preferences can be lost after onPause() 2010-10-27 15:02:44 -07:00
Dianne Hackborn
96abb48dff am aa93bcd6: Fix issue #3138926: App\'s preferences can be lost after onPause() 2010-10-27 14:59:28 -07:00
Gilles Debunne
c5cf04c504 Merge "Text selection can be started with a double tap in TextView" 2010-10-27 14:56:22 -07:00
Chet Haase
2aa5c9b5b7 Merge "Use ThreadLocal for static Animator variables." 2010-10-27 14:51:32 -07:00
Gilles Debunne
5347c58846 Text selection can be started with a double tap in TextView
Cherry picked from CL 73484 in GB.

Change-Id: Ieb6ee5b4bf85226a8c488f78f5ff00a57fc031b8
2010-10-27 14:30:04 -07:00
Eric Fischer
655e310d66 Import revised translations.
Change-Id: I2ce0fd4da5c8ac33e90909d49f46cd29565de276
2010-10-27 14:28:17 -07:00
Amith Yamasani
367c6c7bb8 Merge "Wallpaper transition changed to fade instead of translate/scale/fade." 2010-10-27 14:02:09 -07:00
Dianne Hackborn
aa93bcd624 Fix issue #3138926: App's preferences can be lost after onPause()
Change-Id: Icea3d37fab5e47c89c5cbc0adff7bbec898fa93e
2010-10-27 13:57:00 -07:00
Chet Haase
e3bc4e6f10 Use ThreadLocal for static Animator variables.
Certain fields in Animator are statics, like the list of current animations and the
main handler. However, since there may be >1 UI thread per process, these should really
be ThreadLocal variables, so that they are local to each UI thread. For example,
most animators will cause an invalidation in the view hierarchy, which can only
happen in the UI thread for that view.

Change-Id: I42be61c781ffac97b527f78ce1ffc2e0cdc42999
2010-10-27 13:48:02 -07:00
Amith Yamasani
21b4b04f6d Wallpaper transition changed to fade instead of translate/scale/fade.
This is mainly to have a quick transition into QSB so that it feels light-weight.

Bug: 3132162
2010-10-27 13:29:00 -07:00
Andy McFadden
091511b41b am e3e8642c: am 001c7d12: Merge "Set capabilities sooner." into gingerbread 2010-10-27 13:28:17 -07:00