15983 Commits

Author SHA1 Message Date
Joe Onorato
8d0b655c49 Add a better notification test and clean up the flag handling in the notification builder.
Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4
2010-11-22 16:19:40 -08:00
Justin Ho
60b440ac38 Merging some Gingerbread status bar icons to master
Change-Id: I18c18b0ce2b1883998d40119a101e7598bcdfba6
2010-11-22 15:25:30 -08:00
Xia Wang
ef11d3289e am 6bdd6937: am 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread
* commit '6bdd69370fe2bda7adc7055f62165fccd944b192':
  Add Wifi Tethering stress test
2010-11-22 14:50:28 -08:00
Adam Powell
7ac91a7ddb Merge "Fix bug 3208546 - use the right sized progress spinner for holo.light" 2010-11-22 14:49:20 -08:00
Adam Powell
7f1c57d11e Fix bug 3208546 - use the right sized progress spinner for holo.light
Change-Id: I7c9d3607368a72c0b06012be0995d23591a68b78
2010-11-22 14:46:34 -08:00
Xia Wang
6bdd69370f am 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread
* commit '5df8c155872833647ac56951ab90bd26a9af9480':
  Add Wifi Tethering stress test
2010-11-22 14:46:33 -08:00
Jean-Baptiste Queru
4e256eae3c am c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"
* commit 'c8454a851f26b78de77c0f6b1aa746ce3e2517f1':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser
2010-11-22 13:48:06 -08:00
Jean-Baptiste Queru
c8454a851f am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"
* commit 'b2b0db2d5c89ae8824a4cb5d7944bae3a1dc8bf4':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser
2010-11-22 13:44:56 -08:00
Xia Wang
6026d52710 Add Wifi Tethering stress test
Stress Wifi driver loading and unloading by enable/disable access point
mode.

Change-Id: Ie31266d2b9665cb304473f1c14c83bc57e9920f2
2010-11-22 12:00:31 -08:00
Vasu Nori
624002b0d5 print certain rows from downloads.db when bugreports are taken
when downloads fail/get stuck, we need to look at the database state
for those downloads. and when the users report such problems, it is
a royal pain not to have that info and most users don't seem to bother
sending database dumps because it is a bit of work.

so lets just dump info about downloads that failed or
downloads from GSF (OTAs, for example)

helps debugging. there is STOP ship comment to not dump data once
HC is released.

Change-Id: Id1254982fd82b4c55f1816a2491f00966840f024
2010-11-22 11:59:04 -08:00
Dmitri Plotnikov
d600836965 Merge "Adding IS_READ_ONLY flag to groups" 2010-11-22 09:48:17 -08:00
Cary Clark
fc8bf749da add select text to context menu
Make select text available as an external interface
so that the browser can initiate it from a context
menu.

Interface is marked hidden pending API council approval.

companion change in packages/apps/Browser

bug:3214410
Change-Id: I7d513a38cc3a5ac9c0d1b3be39c02e0835bea90a
2010-11-22 12:41:58 -05:00
Dmitri Plotnikov
4ccf33acbc Adding IS_READ_ONLY flag to groups
Bug: 3214137

Change-Id: I8acda10e4743888adfed3dfd0a0dd597c945f778
2010-11-22 09:41:01 -08:00
Iain Merrick
dac85cb8a9 Merge "Make maybeSavePassword() a top-level method in BrowserFrame." 2010-11-22 09:34:31 -08:00
Ben Murdoch
b62f8a5450 Fix potential NPE in L10nUtils.
It is possible that a call to the L10nUtils class will
come before it has been properly initialised (if the
user highlights a form very quickly onload for example) so move
the initialisation earlier in the WebView ctor so that it is
set up before the WebCore thread is started.

Change-Id: Iff5a1c16d04c47d001146184f753d2cc0cbbb404
2010-11-22 17:15:38 +00:00
Iain Merrick
9eb2a89f88 Make maybeSavePassword() a top-level method in BrowserFrame.
We need to be able to reuse this logic from the Chrome HTTP
stack. This is just a refactoring that doesn't change any
behaviour; we'll need a separate change in external/webkit
to call this from the code that handles POST requests.

Change-Id: I3f3f84a15a8501f63de974bffa6f7c911a3d3820
2010-11-22 17:03:26 +00:00
Leon Scroggins
1ca5626351 Alter the Layout of WebTextView to match webkit.
Bug:3085564

