45168 Commits

Author SHA1 Message Date
Christopher Tate
7f9ff9d191 Disable cross-app drag/drop
@hides the View constant that designates a drag as cross-app, and also
forcibly ignores that flag on the system_server side even if it's passed
to startDrag() as a literal.

Change-Id: I6f321bdf0389db5bb44131fd0f8d6b92f049be52
2011-02-14 17:31:13 -08:00
Teng-Hui Zhu
53a3081bd9 Merge "WebView's scrollBarStyle need to be set at init" 2011-02-14 17:23:58 -08:00
Mathias Agopian
7b6e4bd697 fix [3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external]
make sure to not pass negative numbers to sqrt().

Change-Id: Ifd200c781ae8a94c8a3c600401b60f4cf2430be3
related-bug: 3452750
2011-02-14 17:17:58 -08:00
Teng-Hui Zhu
15bfa5358e WebView's scrollBarStyle need to be set at init
At initialization time of WebView, the View's scrollBarStyle is set
according to the xml file.
But WebView didn't pick that info up to specialize its own variable.

The fix is to call WebView's setScrollBarStyle according to the View's
ScrollBarStyle at the init() time.
This will help Gmail to pick up the scrollBarStyle from xml file
correctly.

bug:3409308

Change-Id: I3792b12a36bd989b6c31e0054ebacce4269300da
2011-02-14 17:05:47 -08:00
Shimeng (Simon) Wang
a7699fea04 Keep mobile site's text wrap scale unchanged.
issue: 3376306
Change-Id: Ifce67215486f09eadb34c30c085b0e502a5a8b05
2011-02-14 16:44:08 -08:00
Romain Guy
cfe8903441 Merge "Gracefully handle drawing caches allocation failure. Bug #3431451" 2011-02-14 16:34:15 -08:00
Romain Guy
0211a0a10d Gracefully handle drawing caches allocation failure.
Bug #3431451

This bug was causing ListView to not render properly when showing an item
larger than the maximum drawing cache size. ListView relies on the drawing
cache to correctly mask all the background pixels. However, if the cache
is not properly created, the background will show through even though
ListView.isOpaque() == true. This change detects this case and falls
back to the default non opaque behavior.

Change-Id: I30a45e7a03fb7ebb2b12f0e85c075c2901954c44
2011-02-14 16:34:59 -08:00
Jim Miller
c4d6be8f04 Merge "Fix 3409550: Fix crash caused when max pattern attempts met." 2011-02-14 16:27:18 -08:00
Jim Miller
79628c6662 Fix 3409550: Fix crash caused when max pattern attempts met.
This fixes a bug introduced by a recent change in GB that
fixed a memory leak and subsequent OOM crash.  The code in
cleanUp() is now more aggressive about releasing unused
references because the view is expected to go away afterwards.

However, due to the immediate callback from reportFailedUnlockAttempt(),
the member variables are cleared before we reach the end of the
handler.  The fix is to postpone reporting the failed attempt
until after the rest of the logic has completed.

Change-Id: Ic35eaf17e9921213c8793d00f9008d957a290b88
2011-02-14 16:18:49 -08:00
Jim Miller
17cc1a1a4a Merge "Fix 3423212: Constrain large app icons to 64x64 in recents." 2011-02-14 16:16:30 -08:00
Basavapatna Dattaguru
09f18d0503 Merge "VideoEditor: Issue ID:3396697 Missing Files added" 2011-02-14 16:12:13 -08:00
Scott Main
878fd29045 am d2bd6f4d: am 64b12eac: docs: add links to sample apps
* commit 'd2bd6f4d49489db429650a3308554c1d45cb31b6':
  docs: add links to sample apps
2011-02-14 16:10:10 -08:00
Scott Main
d2bd6f4d49 am 64b12eac: docs: add links to sample apps
* commit '64b12eac53ba9acd456be2e23f34b5add18461ce':
  docs: add links to sample apps
2011-02-14 16:07:47 -08:00
Scott Main
64b12eac53 docs: add links to sample apps
Change-Id: I14ba8a84d469162ce2317d02985aebeb447570ea
2011-02-14 15:59:29 -08:00
Jim Miller
55e26aa150 Fix 3423212: Constrain large app icons to 64x64 in recents.
Change-Id: I3400632b6aec97edad29455961a700db2acea099
2011-02-14 15:52:09 -08:00
Jaikumar Ganesh
14f39594e4 Merge changes I7a5c806d,Iaa0a773e,I818b0c70,I4dfe14ce,I32a8d274
* changes:
  Make profile handler classes package and final.
  Fix ANR in Settings and Phone app.
  Refactor Input profile operations from Bluetooth Service.
  Remove Bluetooth Pan operations from Bluetooth Service.
  Distinguish between NAP and PAN role disconnections
