OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Fix NullException in QwertyKeyListener.KeyDown"
Jeff Brown [Tue, 20 May 2014 20:37:44 +0000 (20:37 +0000)]
Merge "Fix NullException in QwertyKeyListener.KeyDown"

10 years agoMerge "wallpaper: limit wallpaper width to sys.max_texture_size"
Michael Wright [Tue, 20 May 2014 04:04:00 +0000 (04:04 +0000)]
Merge "wallpaper: limit wallpaper width to sys.max_texture_size"

10 years agowallpaper: limit wallpaper width to sys.max_texture_size
Donghan Ryu [Tue, 15 Nov 2011 02:56:11 +0000 (18:56 -0800)]
wallpaper: limit wallpaper width to sys.max_texture_size

Image wallpapers are created ~1.5x screen size.  On some devices this
may exceed the maximum supported texture size, which will either fail
allocation or fail to composite.

Bug 991597

Change-Id: I9948b09f6e00a724212e73d36901f2bbea42e2f4

10 years agoMerge "Use alpha channel instead of red in drawCachedGlyphBitmap"
Chris Craik [Mon, 19 May 2014 19:23:07 +0000 (19:23 +0000)]
Merge "Use alpha channel instead of red in drawCachedGlyphBitmap"

10 years agoMerge "Extend support for nordic languages with Sami"
Michael Wright [Mon, 19 May 2014 18:15:38 +0000 (18:15 +0000)]
Merge "Extend support for nordic languages with Sami"

10 years agoMerge "Fail if we're unable to agree on an ISA for shared UIDs."
Narayan Kamath [Mon, 19 May 2014 13:26:44 +0000 (13:26 +0000)]
Merge "Fail if we're unable to agree on an ISA for shared UIDs."

10 years agoFail if we're unable to agree on an ISA for shared UIDs.
Narayan Kamath [Thu, 15 May 2014 14:01:46 +0000 (15:01 +0100)]
Fail if we're unable to agree on an ISA for shared UIDs.

It's not worth the complexity of rescanning the APK and
extracting a shared library with a different ABI.

Also gets rid of an unnecessary command line argument and
checks for dex-opt failures while adjusting shared ABIs.

bug: 14453227

Change-Id: I6a0695e24cba37e93540c540507088e95b89089b

10 years agoExtend support for nordic languages with Sami
Mathieu Meisser [Tue, 17 Dec 2013 15:54:32 +0000 (16:54 +0100)]
Extend support for nordic languages with Sami

Add access (via ralt combination) of Sami characters
into Danish, Norwegian and Swedish mappings.
Update Finnish mapping by fixing wrong Sami characters,
removing wrong ralt+shift mappings and adding support
with capslock+ralt for capital Sami's.
Remove unnecessary swap of MINUS and SLASH key
mapping in kcm.

Change-Id: I872ae2ad31272e8cf55ae1db01c7e30c6a40d5bc
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Manuel Carthoblaz <mcarthob@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
10 years agoMerge "Add support for Latvian (qwerty) keyboard mapping"
Michael Wright [Sat, 17 May 2014 01:02:54 +0000 (01:02 +0000)]
Merge "Add support for Latvian (qwerty) keyboard mapping"

10 years agoMerge "Enable display list updates with zero delta time"
John Reck [Fri, 16 May 2014 15:51:38 +0000 (15:51 +0000)]
Merge "Enable display list updates with zero delta time"

10 years agoMerge "Init the static member when first used for CursorWindow."
Narayan Kamath [Fri, 16 May 2014 12:24:32 +0000 (12:24 +0000)]
Merge "Init the static member when first used for CursorWindow."

10 years agoMerge "Change InputMessage.motion.pointerSize to a uint32_t."
Narayan Kamath [Fri, 16 May 2014 12:06:09 +0000 (12:06 +0000)]
Merge "Change InputMessage.motion.pointerSize to a uint32_t."

10 years agoChange InputMessage.motion.pointerSize to a uint32_t.
Narayan Kamath [Fri, 2 May 2014 16:53:33 +0000 (17:53 +0100)]
Change InputMessage.motion.pointerSize to a uint32_t.

This ensures it's the same size in both 32 and 64 bit
processes and also brings it in line with struct
MotionEntry.