In order to treat the selection handles properly, the text in
WebTextView needs to line up with the text in webkit.  Use the
line spacing style, or the paint if none provided, to determine
the spacing for WebTextView's Layout.  When no line spacing is
provided, use the floating point values of ascent and descent,
rather than the rounded result, to determine spacing.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,80641

Change-Id: I51081835e128a0e938028c7c7aeb5111aa5f072c
2010-11-22 09:37:57 -05:00
Deepika Sai Amuri
b00d41acd6 SearchDialog: Fix for NullpointerException while using Suggestions in
Browser

Change-Id: Ic208ae51e4f7678363ea6d7de9db97707713bf6d
2010-11-22 01:31:35 -08:00
Erik
3644bf11bf Merge "b/3215774 Fix scrollMode notifications" 2010-11-21 20:08:06 -08:00
Joe Onorato
79418114d3 Merge changes I61331a6e,I5728222b
* changes:
  new battery assets
  Use new nav button assets.
2010-11-21 19:23:36 -08:00
Joe Onorato
794be40f8b new battery assets
Change-Id: I61331a6eb237f8883bf604c0767623b08c2fa41b
2010-11-21 19:22:25 -08:00
Brad Fitzpatrick
bee248769d StrictMode: dropbox VM-wide violations (e.g. CloseGuard) async
To be clear, the dropbox violations were already async in the
ActivityManager, but the Binder call was often 30 ms anyway.

This optimization was already done for per-thread violations earlier,
but was never done for VM-wide violations because they weren't common,
until CloseGuard came about.  Now that CloseGuard fires a lot, apply
the same optimization to VM-wide violations.

This CL also addresses a concern of Dianne's earlier of too many
threads being outstanding.  So now there's a paranoia check with an
upper bound on how many outstanding ActivityManager calls are
in-flight.

Change-Id: I95e0816105ab862f0f241052b149c9a46a70ce9c
2010-11-21 18:01:41 -08:00
Joe Onorato
52f80cd36f The icon sticks out of the ticker.
The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
2010-11-21 16:16:29 -08:00
Joe Onorato
561d3858bb The large icon for notifications.
Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
2010-11-21 16:16:28 -08:00
Joe Onorato
3f76aa7755 Test for using the right size of notification info text.
Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c
2010-11-21 16:16:28 -08:00
Joe Onorato
8595a3dd9a Show the number in the expanded notification instead of in the bar.
Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
2010-11-21 16:16:28 -08:00
Joe Onorato
46439cec0e Update the look of the notifications. Includes adding a new Notification.Builder class.
Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
2010-11-21 16:16:27 -08:00
Wink Saville
804043193a Remove pingtest in GsmDataConnectionTracker.
The pingtest have been disabled since petit-four and ping's use is
being deprecated. Removing the ping test code, if needed use
InetAddress.isReachable instead.

bug: 1824738
Change-Id: I42b3de85b67b82dc6389e7a2234afa7b1d687209
2010-11-20 11:57:56 -08:00
Wu-cheng Li
4e911849ca am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbread
* commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6':
  Improve camera documentation.
2010-11-19 19:20:59 -08:00
Wu-cheng Li
fb6f4505ba am 589e8381: Merge "Improve camera documentation." into gingerbread
* commit '589e838116b0dffa696fa39336d0588124877f98':
  Improve camera documentation.
2010-11-19 18:17:24 -08:00
Wu-cheng Li
589e838116 Merge "Improve camera documentation." into gingerbread 2010-11-19 18:14:43 -08:00
Mathias Agopian
b4673f757f am d3b5510b: am 927e7410: Merge "Fix SensorManager.getOrientation() documentation." into gingerbread
* commit 'd3b5510b8505c6c653469193a40f6431272085f3':
  Fix SensorManager.getOrientation() documentation.
2010-11-19 17:23:13 -08:00
Mathias Agopian
d3b5510b85 am 927e7410: Merge "Fix SensorManager.getOrientation() documentation." into gingerbread
* commit '927e7410000dd1917387c01fc4229836ddd5eb97':
  Fix SensorManager.getOrientation() documentation.