2011-02-14 15:41:59 -08:00
Jaikumar Ganesh
47898dd398 Make profile handler classes package and final.
Also merge in the netmask removal fix.

Change-Id: I7a5c806d442a704f9cb21204a1d1307461f801c7
2011-02-14 15:40:54 -08:00
Romain Guy
1f5392039b Merge "Deprecate ARGB_4444." 2011-02-14 15:35:54 -08:00
Andreas Huber
b9c21a882f Merge "Enable cancelling the rtsp connection process early." 2011-02-14 15:35:45 -08:00
Jaikumar Ganesh
9efb1343a0 Fix ANR in Settings and Phone app.
When we have a lot of devices paired and try to enable bluetooth,
loadBondState will take a some time. During this all UUIDs would
have been registered and we would send out the Bluetooth On intent.
When Settings apps or phone app gets the Bluetooth On intent, they
try to initialize state. However, the enable Thread in Bluetooth Service
is still initializing internal state in loadBondState leading to
ANRs and deadlocks. So register SDP records as the last step of enable Thread.

Change-Id: Iaa0a773e31b9d269f4c56c4f975a0e2973e02d6e
2011-02-14 15:02:42 -08:00
Jaikumar Ganesh
30b8cbe059 Refactor Input profile operations from Bluetooth Service.
Change-Id: I818b0c7056fd43c7303c95150d8001dfc434e5e7
2011-02-14 15:02:42 -08:00
Jaikumar Ganesh
a8571f15c3 Remove Bluetooth Pan operations from Bluetooth Service.
Change-Id: I4dfe14ce04ec357a952b577d452da2257165fc6f
2011-02-14 15:02:42 -08:00
Jaikumar Ganesh
a44a1e77ef Distinguish between NAP and PAN role disconnections
Distinguish between NAP and PANU disconnect in BT tethering
and call appropriate functions. We were never disconnecting
NAP role devices.

ToDo: BluetoothService needs to be refactored, its become too big
1) BluetoothAdapter and BluetoothDevice properties need to be moved to separate
classes.
2) BluetoothPanProfile and BluetoothInputDeviceProfile which are handled
by BluetoothService need to be moved to a separate file.
3) Integrate PAN to the profile state machine.

Change-Id: I32a8d274f38c78931434bd9738c8f6570ba89fcf
2011-02-14 15:00:25 -08:00
Robert Greenwalt
302b9884b3 Merge "Remove more use of netmask" 2011-02-14 14:48:05 -08:00
Scott Main
148164095e am 753c22cf: am 865cd1ca: Merge "docs: update sidenav; move loaders under activities, add "more" tags, remove duplicate for content providers, rename Copying/ to Copy/" into honeycomb
* commit '753c22cfecb04cfdccea3b92197f73e7328d0b15':
  docs: update sidenav; move loaders under activities, add "more" tags, remove duplicate for content providers, rename Copying/ to Copy/
2011-02-14 14:47:11 -08:00
Romain Guy
676b17391f Deprecate ARGB_4444.
It looks awful.
Don't use it.
Use ARGB_8888, it's much better.
If you think you need ARGB_4444, you are wrong.
You are.

Change-Id: I4d6963cf98b6a8fb34cebcd0d24b9fd66b5a0fbf
2011-02-14 14:45:33 -08:00
Scott Main
753c22cfec am 865cd1ca: Merge "docs: update sidenav; move loaders under activities, add "more" tags, remove duplicate for content providers, rename Copying/ to Copy/" into honeycomb
* commit '865cd1ca5c31243764545dc888ee117a9215e837':
  docs: update sidenav; move loaders under activities, add "more" tags, remove duplicate for content providers, rename Copying/ to Copy/
2011-02-14 14:44:30 -08:00
Scott Main
a6c4ad9db0 am 2d022d01: am 9ab0f2b2: Merge "docs: fix link to sample app" into honeycomb
* commit '2d022d01d0689b61de87bbf9ffd47703ceae1596':
  docs: fix link to sample app
2011-02-14 14:43:53 -08:00
Scott Main
865cd1ca5c Merge "docs: update sidenav; move loaders under activities, add "more" tags, remove duplicate for content providers, rename Copying/ to Copy/" into honeycomb 2011-02-14 14:42:18 -08:00
Scott Main
2d022d01d0 am 9ab0f2b2: Merge "docs: fix link to sample app" into honeycomb
* commit '9ab0f2b220a6b38cad020bb3f4940737a024a5f6':
  docs: fix link to sample app