(cherry-picked from commit bc6001b026069714177526eb1120b0011d6f2a51)

Change-Id: Ide6bb4dc05cc92a7ae8833e615e8ebb2353255a6

10 years agoMerge "Wait for secondary zygote before bringing up the system_server."
Narayan Kamath [Thu, 15 May 2014 13:34:09 +0000 (13:34 +0000)]
Merge "Wait for secondary zygote before bringing up the system_server."

10 years agoMerge "Remove "required" prefix from ABI fields."
Narayan Kamath [Thu, 15 May 2014 12:39:34 +0000 (12:39 +0000)]
Merge "Remove "required" prefix from ABI fields."

10 years agoRemove "required" prefix from ABI fields.
Narayan Kamath [Wed, 30 Apr 2014 13:38:46 +0000 (14:38 +0100)]
Remove "required" prefix from ABI fields.

As per a comment on an earlier code review.

(cherry-picked from commit a9d64733421d6765eab5c2730fa912f068e26047)

Change-Id: I064cffc13c323b721f3a16c83e0e95ee348ef9f6

10 years agoMerge "app_process: change app_process a symlink of primary version"
Narayan Kamath [Thu, 15 May 2014 09:36:27 +0000 (09:36 +0000)]
Merge "app_process: change app_process a symlink of primary version"

10 years agoUse alpha channel instead of red in drawCachedGlyphBitmap
Digish Pandya [Mon, 12 May 2014 09:07:04 +0000 (14:37 +0530)]
Use alpha channel instead of red in drawCachedGlyphBitmap

the correct value to copy in bitmap is alpha component from
the cachebuffer. currently it is offset to red channel if format is
RGBA which is wrong.

this is followup fix for https://android-review.googlesource.com/#/c/93943/

Change-Id: I96b5ba35df5ccaef44caf2542d35d6585ba1df80
Signed-off-by: Digish Pandya <digishp@codeaurora.org>
10 years agoEnable display list updates with zero delta time
Tina Zhang [Tue, 13 May 2014 08:30:54 +0000 (16:30 +0800)]
Enable display list updates with zero delta time

It's better not to cancel display lists updates. In the emulator, if we use
low precision clock source like refined-jiffies, the display list which
should be updated with a new frame, won't be updated due to the delta time
is 0 . And this makes all the hardware accelerated GUI out of order.

Change-Id: I41dba8965c96b6ad1b6d326ad1d6fa4a0a49173f
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
10 years agoMerge "Add property for background GC type"
Mathieu Chartier [Wed, 14 May 2014 23:07:39 +0000 (23:07 +0000)]
Merge "Add property for background GC type"

10 years agoAdd property for background GC type
Mathieu Chartier [Wed, 14 May 2014 22:44:49 +0000 (15:44 -0700)]
Add property for background GC type

To disable background compaction do:
adb shell setprop dalvik.vm.backgroundgctype CMS

To enable:
adb shell setprop dalvik.vm.backgroundgctype SS

Change-Id: I1d87b95fceaedac4df5ce6e718d7c14b35d524cc

10 years agoMerge "Move FLATTENED_PATTERN to inner class."
Ian Rogers [Wed, 14 May 2014 22:40:58 +0000 (22:40 +0000)]
Merge "Move FLATTENED_PATTERN to inner class."

10 years agoMove FLATTENED_PATTERN to inner class.
Ian Rogers [Wed, 14 May 2014 22:29:35 +0000 (15:29 -0700)]
Move FLATTENED_PATTERN to inner class.

Avoid AOT compilation/initialization in ART failing due to regex.Pattern
requiring native support.

Bug: 14646037

Change-Id: I9d9c7fd9ed9fab7e21d37f9b31c00d037fc5a691

10 years agoapp_process: change app_process a symlink of primary version
Yongqin Liu [Tue, 6 May 2014 15:30:40 +0000 (23:30 +0800)]
app_process: change app_process a symlink of primary version

Change app_process to be a symlink to the primary version
and have app_process32/app_process64 be the 32-bit/64-bit
versions respectively.

This will make it possible to use the primary zygote for
am/pm commands and other scripts that use app_process and
don't need a specific zygote.

Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ibef545994eb95ddc82101c95df613ad1d06345e6