2010-11-19 17:20:14 -08:00
Shimeng (Simon) Wang
d204449415 Merge "Make sure we have a ";" after locale in User Agent" 2010-11-19 17:13:07 -08:00
Brad Fitzpatrick
a3a1f59109 Merge "Don't re-read SharedPreferences unnecessarily." 2010-11-19 17:08:44 -08:00
Daniel Shiplacoff
55073498ca Merge "Updates assets for edge glow and line." 2010-11-19 17:00:25 -08:00
Jake Hamby
dbc7f092f6 Merge "Revert "Don't call cancel discovery when its already canceelled."" 2010-11-19 16:53:26 -08:00
Brian Muramatsu
cb4541fc8e Merge "Fix ClipboardManager#hasText" 2010-11-19 16:52:11 -08:00
Jake Hamby
39657b808f Revert "Don't call cancel discovery when its already canceelled."
This reverts commit 58d0dcb75b776bba0737412d2f5e203792b06a52.
Fixes a bug where discovery would start every 20-30 seconds.
2010-11-19 16:45:58 -08:00
Erik
b43d6a30ad b/3215774 Fix scrollMode notifications
When transitioning from a fling to a touch the mode was being set
to idle instead of ending up in scroll. This corrects the
notifications to get sent in the correct order.

Change-Id: Ideed6e4064b2be62788307f4232015fa88e101b4
2010-11-19 16:42:43 -08:00
Mindy Pereira
55708dfae6 Updates assets for edge glow and line.
Currently, we have the same assets for hdpi and mdpi.

Change-Id: I46be842ace9ca9908e6fb6196b9766868b362975
2010-11-19 16:41:45 -08:00
Brad Fitzpatrick
5913630ec9 Don't re-read SharedPreferences unnecessarily.
Previously reads were only cached once a write occurred because
loading didn't set the stat metadata, thus the
sp.hasFileChangedUnexpectedly() check always fired on reading.

Now the initial read populates the stat info, so getSharedPreference()
repeatedly bypasses reading from disk, even wtihout writes.

This was probably a regression from apply() being added in
Gingerbread.

Bug: 3211034
Change-Id: Ifa0bbb27c53a4099544950a4f822fab1fc23a47d
2010-11-19 16:39:00 -08:00
Bart Sears
096fbe0583 Make sure we have a ";" after locale in User Agent
When in pre-release mode, we did not have a semi-colon between
the locale (i.e. "en-us") and the the Build (i.e. "Build/HRH50")

In release mode we correctly added the semi-colon (and put in
the "model") so this was only an issue when in pre-release mode.

Bug: 3215465
Change-Id: Ied1acc69463ffddabbc886e7e7e5e8cc8ab14956
2010-11-19 16:34:38 -08:00
Brian Carlstrom
8c62c1d6b9 Merge "Adding CloseGuard to Animation to find forgotten animations" 2010-11-19 16:28:30 -08:00
Mathias Agopian
f71384cd61 Fix SensorManager.getOrientation() documentation.
This function doesn't use the same reference coordinate system used
for the rotation matrix, unlike what the documentation previously
stated.

Change-Id: I38abeb74540d33b67f72993b54d7a00a73588dde
2010-11-19 16:25:11 -08:00
Andy Stadler
e87efd0300 Merge "Fixes to DevicePolicyManager.setPasswordExpirationTimeout" 2010-11-19 16:22:31 -08:00
Brian Carlstrom
877e0b99ee Adding CloseGuard to Animation to find forgotten animations
Change-Id: I90df2c8a88dd75550431b7db63242db1a1b2f16a
2010-11-19 16:16:46 -08:00
Andy Stadler
1f35d487ba Fixes to DevicePolicyManager.setPasswordExpirationTimeout
* Fix permissions problem in DevicePolicyManager
* Allow short timeouts (primarily for testing)
* Remove unused debugging code

Bug: 3212583
Change-Id: I3770b1c6f090363e8e8d65db92839cd53de05c45
2010-11-19 16:08:24 -08:00
Dianne Hackborn
c642e56ec2 Merge "Goodbye title_bar_shadow." 2010-11-19 16:04:53 -08:00
Dianne Hackborn
0a3ab5d632 Goodbye title_bar_shadow.
May you rest in HELL.

Change-Id: I1e9e5f509a7860e4aeb4f6598b8c6551a59a8714
2010-11-19 15:59:21 -08:00