56046 Commits

Author SHA1 Message Date
Kevin Tang
a5fe6b2efe GPS Provider Service changes
GPS engine needs to receive network state changes from Android fw.

Added db query for the current APN, also added a new parameter
between JNI / HAL to the new method in AGpsRilInterface struct
for gps engine to receive APN from GPSLocationService

Change-Id: I62e35c948d2ac1961771d1a10581a3b8e695c05a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-04 10:33:35 -04:00
Svetoslav Ganov
47e02711d7 ACTION_HOVER_EXIT sometimes not delivered during touch exploration.
1. The code for detecting the end of a touch exploration gesture
   was not injecting the hover exit event upon detection of the
   gesture end.

bug:5091758:

Change-Id: I468164617d6677cd2a2a2815e1756c826d49f3a9
2011-08-04 06:34:37 -07:00
Svetoslav Ganov
e4aa13b201 AccessibilityEvent#toString() always reports -1 for record count.
1. The implementation of toString() was calling a wrong method
   for the record count.

bug:5087078

Change-Id: I4ca79faa6ccce135eb6fe797de7b08e30f8b3e71
2011-08-04 06:30:33 -07:00
Svetoslav Ganov
7abaecc3db Merge "Removing firing of spurious scroll accesibility events." 2011-08-04 05:55:46 -07:00
Svetoslav Ganov
2c44b9221b Merge "No selection or click accessibility events are fired when a list item is tapped." 2011-08-04 05:55:26 -07:00
Henrik B Andersson
93827fb09e Bug fixes in OMA DRM v1 Forward Lock Agent
A couple of fixes in the Forward Lock Agent.
The DRM Framework isn't thread safe so the Forward Lock Agent needs
to protect the private structures.
Base64-encoded content with LF-only instead of CRLF line breaks is now
accepted.
A fix for non-standard boundary characters.
The debug prints are also turned off as default.

Change-Id: I8ab417231380fbe1c371d18a147773ceabc6f69f
2011-08-04 13:43:02 +02:00
Wu-cheng Li
09f6d67f37 Merge "Add camera bayer image format." 2011-08-04 01:46:56 -07:00
Wu-cheng Li
70fb908504 Add camera bayer image format.
The API are hidden.

bug:5086073

Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
2011-08-04 16:40:28 +08:00
Irfan Sheriff
f6d09845be Fix p2p package paths
Split change Iba3beb8c which will not go in master to fix package paths

Bug: 5002384
Change-Id: I15072b65422fcdfe17c3f130d169258d60748012
2011-08-03 23:21:02 -07:00
satok
5357806980 API cleanup for the spell checker framework
Bug: 5110151

- Add a bundle to an argment of newSpellCheckerSession
- Expose SpellCheckerSessionImpl in SpellCheckerService
- Fix function names
- etc

Change-Id: Ia8ec783b7b4d5fcd18389854b445fc10fc502297
2011-08-04 12:53:56 +09:00
Jim Miller
cf27a3ecc6 Merge "Fix 5044158: layout and asset work on lockscreen PIN mode" 2011-08-03 19:41:45 -07:00
Fabrice Di Meglio
6850c7aff5 Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR
- add missing case for Arabic numbers

Change-Id: I7efe8172efee410eaafddec4a1465c1aa93a125b
2011-08-03 19:13:34 -07:00
Dianne Hackborn
21351d1b44 Merge "Whoops also need to move notification shade above lock screen." 2011-08-03 18:58:04 -07:00
Dianne Hackborn
e8ecde10b3 Whoops also need to move notification shade above lock screen.
And this requires making a new layer for the volume toast.