2011-02-14 14:41:14 -08:00
Scott Main
9ab0f2b220 Merge "docs: fix link to sample app" into honeycomb 2011-02-14 14:39:13 -08:00
Scott Main
64c7574810 docs: fix link to sample app
Change-Id: Ie9127cc15ab527542bd5df564826ea703fba419b
2011-02-14 14:38:24 -08:00
Scott Main
6909447b40 am 9a4548f5: am 81bb4952: Merge "docs: add faketouch to uses-feature doc" into honeycomb
* commit '9a4548f5ba53d9f91d5b1f9a349d795d16f6f82a':
  docs: add faketouch to uses-feature doc
2011-02-14 14:36:24 -08:00
Scott Main
9a4548f5ba am 81bb4952: Merge "docs: add faketouch to uses-feature doc" into honeycomb
* commit '81bb4952713da8c6d900508e72650d9388b2bfdc':
  docs: add faketouch to uses-feature doc
2011-02-14 14:32:40 -08:00
Robert Greenwalt
b979f79158 Remove more use of netmask
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
2011-02-14 14:32:33 -08:00
Scott Main
81bb495271 Merge "docs: add faketouch to uses-feature doc" into honeycomb 2011-02-14 14:29:09 -08:00
Dianne Hackborn
d42fbba073 Merge "Fix issue #3414684: task_intra_wallpaper transitions have some inconsistency" 2011-02-14 14:28:23 -08:00
Dianne Hackborn
da048264a3 Fix issue #3414684: task_intra_wallpaper transitions have some inconsistency
Change-Id: Iba2a41025ce3d0513e7f9edc5fd63657576544c1
2011-02-14 14:26:52 -08:00
Scott Main
c059fa4de4 docs: update sidenav; move loaders under activities, add "more" tags,
remove duplicate for content providers, rename Copying/ to Copy/

Change-Id: I4ad8839da1862185caf15b50e0376bb0e380bb21
2011-02-14 14:23:53 -08:00
Dmitri Plotnikov
b3703a76ce Merge "Full text search: removing unused deprecated hidden API." 2011-02-14 14:21:09 -08:00
Andreas Huber
cb218793c3 Enable cancelling the rtsp connection process early.
Change-Id: Ie2059c54541ad8c675944d71b39c772b0f6f04c8
related-to-bug: 3452699
2011-02-14 14:14:23 -08:00
Scott Main
6209b62241 docs: add faketouch to uses-feature doc
Change-Id: I335bda6018380c6ed5e891787116b2c1ab6f77f0
2011-02-14 13:49:02 -08:00
Erik
145d7d879b Merge "Add comment about not changing calendar authority" 2011-02-14 13:36:16 -08:00
Erik
e9b734dff1 Add comment about not changing calendar authority
Change-Id: I1d5423ceda17b0e594520b3236e984584fedcbbb
2011-02-14 13:32:19 -08:00
Adam Cohen
b44cb0ba97 Merge "Making AdapaterViewAnimator setDisplayedChild remotable" 2011-02-14 12:57:16 -08:00
Scott Main
8199efbb43 am 0e9e74e8: am ecd8fa06: Merge "docs: add clarification to split touch events" into honeycomb
* commit '0e9e74e86e6a126adafb79b0fa768008aba39e3d':
  docs: add clarification to split touch events
2011-02-14 12:38:30 -08:00
Scott Main
0e9e74e86e am ecd8fa06: Merge "docs: add clarification to split touch events" into honeycomb
* commit 'ecd8fa06e73b9d2ef6082af3f50e1daa194e9e08':
  docs: add clarification to split touch events
2011-02-14 12:35:36 -08:00
Scott Main
ecd8fa06e7 Merge "docs: add clarification to split touch events" into honeycomb 2011-02-14 12:33:10 -08:00
Katie McCormick
89e0878a20 am 1d0fad21: am 28c3f5ca: Merge "Doc change: New docs for Loaders." into honeycomb
* commit '1d0fad219d78652f8d93344054466b664c2a6699':
  Doc change: New docs for Loaders.
2011-02-14 12:06:02 -08:00
Katie McCormick
1d0fad219d am 28c3f5ca: Merge "Doc change: New docs for Loaders." into honeycomb
* commit '28c3f5ca436f466638012934b8f3f1f923158118':
  Doc change: New docs for Loaders.
2011-02-14 12:03:16 -08:00