75493 Commits

Author SHA1 Message Date
Jake Hamby
9341f389db After reboot with airplane mode and BT enabled, keep BT enabled.
Enabling airplane mode disables Wi-Fi and Bluetooth as well as the
cell radio. Bluetooth and Wi-Fi can then be reenabled if desired.
After a reboot, Bluetooth was always disabled if airplane mode
was enabled. Changed to set Bluetooth to its previous state after
reboot, regardless of the airplane mode setting. This is already
the behavior for Wi-Fi after a reboot.

Bug: 5623624
Change-Id: I1c44500221aa0e5d1d7a5c9046d6c1380d28b5c0
2012-04-23 16:15:42 -07:00
Jeff Brown
8bca94ad83 More work on international keyboards.
Changed the English US keymaps to implement a strict US key map
with no additional ALT functions.

Fixed a bug copying the alias in the InputDevice copy constructor.

Added support for end of line comments in KCM and KL files.

Added the German keyboard layout.

Sorted the keys in the keyboard layout files by physical arrangement
to make it easier to maintain them.

Bug: 6110399
Change-Id: If44d83de5b98f2bf0016cbb8e12264387b286aaa
2012-04-23 16:12:32 -07:00
Gilles Debunne
b983e27af4 Merge "Re-added a flag to prevent the IME from showing" 2012-04-23 15:53:37 -07:00
Romain Guy
ad6283e48a Merge "Invoke onTrimMemory with an EGL context Bug #6369600" 2012-04-23 15:31:08 -07:00
Glenn Kasten
f1b56449f5 Scheduling group cleanup
The C++ API for scheduling groups is going away, so use the C API.

Renumber THREAD_GROUP_* constants to have the same values as SP_*.
They are @hide so this should be OK.

The old THREAD_GROUP_FG_BOOST constant is removed, and replaced by a
(private) THREAD_GROUP_FOREGROUND constant that is just a placeholder
to correspond to SP_FOREGROUND.  It is not usable at this level.

Improved performance of android_os_Process_setProcessGroup:
avoid unnecessary syscall to getpriority for each tid.

Fixed error handling in android_os_Process_setThreadGroup.
It raises an exception if set_sched_policy() returns an error.

Add comments and fix typos in existing comments.

Change-Id: Ib922e92c945985c695ef0addbd2b83b8e82865f8
2012-04-23 15:30:02 -07:00
Romain Guy
19f86e831e Invoke onTrimMemory with an EGL context
Bug #6369600

Change-Id: I3ded47c3688ef2f2873495392c35e898357204da
2012-04-23 15:19:07 -07:00
Scott Main
88a0e796fd am f6af2278: am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'f6af227832616398b580019506865f846be81dde':
2012-04-23 15:18:53 -07:00
Scott Main
cadaee6b4c am 9e99d86b: am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit '9e99d86b607f59d5615e7ad09ca1cf3e6498fd54':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:16:21 -07:00
Scott Main
9919a4a1b2 am aab79e54: am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'aab79e541afa3176e52b7becde5086c7934a89e2':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:16:11 -07:00
Scott Main
9e99d86b60 am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'd5955b02365d35f3f9e8fc261fc22e6d2ac9f6bf':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:13:13 -07:00
Scott Main
f6af227832 am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'd5955b02365d35f3f9e8fc261fc22e6d2ac9f6bf':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:13:10 -07:00
Scott Main
aab79e541a am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'd5955b02365d35f3f9e8fc261fc22e6d2ac9f6bf':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:13:04 -07:00
Scott Main
d5955b0236 Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1 2012-04-23 15:11:04 -07:00
Scott Main
1cf9255ec7 docs: add section to basic intent class about using the activity chooser
Change-Id: Ib2a889429895a24ced2db365d6e4afdf44c3086e
2012-04-23 14:55:11 -07:00
Jeff Sharkey
57a6e14e57 Merge "Clear identity when checking if bandwidth enabled." 2012-04-23 14:40:13 -07:00
Jeff Sharkey
49c1d1764b Clear identity when checking if bandwidth enabled.
Change-Id: I0f10f86dc14483e29609057c671454b322da4826
2012-04-23 14:39:19 -07:00
Marco Nelissen
9ae1b69fbb Merge "Speed up playlist processing" 2012-04-23 14:26:25 -07:00
Daniel Sandler
6ae7b5807a Expand hit rectangles of main navigation buttons.
There's now no dead space between them. Also, increase the
visual size of the nav icons by 30% (just a quick resample
of the current artwork, to be replaced by custom-drawn
graphics at 130%).