Change-Id: I4f272d56c87cf3b6bf886774b0fb02e610ab9164
2011-08-03 18:55:50 -07:00
Stephen Hines
4382467a80 Start using bcinfo components within librs.
BUG=4942491

Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Daniel Sandler
96f3b6f010 Fix NPE on first-ever boot if display has rotated.
Bug: 5116154
Change-Id: I8c91fa9eae24c6cb25f4431da00dc4b527124ae3
2011-08-03 21:45:28 -04:00
Mike Lockwood
5564334aa5 Merge "UsbDeviceManager: Fix typo that broke adb on/off setting persistence" 2011-08-03 18:35:33 -07:00
Mike Lockwood
e2e7b1e2dc Merge "Add support for localizing order of day of week and date in status bar date view" 2011-08-03 18:35:23 -07:00
Daniel Sandler
60b3e9c157 Log some signal condition diagnostics for now.
Bug: 5103241
Change-Id: Id780a3e535270c53e5f1b531c761ca5010291040
2011-08-03 21:26:03 -04:00
Jaikumar Ganesh
8c90038503 Merge "Fix PAN bug for reverse tethering." 2011-08-03 18:15:11 -07:00
Mathias Agopian
452f035c31 Merge changes I689cb0c0,I09603218
* changes:
  Add a 'release' method to the SurfaceTexture public Java API
  Mark Window-Manager-specific APIs on android.view.Surface as @hide
2011-08-03 18:12:36 -07:00
Jean-Baptiste Queru
a164690a34 am a598d144: am 3a5e36f9: (-s ours) am 98c531dc: am 9b0c6bee: Merge "Fix a compiling error when trying to use setBufferCount"
* commit 'a598d144e8c9722ff83e38cd8a70bc15a00bcdf3':
  Fix a compiling error when trying to use setBufferCount
2011-08-03 17:42:20 -07:00
Christopher Tate
ab104b2c03 Merge "Make backup/restore confirmation UI landscape-friendly" 2011-08-03 17:37:56 -07:00
Christopher Tate
31deacf6f5 Make backup/restore confirmation UI landscape-friendly
Now the textual content and password fields are placed in scroll view,
and the confirm/deny buttons pinned at the bottom of the layout.
Previously, in landscape mode on some devices the buttons would be
pushed off screen.

Bug 5115411

Change-Id: I8bf8fd1516735bf6111893df79636b519dbfb803
2011-08-03 17:31:52 -07:00
Matthew Xie
cffb287b44 Merge "Add a timeout for disconnecting devices to recover from error situation" 2011-08-03 17:31:11 -07:00
Chris Craik
351c73a0f6 Merge "TileBenchmark label addition" 2011-08-03 17:29:03 -07:00
Mathias Agopian
ec46b4e1ca Add a 'release' method to the SurfaceTexture public Java API
Bug: 5063618
Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
2011-08-03 17:23:44 -07:00
Xavier Ducrohet
162c1dcd5e Layoutlib: implement Resources.getBoolean(int).
Change-Id: I44cee203bb9a8fabaebfd689fc20ec2f2a9b3561
2011-08-03 17:23:12 -07:00
Jeff Sharkey
63d27a9233 Network stats with varint, omit parcel fields.
Persist NetworkStatsHistory using variable-length encoding; since
most buckets have small numbers, we can encode them tighter. Initial
test showed 44% space savings. Also persist packet and operation
counters.

Let NetworkStatsHistory consumers request which fields they actually
need to reduce parcel overhead.

Tests for verify varint and history field requests, also verify end-
to-end by persisting history into byte[] and restoring. Expose
bandwidth control enabled state. Extend random generation to create
packet and operation counts. Moved operation counts to long.

Fix bug that miscalculated bytes since last persist, which would
cause partial stats loss when battery pulled.

Bug: 4581977, 5023706, 5023635, 5096903
Change-Id: If61e89f681ffa11fe5711471fd9f7c238d3d37b0
2011-08-03 17:21:07 -07:00
Jaikumar Ganesh
b389bdfba2 Merge "Enforce permission for changeApplicationState function." 2011-08-03 17:20:52 -07:00
Romain Guy
e28cde6253 Merge "Added Device Default Themes." 2011-08-03 17:16:02 -07:00
Kenny Root
01704e76fa Merge "Better error codes for missing files" 2011-08-03 17:09:38 -07:00
Matthew Xie
9a943a6420 Add a timeout for disconnecting devices to recover from error situation
Start the timer (3 second) just after calling disconnect devices.
If the timer expires, it indicates an error condition. we don't wait
on the ALL_DEVICES_DISCONNECTED event upon the error. Instead, get out of
switching state and turn off BT to reset out of the error condition.