10 years agoMerge "Avoid supported ABI list containing "unknown"."
Torne (Richard Coles) [Wed, 14 May 2014 15:26:04 +0000 (15:26 +0000)]
Merge "Avoid supported ABI list containing "unknown"."

10 years agoAvoid supported ABI list containing "unknown".
Torne (Richard Coles) [Wed, 14 May 2014 15:17:26 +0000 (16:17 +0100)]
Avoid supported ABI list containing "unknown".

If one of the ABI list system properties is undefined/empty (as
ro.product.cpu.abilist64 is on a 32-bit only device), getString returns
"unknown", which ends up creating a 1-element array with "unknown" as a
member. Fix this to instead just get the empty string and split that
into a 0-element array.

Change-Id: I0d0a54eb06bb04427bcf0487e2a16d4180b81116

10 years agoWait for secondary zygote before bringing up the system_server.
Narayan Kamath [Tue, 13 May 2014 12:35:14 +0000 (13:35 +0100)]
Wait for secondary zygote before bringing up the system_server.

The zygote that's responsible for starting up the system server
now checks if there's another zygote on the system, and waits
for it to start up. Also, a few minor clean ups :

- Address a long standing TODO about zygote retries.
- Have functions throw IOException where appropriate and
  wrap them in ZygoteStartFailedEx with a filled in cause.

bug: 14869939

Change-Id: I9e514659b79b3d2c98a4c5f93c0c376843f6c881

10 years agoMerge "Fix background PackageUsage writing."
Brian Carlstrom [Tue, 13 May 2014 00:31:34 +0000 (00:31 +0000)]
Merge "Fix background PackageUsage writing."

10 years agoFix background PackageUsage writing.
Brian Carlstrom [Mon, 12 May 2014 23:56:34 +0000 (16:56 -0700)]
Fix background PackageUsage writing.

Change-Id: Ia358b61e648b427c86cf75ae096cd2a68ace209f

10 years agoMerge "Set ActionMode title to the number of selected files"
Jeff Sharkey [Sat, 10 May 2014 19:39:38 +0000 (19:39 +0000)]
Merge "Set ActionMode title to the number of selected files"

10 years agoMerge "Correct stride for drawing to cached glyph bitmap"
Chris Craik [Fri, 9 May 2014 21:39:54 +0000 (21:39 +0000)]
Merge "Correct stride for drawing to cached glyph bitmap"

10 years agoMerge "If PackageUsage information is missing, treat as first boot and compile everyt...
Brian Carlstrom [Fri, 9 May 2014 17:29:05 +0000 (17:29 +0000)]
Merge "If PackageUsage information is missing, treat as first boot and compile everything"

10 years agoIf PackageUsage information is missing, treat as first boot and compile everything
Brian Carlstrom [Fri, 9 May 2014 16:48:33 +0000 (09:48 -0700)]
If PackageUsage information is missing, treat as first boot and compile everything

Bug: 14663243
Change-Id: I0ae33882044211f777590f482e17e87596be4463

10 years agoCorrect stride for drawing to cached glyph bitmap
Digish Pandya [Fri, 9 May 2014 09:35:16 +0000 (15:05 +0530)]
Correct stride for drawing to cached glyph bitmap

fixes the glyph cachebuffer index to account for pixelbuffer
format size.

issue: in launcher home screen create icon group and rename the
group to some text string with emo-icons (smilies). without this
change the drop shadows for emo-icons will look bad.

Change-Id: I525a9219d35f4541363fd64e7fc5fd1053269725
Signed-off-by: Digish Pandya <digishp@codeaurora.org>
10 years agoMerge "Avoid SystemUI crash due to NPE"
Chris Wren [Thu, 8 May 2014 21:00:20 +0000 (21:00 +0000)]
Merge "Avoid SystemUI crash due to NPE"

10 years agoMerge "Remove unused LOCAL_LDLIBS."
Ying Wang [Thu, 8 May 2014 00:15:13 +0000 (00:15 +0000)]
Merge "Remove unused LOCAL_LDLIBS."

10 years agoRemove unused LOCAL_LDLIBS.
Ying Wang [Wed, 7 May 2014 22:23:37 +0000 (15:23 -0700)]
Remove unused LOCAL_LDLIBS.

Change-Id: I01346e76f4ac6402af0ef33e3b2eef4a69e704a2