The background glow looks kind of comical right now.

Bug: 6381833
Change-Id: I03ef0ea64a9e953f9f2b29cc03097d250ff52134
2012-04-23 17:15:15 -04:00
Quddus Chong
fd6a5245cc am 2bf56f00: am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '2bf56f009f4e0d9d35105ac75d459351e149b54d':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:07:58 -07:00
Quddus Chong
211135ebb5 am 1aa56e14: am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '1aa56e14b86e10059793695787680917896add26':
2012-04-23 14:07:38 -07:00
Quddus Chong
0a858f2387 am 22ec624c: am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '22ec624c33dd6819293cb1444b9034d0212a9768':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:07:13 -07:00
Quddus Chong
2bf56f009f am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '378da38db81093b0ce98dbe24ade3de0bb87bd5c':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:04:54 -07:00
Quddus Chong
22ec624c33 am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '378da38db81093b0ce98dbe24ade3de0bb87bd5c':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:04:49 -07:00
Quddus Chong
1aa56e14b8 am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '378da38db81093b0ce98dbe24ade3de0bb87bd5c':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:04:38 -07:00
Marco Nelissen
08f70fa5b8 Speed up playlist processing
When matching entries in playlists, only consider audio files.

b/6346786

Change-Id: Ia744d002c2821a81840303b9409593da48a08b73
2012-04-23 13:53:20 -07:00
Chris Wren
b023bf85a0 let default notifications with actions get bigger that 64dp.
Bug: 6377749

Change-Id: I8c92ef67b59f7a44b61926c32480cce6990a1375
2012-04-23 13:51:52 -07:00
Adam Powell
32ef750af0 Merge "Add TaskStackBuilder#addParentStack(ComponentName)" 2012-04-23 13:41:36 -07:00
Chet Haase
27bfcedc37 Merge "Remove USE_DISPLAY_LIST_PROPERTIES flag" 2012-04-23 13:36:46 -07:00
Jeff Sharkey
258783e09b Merge "Grant external storage permissions to SystemUI." 2012-04-23 13:33:28 -07:00
Jeff Sharkey
81d94335fb Grant external storage permissions to SystemUI.
Used for taking screenshots and playing notification ringtones.

Bug: 6381589
Change-Id: Ib1a5ad17edbeab984bbab25168d81eb99deba952
2012-04-23 13:32:00 -07:00
Adam Powell
3c464bdefe Add TaskStackBuilder#addParentStack(ComponentName)
Let TaskStackBuilder discover a parent activity stack by ComponentName
in addition to explicit Activity classes.

Change-Id: I18b8378548ed1d6ef033800e6a3e11ab965d07e5
2012-04-23 13:18:06 -07:00
Quddus Chong
378da38db8 docs: Fixed the url for the Aplication Licensing link.
Bug: 6322460

Change-Id: I9a4ce2b79adf1470fd7a7b7b0f085f68544d1a4d
2012-04-23 12:55:35 -07:00
Eric Fischer
25f26e76be Merge "Import translations. DO NOT MERGE" 2012-04-23 12:36:04 -07:00
Eric Fischer
e8e25e22ac Import translations. DO NOT MERGE
Change-Id: Ib5fcdfa63b7d2049f9e5ee236a8dd394d48da22b
2012-04-23 12:31:22 -07:00
Eric Fischer
ad7628a8aa Merge "Import translations. DO NOT MERGE" 2012-04-23 12:23:52 -07:00
Eric Fischer
f4a5cc1b52 Import translations. DO NOT MERGE
Change-Id: I9e4dcac71ac7430b6b51e49b4e9c4f6882a7f8b7
2012-04-23 12:21:11 -07:00
Chet Haase
1271e2cc80 Remove USE_DISPLAY_LIST_PROPERTIES flag
This flag was still hanging around pending any need to disable
DisplayList properties. But things seem stable, so it's time to clean up
and simplify the code.