Change-Id: I27aa8cd7b6fe50d9191e2d32fc2d6eac50424403
2011-08-03 17:08:55 -07:00
Jeff Sharkey
a841e52401 Merge "Expose quota status for active network." 2011-08-03 17:05:21 -07:00
Andrew Sapperstein
d31d3887bb Added Device Default Themes.
Now we have device default themes that OEMs
can change without affecting the Holo theme
or its derivatives. Additionally, the device
default themes point to device default styles
that have stubs (while inheriting from their
holo analogs).

Change-Id: I91f4a828eca1ba4da1d5b073dd04a34e52534aa4
2011-08-03 17:02:01 -07:00
Adam Powell
1824a62bc1 Merge "Fix bug 5044737 - Compatibility menus should be as wide as the screen width" 2011-08-03 16:57:07 -07:00
Chris Craik
1d36d0fc7f TileBenchmark label addition
bug:5062896

Now uses previously unused methods, and has better labelling.

Change-Id: Icc6ec7d1ac915b594c26854aea31710e3f23633c
2011-08-03 16:54:23 -07:00
Adam Powell
dc5facd476 Fix bug 5044737 - Compatibility menus should be as wide as the screen
width

Change-Id: I96f4d6d41fe490845a1e7dd40c9f1a38f01781b7
2011-08-03 16:45:45 -07:00
Jaikumar Ganesh
2cbb33c362 Fix PAN bug for reverse tethering.
We were the setting the iface as null while disconnecting
and so when disconnected the iface used was null - which would
lead to a crash. During connecting we don't know the interface,
so we use null.

Change-Id: I970f2f1886fa32237936eff439c359187a798832
2011-08-03 16:42:55 -07:00
Romain Guy
8c8333c80e Merge "Destroy the EGL surface when the ViewRootImpl surface is invalid Bug #5109839" 2011-08-03 16:23:35 -07:00
Romain Guy
1d0c708961 Destroy the EGL surface when the ViewRootImpl surface is invalid
Bug #5109839

Change-Id: Icebde9abf43b852397a73ffef519004993b46901
2011-08-03 16:22:24 -07:00
Kenny Root
1ebd74acf9 Better error codes for missing files
Make sure that files that don't exist aren't returning bogus 'out of
space' error codes.

Add some Javadoc so I can remember what each thing does in an IDE.

Add copyright header to NativeLibraryHelper

Bug: 3375299
Change-Id: Iac46019160921daca65b21d38897e5165063316e
2011-08-03 16:03:42 -07:00
Philip Milne
271865565a Merge "Tidy." 2011-08-03 16:01:59 -07:00
Chia-chi Yeh
b375caa589 Merge "NativeDaemonConnector: offload callbacks to another thread." 2011-08-03 15:53:43 -07:00
Chia-chi Yeh
fcc1b41b66 VPN: move away from the VPN permission.
VpnBuilder will be replaced by VpnService in the next change.

Change-Id: I2dea67a1616b74d17b372f7b214d207f1617198e
2011-08-03 15:52:12 -07:00
Gloria Wang
6d899a61a8 Merge "Check the syncword for each frame. Fix for bug 5117233." 2011-08-03 15:37:24 -07:00
Philip Milne
4c8cf4c933 Tidy.
Simplify logic for alignment modes.
Simplify drawing of rectangles.
Remove redundant code that was generating warnings in IDEA.
Remove the flexibility variable from Spec as it always has the value UNDEFINED.
Supress remaining inspection warning for clean (green) inspection status.

Change-Id: I2ddd80c68e7a6db0877648c2fdecefe9dbe7d32f
2011-08-03 15:37:05 -07:00
Jim Miller
79a02b1585 Fix 5044158: layout and asset work on lockscreen PIN mode
Fix PIN entry layout issues on hdpi, large-mdpi and xhdpi devices where emergencyCallButton was partially off-screen.

Copy button assets from latinIME for PIN screen.

Make PIN keyboard horizontal and vertical gaps configurable.

Change-Id: I415fcd83f02971b987c3df418d4114b8e1ab3945
2011-08-03 15:12:04 -07:00
Gloria Wang
3c10b01551 Check the syncword for each frame.
Fix for bug 5117233.

Change-Id: I714c9b671832c9606cabdfe6bb21697c08de2eff
2011-08-03 15:06:35 -07:00
Gilles Debunne
eba69ac070 Merge "A tap on the insertion handle is only handled if it has not been moved" 2011-08-03 15:01:50 -07:00