10 years agoInit the static member when first used for CursorWindow.
yingying [Wed, 7 May 2014 09:12:25 +0000 (17:12 +0800)]
Init the static member when first used for CursorWindow.

As the CursorWindow will be preloaded by zygote, and there is one static
member need use the system resource to initialize. But actually the zygote
do not preload the resource now. (In fact, the zygote will preload classes
first, then preload the resource.) We need ensure the zygote to create the
system resource first.

So change to init this static member as -1, and it will be evaluated when
first used.

Change-Id: Ibccb84e3c410c73788ac682fe76b720306e81dc4

10 years agoMerge "Add BackgroundDexOptService"
Brian Carlstrom [Wed, 7 May 2014 03:29:27 +0000 (03:29 +0000)]
Merge "Add BackgroundDexOptService"

10 years agoMerge "Use package usage information to decide what dex files to optimize in PackageM...
Brian Carlstrom [Wed, 7 May 2014 03:29:25 +0000 (03:29 +0000)]
Merge "Use package usage information to decide what dex files to optimize in PackageManagerService"

10 years agoMerge "Fix can't change airplane mode from GlobalActions."
Jim Miller [Wed, 7 May 2014 00:29:26 +0000 (00:29 +0000)]
Merge "Fix can't change airplane mode from GlobalActions."

10 years agoAdd BackgroundDexOptService
Brian Carlstrom [Tue, 29 Apr 2014 05:11:01 +0000 (22:11 -0700)]
Add BackgroundDexOptService

Change-Id: I0439a04f693ba92df906cbda34f8e53b32f63329

10 years agoUse package usage information to decide what dex files to optimize in PackageManagerS...
Brian Carlstrom [Mon, 17 Mar 2014 22:21:35 +0000 (15:21 -0700)]
Use package usage information to decide what dex files to optimize in PackageManagerService

Change-Id: Iac137311e2e9d5139b5aa8651c6f3d296802612a

10 years agoMerge "Skip resource files for locales en-XA and ar-XB during packaging if pseudoloca...
Elliott Hughes [Tue, 6 May 2014 02:25:04 +0000 (02:25 +0000)]
Merge "Skip resource files for locales en-XA and ar-XB during packaging if pseudolocalization was done automatically. This prevents attemts to add same resource twice."

10 years agoSkip resource files for locales en-XA and ar-XB
Igor Viarheichyk [Fri, 2 May 2014 00:04:39 +0000 (17:04 -0700)]
Skip resource files for locales en-XA and ar-XB
during packaging if pseudolocalization was done automatically.
This prevents attemts to add same resource twice.

Change-Id: I51e17f961ac44047bf466ce4aa0d4d17f4ded0d6

10 years agoMerge "libhwui: Handle the blurImage() implement once RS::init fail"
Chris Craik [Mon, 5 May 2014 21:44:08 +0000 (21:44 +0000)]
Merge "libhwui: Handle the blurImage() implement once RS::init fail"

10 years agoMerge "Map KEY_APPSELECT to APP_SWITCH."
Michael Wright [Fri, 2 May 2014 19:12:15 +0000 (19:12 +0000)]
Merge "Map KEY_APPSELECT to APP_SWITCH."

10 years agoMerge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext"
Selim Gurun [Thu, 1 May 2014 22:53:01 +0000 (22:53 +0000)]
Merge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext"

10 years agoDO NOT MERGE Add DrawGlInfo kModeProcessNoContext
Bo Liu [Thu, 1 May 2014 22:46:27 +0000 (15:46 -0700)]
DO NOT MERGE Add DrawGlInfo kModeProcessNoContext

Change-Id: I5a515c348c058264361ca9191f8fd7f0e6ff932b

10 years agoMerge "Minor cleanup of UsageStatsService"
Brian Carlstrom [Thu, 1 May 2014 21:38:34 +0000 (21:38 +0000)]
Merge "Minor cleanup of UsageStatsService"

10 years agoMinor cleanup of UsageStatsService
Brian Carlstrom [Mon, 10 Mar 2014 20:39:25 +0000 (13:39 -0700)]
Minor cleanup of UsageStatsService

Change-Id: Idea0e29f347d14e48e87aad38a261d0493bd5fd3

