OSDN Git Service
Chad Brubaker [Mon, 23 Feb 2015 22:20:54 +0000 (22:20 +0000)]
Merge "Add new IKeystoreService methods to KeyStore"
Chad Brubaker [Mon, 23 Feb 2015 22:20:37 +0000 (22:20 +0000)]
Merge "Add Keymaster 0.4 binder API"
Chad Brubaker [Wed, 11 Feb 2015 05:33:23 +0000 (21:33 -0800)]
Add new IKeystoreService methods to KeyStore
Add wrappers for all the new IKeystoreService keymaster 0.4 methods to
android.security.KeyStore.
Change-Id: Icb5500cfffb62d1af326edf326e1b9b67e5cece9
Chad Brubaker [Wed, 21 Jan 2015 22:00:55 +0000 (14:00 -0800)]
Add Keymaster 0.4 binder API
This adds the classes for creating and serializing arguments and results
from keymaster as well as the enum values from
hardware/libhardware/include/hardware/keymaster_defs.h which will be
needed for argument creation as well as converting keymaster error
codes into Java exceptions.
Change-Id: I61046756361d43d9f02eea370c2cbd07c3638ea3
Narayan Kamath [Mon, 23 Feb 2015 10:50:18 +0000 (10:50 +0000)]
Merge "Clean up Javadocs for UEventObserver"
Valter Strods [Tue, 19 Aug 2014 20:42:18 +0000 (23:42 +0300)]
Clean up Javadocs for UEventObserver
This commit removes a couple of apostrophes from the word "UEvents" as
the apostrophes would only be needed if something that belongs to the
UEvent was being talked about. Instead, the UEvents are being talked
about themselves - as a bunch.
Change-Id: I6a7908c6b73c0739102b632d2499e0f1e3c2d47f
Elliott Hughes [Sat, 21 Feb 2015 17:04:21 +0000 (17:04 +0000)]
Merge "Fix 'fuchsia' typo."
Elliott Hughes [Sat, 21 Feb 2015 03:07:41 +0000 (19:07 -0800)]
Fix 'fuchsia' typo.
Bug: https://code.google.com/p/android/issues/detail?id=152142
Change-Id: Ib45f2d19d52fe9d95d560d37296d50cba190cb83
Jason Sams [Fri, 20 Feb 2015 19:51:54 +0000 (19:51 +0000)]
Merge "Implement finalizer for RS contexts."
Jason Sams [Fri, 20 Feb 2015 01:19:52 +0000 (17:19 -0800)]
Implement finalizer for RS contexts.
Fixes memory leak when apps forget to call .destroy() on the context.
Change-Id: Ida4685768e92cfe3875da38846d17b86cc386cd0
Narayan Kamath [Thu, 19 Feb 2015 10:17:31 +0000 (10:17 +0000)]
Merge "Fix a couple of issues with system_server forking."
Robert Greenwalt [Thu, 19 Feb 2015 00:39:21 +0000 (00:39 +0000)]
Merge "Support single PDP network for Unite operator of Moldova"
Tim Murray [Tue, 17 Feb 2015 21:57:23 +0000 (21:57 +0000)]
Merge "Add BLAS intrinsic."
Tim Murray [Tue, 13 Jan 2015 00:47:56 +0000 (16:47 -0800)]
Add BLAS intrinsic.
Change-Id: I95ddc46cb3f6217d2ead1091fd47450389544324
Elliott Hughes [Tue, 17 Feb 2015 01:22:19 +0000 (01:22 +0000)]
Merge "Add missing <sys/file.h> include for flock."
Craig Mautner [Mon, 16 Feb 2015 22:59:20 +0000 (22:59 +0000)]
Merge "Prevent leaking surfaces from exiting windows"
Elliott Hughes [Mon, 16 Feb 2015 18:43:19 +0000 (10:43 -0800)]
Add missing <sys/file.h> include for flock.
Change-Id: I0c66c03aeb4df614f7880a830b95c40f43f804db
Piotr Jastrzebski [Mon, 16 Feb 2015 12:47:07 +0000 (12:47 +0000)]
Merge "Register DDM handlers at the beginning of main method."
tiger_huang [Mon, 16 Feb 2015 08:14:47 +0000 (16:14 +0800)]
Prevent leaking surfaces from exiting windows
AM would set the exiting app to be invisible twice by calling
setAppVisibility(). If the screen is turned off during these calls,
the window surfaces of this exiting app won't be destroyed.
The flow:
1. Screen is on
2. App A is finished
3. AM calls setAppVisibility() token=App A, visible=false
4. WM sets a dummy animation to App A
5. WM marks App A's wtoken.inPendingTransaction=true
6. Screen is turned off
7. AM calls setAppVisibility() token=App A, visible=false
8. WM calls setTokenVisibilityLocked() directly (screen is off)
9. WM sends app visibility to App A's client (ViewRootImpl)
10. WM clears the dummy animation from App A
11. App A's client calls WMS.relayoutWindow() to be not visible
12. WM sets App A's window mExiting=true but not destroy its surface
13. App A's window surface leaks...
Note:
a. The call in 3. is from ActivityStack.finishActivityLocked
b. The call in 7. is from ActivityStack.resumeTopActivityInnerLocked
c. In 10., App A won't get the real animation while screen is off
d. In 12., App A's inPendingTransaction=true; WM takes it's animating
e. mExiting won't be cleared because App A has no animation to
trigger WindowStateAnimator.finishExit()
After applying this patch, WM would destroy the surface in 12. of the
above flow.
Change-Id: I18b79ba96695ec80d57a85dc15cf92a9e7d3a6ef
Yohei Yukawa [Sat, 14 Feb 2015 15:08:04 +0000 (15:08 +0000)]
Merge "Prevent duplicated registration of OnComputeInternalInsetsListener"
Narayan Kamath [Fri, 13 Feb 2015 17:31:25 +0000 (17:31 +0000)]
Fix a couple of issues with system_server forking.
- Remove the obsolete --runtime-init arg. its prescence
was preventing other arguments from being parsed.
- Be stricter about unparsed args - throw if we see arguments
we don't expect. This was already implemented but broken
(probably implemented by a crap programmer).
bug:
19378905
Change-Id: Id8b6158db7ef6368dd13ae61f591cdf2b278dfd1
Piotr Jastrzebski [Thu, 12 Feb 2015 13:55:23 +0000 (13:55 +0000)]
Register DDM handlers at the beginning of main method.
Compiler initializes RuntimeInit during compilation and stores an
initialized version of the class in oat file. Same thing happens to
DdmServer which handles DDM packets in JDWP thread started during JVM
creation. This means that after the creation of JVM all
DDM packets are handled by DdmServer.dispatch and since it's already
initialized during compilation it has all framework related handlers
already registered. If a packet arrives before AndroidRuntime.startReg
is called then framework native methods are not yet registered and the
processing of the packet fails with UnsatisfiedLinkError.
To fix this problem the registration of framework related DDM handlers
is moved to the beginning of ZygoteInit.main and RuntimeInit.main. This
means that the handlers won't be registered until main method is called
and that's guaranteed to be after AndroidRuntime.startReg is called. It
also guarantees that DDM packets will be properly handled as soon as
Java code is executed.
Bug:
18081539.
Change-Id: I9c674f53f3f62d58c46886e0b60698182e08f0c3
Narayan Kamath [Fri, 13 Feb 2015 11:57:38 +0000 (11:57 +0000)]
Merge "Remove code that sets user.* system properties."
Narayan Kamath [Thu, 12 Feb 2015 17:50:24 +0000 (17:50 +0000)]
Remove code that sets user.* system properties.
This has been disallowed by the SELinux for several years now,
so can safely be removed. Given that saveLocaleLocked is
simplified quite a bit, we can now inline into its only caller.
bug:
18910417
Change-Id: I18251f77e4a25a0e7ecda8e85a9b3fcdc2dc7b05
Jeff Brown [Fri, 13 Feb 2015 02:00:00 +0000 (02:00 +0000)]
Merge "Call startInput on return from sleep mode"
Narayan Kamath [Thu, 12 Feb 2015 16:31:07 +0000 (16:31 +0000)]
Merge "Remove references to persist.sys.language/country."
Narayan Kamath [Thu, 12 Feb 2015 12:57:17 +0000 (12:57 +0000)]
Remove references to persist.sys.language/country.
Addresses a couple of TODOs now that all usages have been
removed and fixes a doc that specifies how the emulator locale
can be set.
bug:
17691569
Change-Id: I802ea1e12448a5442840cad1fdc0956d3e2c7a8c
Neil Fuller [Thu, 12 Feb 2015 09:26:47 +0000 (09:26 +0000)]
Merge "Remove usages of FloatMath"
Neil Fuller [Wed, 11 Feb 2015 15:49:47 +0000 (15:49 +0000)]
Remove usages of FloatMath
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: Iec8fb663ed54eb967050f6ff25a36ba534204c4d
Tao Bao [Thu, 12 Feb 2015 04:30:43 +0000 (04:30 +0000)]
Merge "Use ICU for relative time formatting"
Tao Bao [Fri, 6 Feb 2015 23:44:00 +0000 (15:44 -0800)]
Use ICU for relative time formatting
Rewrite the DateUtils' relative time formatting APIs
(getRelativeTimeSpanString, getRelativeDateTimeString) to use ICU ones.
Two APIs that take withPreposition parameter are not changed. Because
(a) ICU doesn't provide functionality to format preposition; (b) They
are not really computing relative time but instead calling
formatDateRange() to get the absolute time/date string.
Bug:
19146457
Bug:
5252772
Change-Id: Iea8d699d63cc4438513910da66d038912e44fb8d
Alex Klyubin [Wed, 11 Feb 2015 19:27:14 +0000 (19:27 +0000)]
Merge "Move hidden ApplicationInfo flags into a separate field."
Alex Klyubin [Tue, 3 Feb 2015 19:12:59 +0000 (11:12 -0800)]
Move hidden ApplicationInfo flags into a separate field.
The public API field android.content.pm.ApplicationInfo.flags can
support only 32 flags. This limit has been reached. As a short term
workaround to enable new public flags to be added, this CL moves flags
which are not public API into a separate new field privateFlags and
renames the affected flags constants accordingly (e.g., FLAG_PRIVILEGED
is now PRIVATE_FLAG_PRIVILEGED).
The new privateFlags field is not public API and should not be used
for flags that are public API.
The flags that are moved out of ApplicationInfo.flags are:
* FLAG_HIDDEN,
* FLAG_CANT_SAVE_STATE,
* FLAG_FORWARD_LOCK, and
* FLAG_PRIVILEGED.
NOTE: This changes the format of packages.xml. Prior to this CL flags
were stored in the "flags" attribute. With this CL, the public flags
are stored in a new "publicFlags" attribute and private flags are
stored in a new "privateFlags" attribute. The old "flags" attribute
is interpreted by using the old values of hidden/private flags.
Change-Id: Ie23eb8ddd5129de3c6e008c5261b639e22182ee5
Pirama Arumuga Nainar [Wed, 11 Feb 2015 17:08:00 +0000 (17:08 +0000)]
Merge "Store compiled code in Context.getCodeCacheDir()"
Marco Nelissen [Tue, 10 Feb 2015 23:46:27 +0000 (23:46 +0000)]
Merge "Fix memory leak"
Marco Nelissen [Tue, 10 Feb 2015 23:45:23 +0000 (15:45 -0800)]
Fix memory leak
Change-Id: Id691f9b32f9daeb23a01b17c5418b4d74a294cda
Pirama Arumuga Nainar [Tue, 10 Feb 2015 20:41:42 +0000 (12:41 -0800)]
Store compiled code in Context.getCodeCacheDir()
bug
16345623
Use Context.getCodeCacheDir for EGL shader cache and RenderScript
compiled code.
Change-Id: I54c4e43674bd1f9342ae13059cb8899f4a3f4734
Calin Juravle [Tue, 10 Feb 2015 16:13:29 +0000 (16:13 +0000)]
Merge "Get the instruction set that the libraries of secondary Abi is supported."
Jason Sams [Mon, 9 Feb 2015 22:58:13 +0000 (22:58 +0000)]
Merge "Implement array types"
Neil Fuller [Mon, 9 Feb 2015 17:29:59 +0000 (17:29 +0000)]
Merge "Avoid static initialization of Layout from TextUtils"
Elliott Hughes [Mon, 9 Feb 2015 15:42:23 +0000 (15:42 +0000)]
Merge "Remove obsolete 'numeric_date_template'."
Elliott Hughes [Sat, 7 Feb 2015 02:18:06 +0000 (18:18 -0800)]
Remove obsolete 'numeric_date_template'.
The only caller was removed in
f91f06a5991451e4af3cf99eba791cb3009810d2.
Bug:
18388178
Bug:
18322220
Change-Id: I222363186ad1b9e25c8d8bf0f3928e42cf9bd275
Jason Sams [Sat, 7 Feb 2015 01:45:15 +0000 (17:45 -0800)]
Implement array types
Change-Id: I1b83f21ea2aeaa4b9f5934aadcb69d4a1c1fea20
Neil Fuller [Fri, 6 Feb 2015 10:03:08 +0000 (10:03 +0000)]
Avoid static initialization of Layout from TextUtils
This works around a bug in standalone (e.g. non-Zygote)
runtimes when a device is attached to a host that is running
DDM.
There is a race condition:
When the runtime receives a HELLO from DDM it calls
TextUtils.isEmpty().
Calling any TextUtils methods statically initializes
Layout. Layout has dependencies on other classes, which in
turn have dependencies on native methods that are not always
registered when the call takes place. Registration and DDM
handling are done in separate threads.
This is not a fix, merely a workaround until the race can
be resolved.
Bug:
18081539
(cherry-picked from commit
d29bdb266d54b4551f42776bb790e80147a279d0)
Change-Id: Id0d8578eab9e59d479a7c1b2e7ea1890ac0c8de6
Elliott Hughes [Fri, 6 Feb 2015 05:37:33 +0000 (05:37 +0000)]
Merge "Fix clang build."
Elliott Hughes [Fri, 6 Feb 2015 05:36:10 +0000 (21:36 -0800)]
Fix clang build.
Change-Id: If795820ef6431fee9c9c3862cc91ad4a9cc04507
Yang Ni [Thu, 5 Feb 2015 01:05:08 +0000 (01:05 +0000)]
Merge "Adds invocable functions to ScriptGroup"
Yang Ni [Sat, 24 Jan 2015 01:16:02 +0000 (17:16 -0800)]
Adds invocable functions to ScriptGroup
This also includes InvokeID support
Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
Lorenzo Colitti [Thu, 5 Feb 2015 00:21:57 +0000 (00:21 +0000)]
Merge "Add a unit test for StaticIpConfiguration."
Miao Wang [Thu, 5 Feb 2015 00:01:29 +0000 (00:01 +0000)]
Merge "make Allocation.destroy() include setSurface(null) for USAGE_IO_OUTPUT (Native RS)"
John Reck [Wed, 4 Feb 2015 21:53:47 +0000 (21:53 +0000)]
Merge "Fix ANR caused by hwuiTask thread"
Elliott Hughes [Wed, 4 Feb 2015 20:26:02 +0000 (20:26 +0000)]
Merge "Fix build."
Elliott Hughes [Wed, 4 Feb 2015 20:24:21 +0000 (12:24 -0800)]
Fix build.
Change-Id: Ic14b6de7e7e58ce42ae4cc5ca945e4896e3b7b8f
Christopher Ferris [Wed, 4 Feb 2015 19:07:15 +0000 (19:07 +0000)]
Merge "Fix comment according to review."
Christopher Ferris [Wed, 4 Feb 2015 18:40:12 +0000 (10:40 -0800)]
Fix comment according to review.
Change-Id: I784f2051cd173425e9a9570ac4555cf835dd277d
Lorenzo Colitti [Fri, 23 Jan 2015 05:31:30 +0000 (14:31 +0900)]
Add a unit test for StaticIpConfiguration.
Change-Id: I68c735def8a242da0c8f95b7c5ea680ed902dab7
Miao Wang [Wed, 4 Feb 2015 01:16:43 +0000 (17:16 -0800)]
make Allocation.destroy() include setSurface(null) for USAGE_IO_OUTPUT
(Native RS)
Change-Id: I23041da03c2c928ceec76037804abb5dc7e6eb64
Craig Mautner [Tue, 3 Feb 2015 18:41:12 +0000 (18:41 +0000)]
Merge "[ActivityManager] Prevent application holding AMS lock"
Craig Mautner [Tue, 3 Feb 2015 17:54:25 +0000 (17:54 +0000)]
Merge "[ActivityManager] Set appropriate relation of task to home"
Craig Mautner [Tue, 3 Feb 2015 17:36:54 +0000 (17:36 +0000)]
Merge "Remove fall through for KEYCODE_VOICE_ASSIST"
Robert Greenwalt [Tue, 3 Feb 2015 16:44:01 +0000 (16:44 +0000)]
Merge "Deutsche Telekom VVM free SMS shortcodes DE"
Henrik Baard [Tue, 3 Feb 2015 08:25:28 +0000 (09:25 +0100)]
Remove fall through for KEYCODE_VOICE_ASSIST
Removing unintentional fallthrough for the case
KEYCODE_VOICE_ASSIST.
The code works today since KEYCODE_VOICE_ASSIST is the
last case in the switch statement, however it is bad
practice. If somone adds another case statement the
code will break.
Change-Id: Iee6234807bbe176bd94e2584de288105d6c6a7cb
Yang Ni [Tue, 3 Feb 2015 06:20:19 +0000 (06:20 +0000)]
Merge "Pass in code cache directory when creating a script group."
Robert Greenwalt [Mon, 2 Feb 2015 17:00:42 +0000 (17:00 +0000)]
Merge "Fixing up the formatting code which is already merged"
Robert Greenwalt [Wed, 21 Jan 2015 19:52:20 +0000 (19:52 +0000)]
Fixing up the formatting code which is already merged
I just apply google coding guide like space.
Uploading the same code about + handling just apply the Google Coding Guide.
The previous code is "https://android-review.googlesource.com/#/c/122770/"
This code is about + plus number converting logic for international NANP.
Change-Id: I23e4709294c603b387b28b3c2a56c932d838c666
Lorenzo Colitti [Fri, 30 Jan 2015 07:07:48 +0000 (07:07 +0000)]
Merge "Also include the domain when parceling StaticIpConfiguration."
Lorenzo Colitti [Fri, 30 Jan 2015 07:00:38 +0000 (07:00 +0000)]
Merge "Fix DhcpResults.setDomain() and StaticIpConfiguration.toLinkProperties()"
Christopher Ferris [Thu, 29 Jan 2015 23:41:05 +0000 (23:41 +0000)]
Merge "Fix wrap property creation when truncating."
Christopher Ferris [Thu, 29 Jan 2015 01:56:32 +0000 (17:56 -0800)]
Fix wrap property creation when truncating.
If a property name gets truncated, make sure it doesn't end in a '.'
since that makes the name illegal.
Bug:
19196358
Bug: https://code.google.com/p/android/issues/detail?id=82947
Change-Id: Icc1a26593237ca19ad0ebd776a60b3d6290bb355
Yang Ni [Fri, 16 Jan 2015 19:06:26 +0000 (11:06 -0800)]
Pass in code cache directory when creating a script group.
Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
Lorenzo Colitti [Thu, 29 Jan 2015 08:10:52 +0000 (17:10 +0900)]
Also include the domain when parceling StaticIpConfiguration.
StaticIpConfiguration objects are parceled at least as part of the
IpConfiguration objects that are passed to IEthernetManager when an
application sets static IP configuration on Ethernet.
Change-Id: I49991e2f591cc6cf01b503c18eb343b5929efe29
Lorenzo Colitti [Thu, 29 Jan 2015 08:35:35 +0000 (08:35 +0000)]
Merge "Support connecting to networks with misconfigured subnet masks."
Paul Jensen [Wed, 5 Nov 2014 14:35:26 +0000 (09:35 -0500)]
Fix DhcpResults.setDomain() and StaticIpConfiguration.toLinkProperties()
setDomain() and toLinkProperties() were not setting the domains.
The setDomain() bug affected Wifi and I believe the toLinkProperties()
bug affected Ethernet and Bluetooth reverse-tethering.
(cherry picked from commit
c53113b37f33c7ed19660c8ec5bfd578e8bb5409)
bug:
18252947
Change-Id: I6235fcd6b875aee516efbb5f880db1a99380355b
Lorenzo Colitti [Tue, 20 Jan 2015 06:53:02 +0000 (15:53 +0900)]
Support connecting to networks with misconfigured subnet masks.
In K and earlier, we would connect to a network where the gateway
was not covered by the subnet mask of the IP address. This is an
invalid configuration, but it used to work, and other OSes appear
to accept it too, so support it.
Bug:
19067207
(cherry picked from commit
2dfb79a54adeb4bcf1f62332a9db467fce302ced)
Change-Id: I80088f291466dbd5a47f360dcc1620acee5cf57e
Jason Sams [Tue, 27 Jan 2015 20:41:42 +0000 (20:41 +0000)]
Merge "Initialize clipping structure"
Marco Nelissen [Tue, 27 Jan 2015 20:19:46 +0000 (20:19 +0000)]
Merge "Fix printf format"
Marco Nelissen [Tue, 27 Jan 2015 20:17:48 +0000 (12:17 -0800)]
Fix printf format
Change-Id: Ied2f10bb59fe0e13b23bf1f9913ab3b081348a28
Marco Nelissen [Tue, 27 Jan 2015 17:49:01 +0000 (17:49 +0000)]
Merge "Make SoundPool use MediaCodec"
Yabin Cui [Tue, 27 Jan 2015 06:49:16 +0000 (06:49 +0000)]
Merge "kill HAVE_PTHREADS."
Yabin Cui [Tue, 27 Jan 2015 03:43:58 +0000 (19:43 -0800)]
kill HAVE_PTHREADS.
Bug:
19083585
Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
Jason Sams [Tue, 27 Jan 2015 02:14:36 +0000 (18:14 -0800)]
Initialize clipping structure
placeholder until array clipping is added to the API.
Change-Id: Ib20dbd71989c559c0669385a5088ec261596913c
Mikael Gullstrand [Tue, 25 Nov 2014 11:41:53 +0000 (12:41 +0100)]
Call startInput on return from sleep mode
One manifestation of the problem was that input string disappeared when
returning from sleep mode. When editing a TextView with an IME in
landscape orientation, the text would disappear when returning from
sleep mode. The InputMethodManager would be deactivated when the screen
was put into sleep mode as well as the input connection. However when
returning from sleep mode the InputMethodManager was activated, but the
input connection would not be activated again.
The solution is to check focus of the InputMethodManager
which will create a new active input connection to use.
The change is however not specific to this one problem but fundamentally
addresses the issue of lack of startInput on return from sleep mode.
Change-Id: I95d05110bc1cf310fad23ea1bcbc5890f642d1fc
Elliott Hughes [Sun, 25 Jan 2015 19:17:42 +0000 (19:17 +0000)]
Merge "Add missing <string.h> includes."
Elliott Hughes [Sun, 25 Jan 2015 16:33:36 +0000 (08:33 -0800)]
Add missing <string.h> includes.
Change-Id: I188bfe1388fa49f6f79d247aa0d0f4fb089de503
Marco Nelissen [Thu, 4 Dec 2014 16:59:22 +0000 (08:59 -0800)]
Make SoundPool use MediaCodec
Bug:
18239054
Change-Id: Ia144fc1bbb0d2787638ee972e2224339b4965310
Narayan Kamath [Fri, 23 Jan 2015 10:47:34 +0000 (10:47 +0000)]
Merge "Remove superfluous OpenSSL include paths."
Adam Langley [Fri, 23 Jan 2015 01:15:13 +0000 (17:15 -0800)]
Remove superfluous OpenSSL include paths.
The libcrypto and libssl modules (and their respective static and host
versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module
is sufficient.
Change-Id: I467f1b1d038b5136fa22b1230da134c394eac54e
Jason Sams [Thu, 22 Jan 2015 21:08:44 +0000 (21:08 +0000)]
Merge "Fix default compute thread priority"
Jason Sams [Thu, 22 Jan 2015 21:08:03 +0000 (21:08 +0000)]
Merge "Add FP16 types to the list of RenderScript types."
Narayan Kamath [Thu, 22 Jan 2015 13:49:43 +0000 (13:49 +0000)]
Merge "Add support for persist.sys.locale."
Narayan Kamath [Thu, 15 Jan 2015 14:48:15 +0000 (14:48 +0000)]
Add support for persist.sys.locale.
AndroidRuntime has been changed to read "ro.product.locale" and
"persist.sys.locale" instead of "ro.product.locale.language" etc.
This is passed down as "-Duser.locale" to the runtime.
The system_server has been changed to write out persist.sys.locale
on locale changes.
bug:
17691569
Change-Id: I93360c8795c9620a133656dc491d13d7b6ed162e
Jason Sams [Wed, 21 Jan 2015 20:55:14 +0000 (12:55 -0800)]
Fix default compute thread priority
bug
16651474
Compute inherited graphics default thread priority of Display. This
was not intended.
Change-Id: I0dd9a230ce8ceba64e971b024cbe518927cd2550
Robert Greenwalt [Wed, 21 Jan 2015 19:52:20 +0000 (19:52 +0000)]
Merge "Add + code handling logic for SMS Global Roaming"
Craig Mautner [Wed, 21 Jan 2015 17:01:01 +0000 (17:01 +0000)]
Merge "[ActivityManager] No home activity resumed and cause key dispatch ANR"
Narayan Kamath [Wed, 21 Jan 2015 14:01:55 +0000 (14:01 +0000)]
Merge "Choose the right executable for wrapped applications."
louis_chang [Wed, 21 Jan 2015 11:01:52 +0000 (19:01 +0800)]
[ActivityManager] No home activity resumed and cause
key dispatch ANR
Symptom:
In some scenario, there might have two home tasks
in the home stack. If the top home task was finishing
and expected to return to home stack, no activity
will resume.
Root Cause:
Unable to perform resumeHomeStackTask() because the
resumeTopActivityLocked() has been prevented to invoke
recursively.
Solution:
Just resume the next activity if already in home stack
Change-Id: I24ecbcac6cee4ddbd90cdd27c4f4915cffb9b354
Ying Wang [Tue, 20 Jan 2015 21:43:51 +0000 (21:43 +0000)]
Merge "New trick to install bad dex file."
Jason Sams [Wed, 5 Nov 2014 23:16:26 +0000 (15:16 -0800)]
Add FP16 types to the list of RenderScript types.
Change-Id: Ibf9a6d391fb4d6a5c4b4e05ab73fb58bd74dc586
Ying Wang [Thu, 15 Jan 2015 00:18:51 +0000 (16:18 -0800)]
New trick to install bad dex file.
Previously we use LOCAL_JAVA_RESOURCE_FILES to override the normally
generated classes.dex with a bad dex file.
Now as we have moved Java resource processing before running jarjar, dx
would fail for the bad classes.dex inside the classes.jar.
Instead we override the target specific variable PRIVATE_DEX_FILE to
inject the bad dex file.
(cherry-picked from commit
f122d90c290c789e0d0085127beebdcf1935c127)
Bug:
18837479
Change-Id: I73f82c8a15e1d8935d9c2f290ba9456184a56ec7
Neil Fuller [Tue, 20 Jan 2015 15:18:59 +0000 (15:18 +0000)]
Merge "Fix for broken docs build."