OSDN Git Service
Nick Pelly [Tue, 21 Aug 2012 23:29:54 +0000 (16:29 -0700)]
Merge "Fix some location issues exposed by CTS." into jb-mr1-dev
Nick Pelly [Tue, 21 Aug 2012 23:25:47 +0000 (16:25 -0700)]
Fix some location issues exposed by CTS.
Change-Id: I5859ee2c9db5745b0a3bc8abfa8f08728fb25059
Selim Gurun [Tue, 21 Aug 2012 23:12:55 +0000 (16:12 -0700)]
Merge "Small tidy up to getDefaultUserAgent. DO NOT MERGE" into jb-mr1-dev
Jonathan Dixon [Mon, 20 Aug 2012 23:37:15 +0000 (16:37 -0700)]
Small tidy up to getDefaultUserAgent. DO NOT MERGE
- no need for WebSettings to bounce via WebView to get to the factory
- move this static (non-factory) method into the Statics inner class.
Bug:
6329117
Clean cherry pick:
d1c4faa5a4c2be71d529d35572c5f807beee7ddc
Change-Id: I96807df0171c7308421ca8811cfcb1bf710cb007
Selim Gurun [Tue, 21 Aug 2012 23:06:04 +0000 (16:06 -0700)]
Merge "Implement WebSettings.{get|set}TextSize via {get|set}TextZoom. DO NOT MERGE" into jb-mr1-dev
Stephen Hines [Tue, 21 Aug 2012 23:01:30 +0000 (16:01 -0700)]
Merge "Switch to v8 (and appropriate llvm-rs-cc stuff)." into jb-mr1-dev
Mikhail Naganov [Tue, 7 Aug 2012 17:26:52 +0000 (18:26 +0100)]
Implement WebSettings.{get|set}TextSize via {get|set}TextZoom. DO NOT MERGE
TextSize is deprecated, so we wouldn't expect from WebViewProvider
implementations to re-implement it in some other way than Android WebView does
it. This also makes recently added TextSize.getValue method redundant.
Clean cherry pick:
1202d66f78fb24850b997e37f0ce3cb3b36e4bbf
Change-Id: Ib6aecb187f10ac3ec5d12cb839cb814ec0c564fe
Dianne Hackborn [Tue, 21 Aug 2012 22:42:42 +0000 (15:42 -0700)]
am
8b97ee6d: am
b0b4a704: Merge "ActivityThread: Avoid creating duplicate handlers and reuse mH"
* commit '
8b97ee6d8c26974a6fc9ce85c3d7a07ca1e9cac2':
ActivityThread: Avoid creating duplicate handlers and reuse mH
Dianne Hackborn [Tue, 21 Aug 2012 22:39:42 +0000 (15:39 -0700)]
am
b0b4a704: Merge "ActivityThread: Avoid creating duplicate handlers and reuse mH"
* commit '
b0b4a704400319ceaa1002f3194a40553a00cc82':
ActivityThread: Avoid creating duplicate handlers and reuse mH
Craig Mautner [Tue, 21 Aug 2012 22:30:41 +0000 (15:30 -0700)]
Merge "Fix to allow SYSTEM_UID to display windows." into jb-mr1-dev
Craig Mautner [Tue, 21 Aug 2012 22:12:20 +0000 (15:12 -0700)]
Fix to allow SYSTEM_UID to display windows.
Was not previously checking to make sure that the appId was not
SYSTEM_UID (1000). This caused certain system windows to fail to
appear.
Change-Id: I939dc2f8a256acb84b7c413c7e00003a89aff6d4
Dianne Hackborn [Tue, 21 Aug 2012 22:12:45 +0000 (15:12 -0700)]
Merge "ActivityThread: Avoid creating duplicate handlers and reuse mH"
Craig Mautner [Tue, 21 Aug 2012 21:26:28 +0000 (14:26 -0700)]
Merge "Hide non user app windows from other users." into jb-mr1-dev
Amith Yamasani [Tue, 21 Aug 2012 21:19:51 +0000 (14:19 -0700)]
Merge "Multiprocess activity should be allowed to run on current user" into jb-mr1-dev
Teng-Hui Zhu [Tue, 7 Aug 2012 00:24:10 +0000 (17:24 -0700)]
Add context support into the filter framework.
Basically we need the context to pass the content URI into MediaPlayer.
bug:
6837809
Change-Id: I9390b57baff06f80246584fb3a4b746e1a308ff2
Jean-Baptiste Queru [Tue, 21 Aug 2012 21:02:02 +0000 (14:02 -0700)]
am
34d85746: am
b8da225f: Merge "Tests/RS: Add RS context check for RsBalls setAccel()"
* commit '
34d8574665caaef52f7c595b57f45f1c9efd7e39':
Tests/RS: Add RS context check for RsBalls setAccel()
Jean-Baptiste Queru [Tue, 21 Aug 2012 21:00:11 +0000 (14:00 -0700)]
am
b8da225f: Merge "Tests/RS: Add RS context check for RsBalls setAccel()"
* commit '
b8da225f26b689288710ff0eafefa906b4f5700f':
Tests/RS: Add RS context check for RsBalls setAccel()
Nick Pelly [Tue, 21 Aug 2012 20:53:04 +0000 (13:53 -0700)]
Merge "Print timestamp (instead of age) in Location#toString()" into jb-mr1-dev
Nick Pelly [Mon, 20 Aug 2012 21:40:24 +0000 (14:40 -0700)]
Print timestamp (instead of age) in Location#toString()
Age was a bad idea, since it depends when toString() was called
Change-Id: Ica0b6bfa9a93b5a452ba3def5fbb2b0a0194c401
Scott Anderson [Tue, 21 Aug 2012 20:34:47 +0000 (13:34 -0700)]
Merge "BatteryService: Fix comment to match code" into jb-mr1-dev
Jim Miller [Tue, 21 Aug 2012 20:19:31 +0000 (13:19 -0700)]
Merge "Update AppWidgetHost with better support for OnClickHandlers" into jb-mr1-dev
Scott Anderson [Tue, 21 Aug 2012 20:01:58 +0000 (13:01 -0700)]
BatteryService: Fix comment to match code
Change-Id: Ib4e30e7808ff3a2a8a49c000eac719a3a4273fdd
Signed-off-by: Scott Anderson <saa@android.com>
Jean-Baptiste Queru [Tue, 21 Aug 2012 20:09:18 +0000 (13:09 -0700)]
Merge "Tests/RS: Add RS context check for RsBalls setAccel()"
Chet Haase [Tue, 21 Aug 2012 20:03:49 +0000 (13:03 -0700)]
Merge "Fix notification panel bug which prevented proper resizing" into jb-mr1-dev
Baligh Uddin [Tue, 21 Aug 2012 19:19:53 +0000 (12:19 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Irfan Sheriff [Tue, 21 Aug 2012 18:47:18 +0000 (11:47 -0700)]
Merge "Fix NPE" into jb-mr1-dev
Irfan Sheriff [Tue, 21 Aug 2012 18:44:01 +0000 (11:44 -0700)]
Fix NPE
Bug:
7026244
Change-Id: I21f13bdbd2d33f0cc082f85474229d9909eb47c1
Maxim Siniavine [Tue, 21 Aug 2012 18:43:07 +0000 (11:43 -0700)]
Merge "Added a test to measure memory usage of apps." into jb-mr1-dev
Maxim Siniavine [Fri, 17 Aug 2012 21:17:06 +0000 (14:17 -0700)]
Added a test to measure memory usage of apps.
Each app uses a certain amount of memory when running in the
foreground. This test takes a list of app on the command line
starts them one at a time and reports the total PSS of the
app's process. The test allows to monitor memory usage over time.
Change-Id: I3411bd96cf7c7af10acbb8deeb9936469b810ea2
Baligh Uddin [Tue, 21 Aug 2012 18:19:47 +0000 (11:19 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Dianne Hackborn [Tue, 21 Aug 2012 18:17:11 +0000 (11:17 -0700)]
Merge "Improve multi-user app management." into jb-mr1-dev
Baligh Uddin [Tue, 21 Aug 2012 17:43:48 +0000 (10:43 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie9c95838e61ce5fffd21db7cd63f393a7ec2735e
Auto-generated-cl: translation import
Dianne Hackborn [Tue, 21 Aug 2012 00:23:30 +0000 (17:23 -0700)]
Improve multi-user app management.
Introduce API to get per-user storage information, keep track
of services associated with users, and various small cleanup.
Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
Baligh Uddin [Tue, 21 Aug 2012 17:22:53 +0000 (10:22 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3b4b81ee8d14c074583f9ca030da42a28bba25c4
Auto-generated-cl: translation import
Amith Yamasani [Tue, 21 Aug 2012 16:49:53 +0000 (09:49 -0700)]
Multiprocess activity should be allowed to run on current user
Multiprocess flag should override singleton checks.
This allows ChooserActivity to run in the process/user that launched it.
Wallpaper chooser from Launcher now works for secondary users.
Change-Id: I17a99278ed2a6d2491c3016a549134a85bc2af00
Guang Zhu [Tue, 21 Aug 2012 04:10:39 +0000 (21:10 -0700)]
Merge "Revert "fix sdcard path for webkit perf and layout test scripts"" into jb-mr1-dev
Guang Zhu [Tue, 21 Aug 2012 04:09:28 +0000 (21:09 -0700)]
Revert "fix sdcard path for webkit perf and layout test scripts"
This reverts commit
8aaa32b13e565893c57059ca14eb49fbe4bdf0ba
Change-Id: I831eb07943c85bb23b43bdf2d9026bf88ed23c5a
Jeff Brown [Tue, 21 Aug 2012 03:28:50 +0000 (20:28 -0700)]
Merge "Disable electron beam on animation." into jb-mr1-dev
Jeff Brown [Tue, 21 Aug 2012 03:25:52 +0000 (20:25 -0700)]
Merge "Plumb the switch code into Dalvik." into jb-mr1-dev
Jeff Brown [Tue, 21 Aug 2012 03:25:14 +0000 (20:25 -0700)]
Merge "Encapsulate locks in UEventObservers." into jb-mr1-dev
Jeff Brown [Tue, 21 Aug 2012 03:17:36 +0000 (20:17 -0700)]
Disable electron beam on animation.
We want the screen to come back on as soon as possible.
Change-Id: Ifdaa2e88d19590c3da53be985dd886633e5cac59
Jeff Brown [Tue, 21 Aug 2012 03:16:01 +0000 (20:16 -0700)]
Plumb the switch code into Dalvik.
Bug:
6548391
Change-Id: If0e918669ba27ca0e6561930d4abc427c34de42d
Jeff Brown [Tue, 21 Aug 2012 03:15:34 +0000 (20:15 -0700)]
Encapsulate locks in UEventObservers.
Synchronized methods make me cry so fixing this first before
I introduce any new functionality that could result in a deadlock.
Bug:
6548391
Change-Id: I9c006dc491ce205bfd86acf828dcebda2a63b2ca
Jeff Brown [Tue, 21 Aug 2012 02:41:48 +0000 (19:41 -0700)]
Merge "Add factory test feature to shut off on long press power." into jb-mr1-dev
Chet Haase [Tue, 21 Aug 2012 00:34:33 +0000 (17:34 -0700)]
Fix notification panel bug which prevented proper resizing
When the notification panel is opened larger than the list's length,
the penl is put into a "rubber band" mode, to animate the bottom of the
panel back to the end of the list. But the rubber band mode is never
unset, which causes an improper result if another notification is ended,
preventing the panel from resizing to the new, appropriate size of the list.
Fix is to unset the rubber banding flag when the snapping animation finishes.
Issue #
6992133 Notification bar does not drop down completely in Mako
Change-Id: Id93918086353f58d6eb6bb071556f08eb2e2706e
John Reck [Tue, 21 Aug 2012 00:33:19 +0000 (17:33 -0700)]
Merge "Support scrolling layers with the mousewheel" into jb-mr1-dev
John Reck [Tue, 21 Aug 2012 00:13:47 +0000 (17:13 -0700)]
Support scrolling layers with the mousewheel
Bug:
6635437
Fix onGenericAction to support scrolling layers.
Calling startScrollingLayer detects if there is a layer under
the mouse pointer, and if so switches to DRAG_LAYER_MODE. Then, calling
doDrag will correctly handle scrolling the layer in DRAG_LAYER_MODE,
switching out of DRAG_LAYER_MODE when we hit the end of a layer, and
scrolling the page if there isn't a layer. It is the method used
by the touch drag path.
Change-Id: I00be09a63c40caa8fce94134c57db0894a62fef0
Brian Muramatsu [Mon, 20 Aug 2012 23:57:13 +0000 (16:57 -0700)]
Merge "add wireless charger support" into jb-mr1-dev
Craig Mautner [Mon, 6 Aug 2012 21:15:42 +0000 (14:15 -0700)]
Hide non user app windows from other users.
When transitioning between old user and new user application windows
from the old user may not be shown because only one user's windows
can be shown at a time.
Change-Id: I4e17b36c9100c9457cc6eb3cb3b77f3a94fa2b41
Jim Miller [Fri, 10 Aug 2012 02:22:32 +0000 (19:22 -0700)]
Update AppWidgetHost with better support for OnClickHandlers
This updates AppWidgetHost and AppWidgetHostView to do a better
job at refreshing widgets and their host views. It now allows
an OnClickHandler to be specified when creating the AppWidgetHost
which allows it to correctly update AppWidgetHostViews when needed.
Change-Id: I710c1d00a8d145bf3a9fd5f5691885bec9d1c7e4
Baligh Uddin [Mon, 20 Aug 2012 22:43:10 +0000 (15:43 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Jean-Baptiste Queru [Mon, 20 Aug 2012 22:26:53 +0000 (15:26 -0700)]
am
f96fcd50: am
26f8ce83: Merge "To avoid the JNI memory leaks in video editor codes"
* commit '
f96fcd5095e751fc9402d8bbecdf59f53e00d854':
To avoid the JNI memory leaks in video editor codes
Jean-Baptiste Queru [Mon, 20 Aug 2012 22:23:16 +0000 (15:23 -0700)]
Merge "resolved conflicts for merge of
4ea6a8eb to jb-mr1-dev" into jb-mr1-dev
Jeff Brown [Mon, 20 Aug 2012 22:09:41 +0000 (15:09 -0700)]
Merge "Adjust auto-brightness time constants." into jb-mr1-dev
Jeff Brown [Mon, 20 Aug 2012 21:59:18 +0000 (14:59 -0700)]
Merge "Fix some proximity sensor bugs." into jb-mr1-dev
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:57:23 +0000 (14:57 -0700)]
resolved conflicts for merge of
4ea6a8eb to jb-mr1-dev
Change-Id: I51b1732011f31ea07087ef0898b47de8977074de
Iliyan Malchev [Mon, 20 Aug 2012 21:57:14 +0000 (14:57 -0700)]
Merge "Revert "Revert "Add timestamp in scan results""" into jb-mr1-dev
Jeff Brown [Mon, 20 Aug 2012 21:56:57 +0000 (14:56 -0700)]
Add factory test feature to shut off on long press power.
Bug:
6847329
Change-Id: I2f4f975c3af2d13ccc06812a5a42e79032700862
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:50:45 +0000 (14:50 -0700)]
am
26f8ce83: Merge "To avoid the JNI memory leaks in video editor codes"
* commit '
26f8ce83e04c4efd10c09bb83cfacdcd154d9450':
To avoid the JNI memory leaks in video editor codes
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:50:40 +0000 (14:50 -0700)]
am
f515c6f4: Merge "Switch widget: Fix ON/OFF option update error"
* commit '
f515c6f4fe4457de1d5c49f78f9dcf6e4379e335':
Switch widget: Fix ON/OFF option update error
Benoit Goby [Mon, 20 Aug 2012 21:48:11 +0000 (14:48 -0700)]
Merge "Add UsbDebuggingManager and UsbDebuggingActivity" into jb-mr1-dev
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:29:51 +0000 (14:29 -0700)]
Merge "To avoid the JNI memory leaks in video editor codes"
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:28:32 +0000 (14:28 -0700)]
Merge "Switch widget: Fix ON/OFF option update error"
rich cannings [Mon, 20 Aug 2012 21:24:49 +0000 (14:24 -0700)]
Merge "Pass URLs to package verifiers" into jb-mr1-dev
Kenny Root [Mon, 20 Aug 2012 21:20:31 +0000 (14:20 -0700)]
Merge "Add AndroidKeyStore provider for KeyStore API" into jb-mr1-dev
Jeff Brown [Mon, 20 Aug 2012 21:02:12 +0000 (14:02 -0700)]
Adjust auto-brightness time constants.
Specifically, dim a little more slowly.
Change-Id: I10d66a83ddc3a63f8c93d740a0cb116e6c974d10
Benoit Goby [Thu, 26 Apr 2012 01:06:00 +0000 (18:06 -0700)]
Add UsbDebuggingManager and UsbDebuggingActivity
The UsbDebuggingManager listens to adbd requests and displays a dialog
when the public key authentification fails, for the user to confirm if it
wants to allow USB debugging from the attached host. If the user chooses
to always allow USB debugging, the UsbDebuggingManager writes the public
key to adbd's config file so that the public key authenfication succeeds
next time.
Change-Id: I115c828331d8e326c380844ee33915d5dff22260
George Mount [Mon, 20 Aug 2012 20:37:54 +0000 (13:37 -0700)]
Merge "Add getDefaultUserAgent to WebSettings." into jb-mr1-dev
Jeff Brown [Mon, 20 Aug 2012 20:24:23 +0000 (13:24 -0700)]
Fix some proximity sensor bugs.
Forgot to clear waiting for proximity negative flag.
Waiting for proximity negative also shouldn't turn the screen off
if it is currently on.
Change-Id: I9885b2f54b185beb961acda44176bc5f11a9f58b
rich cannings [Mon, 20 Aug 2012 20:20:14 +0000 (13:20 -0700)]
Pass URLs to package verifiers
This change passes the originating URL and accompanied referrer to
package verifiers, when available.
Bug:
6544677
Change-Id: I9ebc71bc13f549bd88267e444816151a99bda000
Victoria Lease [Fri, 17 Aug 2012 22:34:01 +0000 (15:34 -0700)]
DO NOT MERGE LocaleSpan makes Han disambiguation easy!
Cherry-pick of I7f1b0d49a2ece957a7b9b5d65d48385bf2c2a668 from master.
I've also provided TextView.setTextLocale() for use in single-language
TextViews.
Change-Id: I5692859bfd2aafc284172454d943afc250b22535
Victoria Lease [Mon, 20 Aug 2012 20:11:43 +0000 (13:11 -0700)]
Merge "DO NOT MERGE Han Preference" into jb-mr1-dev
Kenny Root [Mon, 20 Aug 2012 19:57:36 +0000 (12:57 -0700)]
am
7d5b22af: am
f029c22f: Merge "Use Libcore.os.umask for setting umask"
* commit '
7d5b22afae8525cdf80ba1bf8e18b87d597f830d':
Use Libcore.os.umask for setting umask
Kenny Root [Mon, 20 Aug 2012 19:55:11 +0000 (12:55 -0700)]
am
f029c22f: Merge "Use Libcore.os.umask for setting umask"
* commit '
f029c22f82573e7fee7c7e0cca4439fe78300bac':
Use Libcore.os.umask for setting umask
Iliyan Malchev [Mon, 20 Aug 2012 19:52:35 +0000 (12:52 -0700)]
Revert "Revert "Add timestamp in scan results""
With b/
6979211 fixed, we can reinstate timestamps.
This reverts commit
578531082b8e8c8aa03868e69591b7613b0e8b8e
Change-Id: I5dffc8d9701004f7c6325f21e1e33d1cdd2d05c0
Robert Greenwalt [Mon, 20 Aug 2012 19:52:24 +0000 (12:52 -0700)]
Merge "Update TCP buffer size when switching network type" into jb-mr1-dev
Kenny Root [Mon, 20 Aug 2012 19:45:16 +0000 (12:45 -0700)]
Merge "Add getmtime to Android KeyStore API" into jb-mr1-dev
Kenny Root [Fri, 10 Aug 2012 15:28:37 +0000 (08:28 -0700)]
Add AndroidKeyStore provider for KeyStore API
This introduces a public API for the Android keystore that is accessible
via java.security.KeyStore API. This allows programs to store
PrivateKeyEntry and TrustedCertificateEntry items visible only to
themselves.
Future work should include:
* Implement KeyStore.CallbackHandlerProtection parameter to allow the
caller to request that the keystore daemon unlock itself via the
system password input dialog.
* Implement SecretKeyEntry once that support is in keystore daemon
Change-Id: I382ffdf742d3f9f7647c5f5a429244a340b6bb0a
Kenny Root [Mon, 20 Aug 2012 19:32:14 +0000 (12:32 -0700)]
Merge "Use Libcore.os.umask for setting umask"
Robert Greenwalt [Mon, 20 Aug 2012 18:15:39 +0000 (11:15 -0700)]
Update TCP buffer size when switching network type
Import of non-merging change 41612 from AOSP
When PDP connects in GSM network, the TCP buffer window size is
set to max 8760. If the phone swicthes to UMTS, the TCP buffer
size is not updated to UMTS, i.e. GPRS buffer size is still
used with limited data transfer spead as a result.
This fix makes sure the TCP buffer size is updated when
switching network type.
Change-Id: Ic44a557677ffe629e83ce1f522a9f058bee6e7b2
Kenny Root [Fri, 17 Aug 2012 15:45:55 +0000 (08:45 -0700)]
Use Libcore.os.umask for setting umask
Libcore.os now provides a umask method call, so just use that since it's
available.
Change-Id: I8826fa40bcab3d61a424ff98a8050d3e44f7ec34
Adam Powell [Mon, 20 Aug 2012 18:44:44 +0000 (11:44 -0700)]
Merge "Respect child drawing order when dispatching touch events" into jb-mr1-dev
Dirk Dougherty [Mon, 20 Aug 2012 18:44:07 +0000 (11:44 -0700)]
am
69b6a32f: am
a18cfcca: Doc change: Remove japanese localized index page.
* commit '
69b6a32f0c9df85b29dc8adc2c1f15e5f52dd6ba':
Doc change: Remove japanese localized index page.
Dirk Dougherty [Mon, 20 Aug 2012 18:42:30 +0000 (11:42 -0700)]
am
a18cfcca: Doc change: Remove japanese localized index page.
* commit '
a18cfccac509e124d0a80c109a5711b336d41f75':
Doc change: Remove japanese localized index page.
Dirk Dougherty [Mon, 20 Aug 2012 18:13:27 +0000 (11:13 -0700)]
Doc change: Remove japanese localized index page.
Change-Id: I69b60435e7062d6ec39fe91595232695a37f591d
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:47:46 +0000 (10:47 -0700)]
am
6a37a254: am
e0024573: Merge "Release JNI local references as soon as possible."
* commit '
6a37a254507bb2bff944a0fe984e287994c31846':
Release JNI local references as soon as possible.
Amith Yamasani [Mon, 20 Aug 2012 17:47:41 +0000 (10:47 -0700)]
am
ff7735b0: am
a3db5297: Merge "ProviderMap: remove hashmap when entire user specific entries are removed"
* commit '
ff7735b0ee8c3347d0f3cb1866e454be0e9534e2':
ProviderMap: remove hashmap when entire user specific entries are removed
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:45:17 +0000 (10:45 -0700)]
am
e0024573: Merge "Release JNI local references as soon as possible."
* commit '
e00245737cc4844b77f95538e0728a4166b856a0':
Release JNI local references as soon as possible.
Amith Yamasani [Mon, 20 Aug 2012 17:45:12 +0000 (10:45 -0700)]
am
a3db5297: Merge "ProviderMap: remove hashmap when entire user specific entries are removed"
* commit '
a3db5297cda370ce41db99b6839cd9528c31ef7c':
ProviderMap: remove hashmap when entire user specific entries are removed
Craig Mautner [Mon, 20 Aug 2012 17:30:00 +0000 (10:30 -0700)]
Merge "Ensure that mAllAppWinAnimators is not null." into jb-mr1-dev
Craig Mautner [Mon, 20 Aug 2012 17:18:34 +0000 (10:18 -0700)]
Ensure that mAllAppWinAnimators is not null.
The method showAllWindowsLocked can be called from the layout
side of the WindowManagerService. Previously the AppWindowAnimator
member mAllAppWinAnimators was created on the animation side. If
showAllWindowsLocked was called before the first animation of the
activity an NPE would occur. This fix creates mAllAppWinAnimators
when the AppWindowAnimator is created and also updates it with
current values before calling showAllWindowsLocked.
Fixes bug
6917136.
Change-Id: If3ace22022b65c6888bbb9d0575efe9a45d86475
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:17:44 +0000 (10:17 -0700)]
Merge "Release JNI local references as soon as possible."
Amith Yamasani [Mon, 20 Aug 2012 17:16:36 +0000 (10:16 -0700)]
Merge "ProviderMap: remove hashmap when entire user specific entries are removed"
Brian Muramatsu [Tue, 14 Aug 2012 22:21:02 +0000 (15:21 -0700)]
add wireless charger support
bug:
6879638
- add new enum value BATTERY_PLUGGED_WIRELESS
- check for sys online file with contents "Wireless"
Change-Id: I22dc3c40f50573c98643e7b5cbcb237d0216530d
Kenny Root [Sat, 18 Aug 2012 04:13:48 +0000 (21:13 -0700)]
Add getmtime to Android KeyStore API
java.security.KeyStore requires that you be able to get the creation
date for any given entry. We'll approximate that through using the mtime
of the file in the keystore.
Change-Id: I16f74354a6c2e78a1a0b4dc2ae720c5391274e6f
Baligh Uddin [Mon, 20 Aug 2012 16:03:10 +0000 (09:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0a089cb1cb31c163d332fae1afaeeabf148b5ce9
Auto-generated-cl: translation import
Przemyslaw Szczepaniak [Thu, 16 Aug 2012 15:34:54 +0000 (16:34 +0100)]
Fix double call to TTS connection disconnect() on reconnect
- Sets the service connection to null when unbindService is called,
instead of in onServiceDisconnected. This avoids a double disconnect
if a call to onServiceConnected is received before a call to
onServiceDisconnected.
- Extended synchronize on runAction error handling and reconnection.
This prevents from reconnecting N times if N>1 threads enter this method
while there's issue with TTS service.
Bug:
6993880
Change-Id: I5a387622c6032a18d17fc072029ae6be1a9b8e6c
Billy Hewlett [Wed, 18 Jul 2012 16:51:45 +0000 (09:51 -0700)]
DO NOT MERGE Han Preference
Cherry-pick Ib5dd86950156c5a438f25c289acb839206bb455a from master.
Data: label MTLmr3m with "ja" locale attribute, fallback_fonts-ja.xml removed,
as we only need a single fallback font file
Code: Add locale and variant to TextLayoutCache. Paint.java sets textLocale as
the language (for example, "ja") rather than the language/locale concatenated
(for example "ja_JP")
This checkin, along with Change-Id: Id8c91ae0be6cad8a7ef77a0cd5803676290986c1,
allows text view objects to set their locale dynamically and skia will use the
correct font for the locale.
Change-Id: Ieb60b0d7a39fcfef4f8ce90cd4f6065d33673710
Jeff Brown [Mon, 20 Aug 2012 06:20:02 +0000 (23:20 -0700)]
Improve display manager debugging.
Change-Id: Iae794fe99a7cf9809f64eafb216091126a2f7e39
Jeff Brown [Mon, 20 Aug 2012 03:30:52 +0000 (20:30 -0700)]
Refactor for multi-display support.
Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.
Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).
Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.
Add stubs for some new display manager API features.
Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.
Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61