10 years agoMerge "Add support for NETWORK_TYPE_GSM"
Wink Saville [Thu, 1 May 2014 17:53:54 +0000 (17:53 +0000)]
Merge "Add support for NETWORK_TYPE_GSM"

10 years agoAdd support for NETWORK_TYPE_GSM
Sandeep Kunta [Sat, 10 Aug 2013 15:25:38 +0000 (20:55 +0530)]
Add support for NETWORK_TYPE_GSM

Add support for NETWORK_TYPE_GSM in TelephonyManager and
corresponding mapping in ServicState.java so that when
application queries for getVoiceNetworkType() and currently
camped rat is GSM, they get network mode as GSM instead
of network mode unknown.

Change-Id: Ibe4672b04a5044710d63499c4cf2b6ebe91444bf

10 years agoMerge "MetadataRetriever: Check null pointer to avoid tombstone crash."
Marco Nelissen [Thu, 1 May 2014 15:25:13 +0000 (15:25 +0000)]
Merge "MetadataRetriever: Check null pointer to avoid tombstone crash."

10 years agoMerge "Don't adjust ABI if PackageSetting#pkg is null."
Narayan Kamath [Thu, 1 May 2014 13:56:58 +0000 (13:56 +0000)]
Merge "Don't adjust ABI if PackageSetting#pkg is null."

10 years agoDon't adjust ABI if PackageSetting#pkg is null.
Narayan Kamath [Wed, 30 Apr 2014 12:33:38 +0000 (13:33 +0100)]
Don't adjust ABI if PackageSetting#pkg is null.

If means the package hasn't been scanned yet, and we
will adjust the ABI during the scan of the last package
in the shared user group.

NOTE: This needs some more cleaning up, which will be
done along with the remaining TODO in this function.

(cherry picked from commit 6609990e35b11c38f55f6e632160d4f2ff201ea3)

Change-Id: Ibace7849485865054e062d2b979f320bf89ff0f3

10 years agoMerge "Fix dex file pruning logic."
Narayan Kamath [Thu, 1 May 2014 13:56:34 +0000 (13:56 +0000)]
Merge "Fix dex file pruning logic."

10 years agoFix dex file pruning logic.
Narayan Kamath [Tue, 29 Apr 2014 15:49:27 +0000 (16:49 +0100)]
Fix dex file pruning logic.

We should now prune all normal files from /data/dalvik-cache
in addition to looking for dex files in all subdirectories of
/data/dalvik-cache.

(cherry picked from commit 51a6f9253399588eedf77d75c578d9aa23d11529)

Change-Id: I536dfdc48e94155e7be64eb4efd9f7f2a1d2d00a

10 years agoMerge "Adjust instruction sets for shared UID apps."
Narayan Kamath [Thu, 1 May 2014 13:55:48 +0000 (13:55 +0000)]
Merge "Adjust instruction sets for shared UID apps."

10 years agoAdjust instruction sets for shared UID apps.
Narayan Kamath [Mon, 28 Apr 2014 13:18:34 +0000 (14:18 +0100)]
Adjust instruction sets for shared UID apps.

Since shared UID apps are run in the same process,
we'll need to make sure they're compiled for the same
instruction set.

This change implements the recompilation of apps that
don't have any ABI constraints.

Apps that *do* have ABI constraints are harder to deal
with, since we'll need to rescan them to figure out the
full list of ABIs they support and then re-extract the
native libraries from these apps once we find an ABI we
can use throughout.

(cherry picked from commit 85703d58af1dac692d7d83c03220e45ab2a5aded)

Change-Id: I8311a683468488cc7e30381965487a3d391609ae

10 years agoMerge "Package manager changes for dual zygote stack."
Narayan Kamath [Thu, 1 May 2014 13:55:05 +0000 (13:55 +0000)]
Merge "Package manager changes for dual zygote stack."

10 years agoPackage manager changes for dual zygote stack.
Narayan Kamath [Thu, 1 May 2014 10:41:20 +0000 (11:41 +0100)]
Package manager changes for dual zygote stack.

- Pass down the app's instruction set to dexopt so that
  it can compile the dex file for the right architecture.

- Also pass down the app's instruction set to rmdex, movedex
  and getSize so that they can construct the cache file
  location properly.

- Temporarily compile "system" jars such as am,wm etc. for
  both architectures. A follow up change will ensure that
  they're compiled only for one architecture (the same
  arch. as the system server).