At the same time, I reduced redundance in DisplayList dimensions. We
used to call drawDisplayList() with width/height parameters that were
used to do a clip reject. This is redundant with the DisplayList properties
that set the bounds of the DisplayList; the left/right and top/bottom properties
represent the same width/height properties formerly used in drawDisplayList().
The new approach is to not pass dimensions to drawDisplayList(), but to
instead pull those dimensions directly from the DisplayList when needed.

Change-Id: I8871beff03b1d4be95f7c6e079c31a71d31e0c56
2012-04-23 11:13:17 -07:00
Jonathan Dixon
003952ba33 Merge "Fix dumprendertree crash" 2012-04-23 10:56:21 -07:00
Jonathan Dixon
03b433c031 Fix dumprendertree crash
This is a quick workaround to get tests running again, will follow up with full fix tomorrow.

Bug: 6379925
Change-Id: I96d6e27bfb8f8cd41ec08845ab0fb1e584dbc9da
2012-04-23 18:51:28 +01:00
Gilles Debunne
de09576f49 Merge "Cursor is moved at end of word when it is added to dictionary" 2012-04-23 10:42:21 -07:00
Steve Block
5e1243e6f7 Merge "Fix use of API level in android.webkit JavaDoc" 2012-04-23 10:33:14 -07:00
Steve Block
b838aef488 Fix use of API level in android.webkit JavaDoc
Bug: 5461416
Change-Id: Id17b10fec6bebc46260db6abe6df5f7d44a711ae
2012-04-23 18:24:29 +01:00
Jeff Sharkey
f913d002a6 Merge "Expose statfs() through IMediaContainerService." 2012-04-23 10:08:01 -07:00
Amith Yamasani
03d2f292a6 Merge "Clipboard service keeps separate clipboards per user." 2012-04-23 09:40:28 -07:00
Ben Murdoch
1579a67ee9 Merge "Pause the WebCore thread watchdog at the right time." 2012-04-23 05:52:05 -07:00
Ben Murdoch
cba778dc21 Pause the WebCore thread watchdog at the right time.
There are times when we deliberately put the WebCore thread
to sleep (i.e. waiting for a user to complete a JS prompt or
dismiss an alert). In this case, we don't want the WebCore thread
watchdog to fire. Pause the watchdog before we put the WebCore thread
to sleep and resume it again when the thread wakes up.

Factor out the repeated send/pause/wait/resume code into it's own
function.

Bug: 6366520
Change-Id: I17ecf9d466ce21b25a9e5cb8ff4cb0e5fab7605b
2012-04-23 13:50:03 +01:00
Jonathan Dixon
47bc84760a Merge "Seperate interface and implementation of 4 WebView classes" 2012-04-23 05:48:40 -07:00
Daniel Sandler
03c63ebebb Merge "Update SystemUI for sw600dp devices." 2012-04-23 04:48:35 -07:00
Jonathan Dixon
d3101b1d30 Seperate interface and implementation of 4 WebView classes
GeolocationPermissionsClassic
CookieManagerClassic
WebIconDatabaseClassic
WebStorageClassic

Also creats a WebViewFactory top level class - this remains hidden
for now, as it's currently only used implicitly by the other
public WebView classes to create the provider instances.

Bug: 5626244

Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
2012-04-23 12:43:02 +01:00
Andreas Sandblad
8239940d0e Distance max set incorrectly
The distance max used in the MotionRange is calculated
incorrectly.

Looks like a copy-and-paste error.

Change-Id: I2b6daab088df0fb69e05682b67ca33524ff35987
2012-04-23 09:53:30 +02:00