- Java "shared" libraries are now compiled for the right
  architecture when an app requires them.

- Improve the app native library ABI detection to account
  for system apps installed in /system/lib{64}/<packagename>
  and also handle sdcard and forward locked apps correctly.

(cherry-picked from commit b4d35dc8e9702f9d0d82d35a105f0eea35672b52)

10 years agoMerge "Fix OEM native library path bug."
Narayan Kamath [Thu, 1 May 2014 13:52:44 +0000 (13:52 +0000)]
Merge "Fix OEM native library path bug."

10 years agoFix OEM native library path bug.
Jeff Sharkey [Thu, 24 Apr 2014 21:11:08 +0000 (14:11 -0700)]
Fix OEM native library path bug.

Bug: 13340779

(cherry picked from commit 7d3328d14bbbee01a9de1ff5b13b0446c709d835)

Change-Id: I1b4c5d138cafe3651d475ca1e048f495ff6c5f10

10 years agoMerge "Fix native-lib dir assignment & updating"
Narayan Kamath [Thu, 1 May 2014 13:52:16 +0000 (13:52 +0000)]
Merge "Fix native-lib dir assignment & updating"

10 years agoFix native-lib dir assignment & updating
Christopher Tate [Wed, 23 Apr 2014 23:55:57 +0000 (16:55 -0700)]
Fix native-lib dir assignment & updating

The per-package /system/lib/* feature introduced bugs in the
native library path handling during app upgrade installs.  The
crux of the fix is that when recalulating the desired native
library directory, the basis for the calculation needs to be
the scanned APK's location rather than the extant package
settings entry -- because that entry refers to the pre-upgrade
state of the application, not the new state.

Bug 14233983

(cherry picked from commit 353e39a973dbbadce82fee2f83ad194e04a47449)

Change-Id: I26f17a596ca2cd7f963955c0642548c15138ae26

10 years agoMerge "Handle /oem and /vendor as well"
Narayan Kamath [Thu, 1 May 2014 13:51:44 +0000 (13:51 +0000)]
Merge "Handle /oem and /vendor as well"

10 years agoHandle /oem and /vendor as well
Christopher Tate [Fri, 18 Apr 2014 19:24:57 +0000 (12:24 -0700)]
Handle /oem and /vendor as well

Bug 13170859

(cherry-picked from commit 740888f62eae158d5775be716620f0d56d87f587)

Change-Id: I7b5e206697fcbec146cac6cd83fca5c583a8cbd7

10 years agoMerge "Support per-package lib dirs for bundled apps"
Narayan Kamath [Thu, 1 May 2014 13:51:08 +0000 (13:51 +0000)]
Merge "Support per-package lib dirs for bundled apps"

10 years agoSupport per-package lib dirs for bundled apps
Narayan Kamath [Thu, 1 May 2014 12:35:34 +0000 (13:35 +0100)]
Support per-package lib dirs for bundled apps

Bundled apps can now use /system/lib/apkname or /system/lib64/apkname
in addition to the (globally shared) /system/lib and /system/lib64
directories.  Note that when an app is updated post hoc the update APK
will look to its normal library install directory in
/data/data/[packagename]/lib, so such updates must include *all*
needed libraries -- the private /system/lib/apkname dir will not be in
the path following such an update.

"apkname" here is the base name of the physical APK that holds the
package's code.  For example, if a 32-bit package is resident on disk
as /system/priv-app/SettingsProvider.apk then its app-specific lib
directory will be /system/lib/SettingsProvider

Bug 13170859

(cherry picked from commit addfbdc09ccf258395db8bfc510989a4c583f7ab)

Change-Id: Id82da78024a6325458b8b134d7d91ad0e5f0785e

10 years agoMerge "Implement FileUtils#contains."
Narayan Kamath [Thu, 1 May 2014 13:50:35 +0000 (13:50 +0000)]
Merge "Implement FileUtils#contains."

10 years agoImplement FileUtils#contains.
Narayan Kamath [Thu, 1 May 2014 13:01:44 +0000 (14:01 +0100)]
Implement FileUtils#contains.

Partial cherry-pick of changes 4ca728c0 and 21de56a9, which
can't be cherry-picked due to their large surface area.

Change-Id: Ife46e150d360cd5241dea93863141749233c1805

10 years agoMerge "Fix x86 build in app_process."
Narayan Kamath [Thu, 1 May 2014 10:36:31 +0000 (10:36 +0000)]
Merge "Fix x86 build in app_process."

10 years agoMerge "Create arch specific cache dirs during zygote startup."
Narayan Kamath [Thu, 1 May 2014 10:36:27 +0000 (10:36 +0000)]
Merge "Create arch specific cache dirs during zygote startup."

10 years agoFix x86 build in app_process.
Narayan Kamath [Wed, 30 Apr 2014 15:45:07 +0000 (16:45 +0100)]
Fix x86 build in app_process.

Look for __i386__ and not __x86__.

(cherry picked from commit 47d526217b3fd0d17ba751c66d25cfaf1c6ed7cd)

Change-Id: I848ba351c378e59ab6744ca1983ae4463ae75ba4

10 years agoCreate arch specific cache dirs during zygote startup.
Narayan Kamath [Fri, 25 Apr 2014 10:43:22 +0000 (11:43 +0100)]
Create arch specific cache dirs during zygote startup.

The runtime expects them to exist before it's launched.
The boot image / art files are created during the first
zygote launch.

(cherry picked from commit da738713e4e2120a324e8ab6fd11aa0e54a3c66e)

Change-Id: I7472aa25c16a1cf95791af2bdf80ed0d73123872

10 years agoMerge "Fix broken logging in Zygote.cpp."
Narayan Kamath [Thu, 1 May 2014 10:15:00 +0000 (10:15 +0000)]
Merge "Fix broken logging in Zygote.cpp."

10 years agoFix broken logging in Zygote.cpp.
Narayan Kamath [Mon, 14 Apr 2014 13:46:07 +0000 (14:46 +0100)]
Fix broken logging in Zygote.cpp.

- Differentiate between clean exits and signals.
- Change the logic for the waitpid warning. We should log it
  only if the *first* call to waitpid returned ECHILD.

Change-Id: I6bc50e4ffd100fb7f3f526d6b4056bed10b8045f

10 years agoMap KEY_APPSELECT to APP_SWITCH.
Olivier Gay [Thu, 1 May 2014 09:10:20 +0000 (11:10 +0200)]
Map KEY_APPSELECT to APP_SWITCH.

Change-Id: Iec801f2edfec9923aac088cb66663f64d62b3df6
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
10 years agoMerge "Fixes issue causing pseudolocalization of strings in non-translatable resource...
Elliott Hughes [Wed, 30 Apr 2014 21:29:52 +0000 (21:29 +0000)]
Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."

10 years agoMerge "WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent"
Michael Wright [Wed, 30 Apr 2014 19:02:56 +0000 (19:02 +0000)]
Merge "WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent"

10 years agoMerge "Fix for native leaks in YuvToJpegEncoder.cpp"
Elliott Hughes [Wed, 30 Apr 2014 18:59:54 +0000 (18:59 +0000)]
Merge "Fix for native leaks in YuvToJpegEncoder.cpp"

10 years agoFixes issue causing pseudolocalization of strings
Igor Viarheichyk [Wed, 30 Apr 2014 18:56:42 +0000 (11:56 -0700)]
Fixes issue causing pseudolocalization of strings
in non-translatable resource files.

Change-Id: Ic8e5effc86226d5be00561ac71bab7695ef90376

10 years agoMerge "Cast CallVoidMethod's size_t parameters to jint"
Narayan Kamath [Wed, 30 Apr 2014 13:34:04 +0000 (13:34 +0000)]
Merge "Cast CallVoidMethod's size_t parameters to jint"

10 years agoMerge "Freeing frame map"
Narayan Kamath [Wed, 30 Apr 2014 10:58:30 +0000 (10:58 +0000)]
Merge "Freeing frame map"

10 years agoFreeing frame map
Mykola Kondratenko [Tue, 15 Apr 2014 07:35:44 +0000 (09:35 +0200)]
Freeing frame map

FileMap memory is never released until application exit

Release it now as the texture is already loaded and the memory
used for the packed resource can be released.

Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343

10 years agoWallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent
Allen Shen [Tue, 29 Apr 2014 08:16:29 +0000 (16:16 +0800)]
WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent

Originally the api 'getCropAndSetWallpaperIntent' does not check
whether the parsed parameter is a NULL pointer, as leads to the
whole app crash if it call this api with a null parameter accidentally.
A null pointer check logic is added into its original parameter check
logic, so that this API will throw an IllegalArgumentException if it
is parsed with a null pointer

Change-Id: Ib7de40e571419d09e1a744edc969eb7162766b75

10 years agoMerge "NULL previous background bitmap upon changing wallpaper"
Michael Wright [Wed, 30 Apr 2014 01:19:10 +0000 (01:19 +0000)]
Merge "NULL previous background bitmap upon changing wallpaper"

10 years agoMerge "Add missing character combinations for international layouts"
Michael Wright [Wed, 30 Apr 2014 00:01:38 +0000 (00:01 +0000)]
Merge "Add missing character combinations for international layouts"

10 years agoMerge "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()"
Michael Wright [Tue, 29 Apr 2014 23:58:16 +0000 (23:58 +0000)]
Merge "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()"

10 years agoMerge "Set NO_NEW_PRIVS on zygote init"
Nick Kralevich [Tue, 29 Apr 2014 22:20:47 +0000 (22:20 +0000)]
Merge "Set NO_NEW_PRIVS on zygote init"

10 years agoSet NO_NEW_PRIVS on zygote init
Nick Kralevich [Fri, 25 Apr 2014 22:01:24 +0000 (15:01 -0700)]
Set NO_NEW_PRIVS on zygote init

When app_process/zygote starts, make sure PR_SET_NO_NEW_PRIVS is set.
This prevents zygote spawned apps from acquiring new privileges
on exec.

In particular, this allows the CTS test
android.os.cts.SecurityFeaturesTest#testNoNewPrivs() to pass if ART is set
as the default runtime.

Change-Id: I81139cda999c7b1430242561aad28f566e9b6da0

10 years agoMerge "DO NOT MERGE Add invokeFunctor stub"
Selim Gurun [Tue, 29 Apr 2014 18:42:25 +0000 (18:42 +0000)]
Merge "DO NOT MERGE Add invokeFunctor stub"

10 years agoDO NOT MERGE Add invokeFunctor stub
Bo Liu [Tue, 29 Apr 2014 18:38:37 +0000 (11:38 -0700)]
DO NOT MERGE Add invokeFunctor stub

Change-Id: Ib7637d68c4f63065b909075a8f5d8cd1dd0674bd

10 years agoAdd missing character combinations for international layouts
Mathieu Meisser [Tue, 17 Dec 2013 17:07:40 +0000 (18:07 +0100)]
Add missing character combinations for international layouts

Czech: add missing capslock for numbers and shift+ralt
mappings.
Slovak: fix wrong ralt mappings, add missing ralt mappings
and fixed wrong PLUS key character.
US intl: add missing capslock+ralt support.
Swiss French and Swiss German: add missing ralt mapping for key
numbers 4 and 5, and add missing capslock and capslock+
shift for SEMICOLON and APOSTROPHE.

Change-Id: I02c94bf13d5268d5d1e648c96b7251cb7564f233
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Manuel Carthoblaz <mcarthob@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
10 years agoMerge "Fix two zygote imports."
Elliott Hughes [Tue, 29 Apr 2014 03:54:49 +0000 (03:54 +0000)]
Merge "Fix two zygote imports."

10 years agoFix two zygote imports.
Elliott Hughes [Tue, 29 Apr 2014 03:53:52 +0000 (20:53 -0700)]
Fix two zygote imports.

Change-Id: I5eea2d9f48479c33e1594aaa259274e5e787a1df

10 years agoMerge "Remove unused import."
Elliott Hughes [Tue, 29 Apr 2014 03:52:10 +0000 (03:52 +0000)]
Merge "Remove unused import."

10 years agoRemove unused import.
Elliott Hughes [Tue, 29 Apr 2014 03:51:34 +0000 (20:51 -0700)]
Remove unused import.

Change-Id: I3f6a035cda55859a7a521f3117da72ee962beb63

10 years agoMerge "Move the Zygote off libcore.os and onto android.system."
Elliott Hughes [Tue, 29 Apr 2014 02:28:06 +0000 (02:28 +0000)]
Merge "Move the Zygote off libcore.os and onto android.system."