OSDN Git Service
Narayan Kamath [Fri, 16 May 2014 12:26:34 +0000 (12:26 +0000)]
am
79e0206e: Merge "Init the static member when first used for CursorWindow."
* commit '
79e0206ef3203a1842949242e58fa8f3c25eb129':
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."
Narayan Kamath [Fri, 16 May 2014 12:08:09 +0000 (12:08 +0000)]
am
8a196c06: Merge "Change InputMessage.motion.pointerSize to a uint32_t."
* commit '
8a196c0676eebf10b2120f3305c0b9bcb99e97ce':
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."
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
Narayan Kamath [Thu, 15 May 2014 13:38:17 +0000 (13:38 +0000)]
am
402120a2: Merge "Wait for secondary zygote before bringing up the system_server."
* commit '
402120a2236b294dff9a51461cb22400a6ef67f6':
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."
Narayan Kamath [Thu, 15 May 2014 12:41:47 +0000 (12:41 +0000)]
am
706b1d7e: Merge "Remove "required" prefix from ABI fields."
* commit '
706b1d7ea0214b6858730e68c95c6a6d6d9a4c30':
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."
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
Narayan Kamath [Thu, 15 May 2014 09:41:40 +0000 (09:41 +0000)]
am
c4c08803: Merge "app_process: change app_process a symlink of primary version"
* commit '
c4c08803a8cc090aa27720e97df342231e8433af':
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"
Mathieu Chartier [Wed, 14 May 2014 23:52:02 +0000 (23:52 +0000)]
am
c4c77d63: Merge "Add property for background GC type"
* commit '
c4c77d63d889baca2abbdce6326077f0911b279e':
Add property for background GC type
Ian Rogers [Wed, 14 May 2014 23:51:59 +0000 (23:51 +0000)]
am
bcf76242: Merge "Move FLATTENED_PATTERN to inner class."
* commit '
bcf76242134317a2f722eab5af2600fe2858f895':
Move FLATTENED_PATTERN to inner class.
Mathieu Chartier [Wed, 14 May 2014 23:07:39 +0000 (23:07 +0000)]
Merge "Add 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
Ian Rogers [Wed, 14 May 2014 22:40:58 +0000 (22:40 +0000)]
Merge "Move 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
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
Torne (Richard Coles) [Wed, 14 May 2014 15:31:28 +0000 (15:31 +0000)]
am
41ec8c96: Merge "Avoid supported ABI list containing "unknown"."
* commit '
41ec8c9672fccce90a7156bcd856f59a36e93ad3':
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"."
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
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
Brian Carlstrom [Tue, 13 May 2014 00:34:42 +0000 (00:34 +0000)]
am
b7d7cbc9: Merge "Fix background PackageUsage writing."
* commit '
b7d7cbc9c3a9315a5c5ecd85e16f5916c4bc3f3a':
Fix background PackageUsage writing.
Brian Carlstrom [Tue, 13 May 2014 00:31:34 +0000 (00:31 +0000)]
Merge "Fix background PackageUsage writing."
Brian Carlstrom [Mon, 12 May 2014 23:56:34 +0000 (16:56 -0700)]
Fix background PackageUsage writing.
Change-Id: Ia358b61e648b427c86cf75ae096cd2a68ace209f
Jeff Sharkey [Sat, 10 May 2014 19:42:02 +0000 (19:42 +0000)]
am
e3e2c471: Merge "Set ActionMode title to the number of selected files"
* commit '
e3e2c471b2504335e99ed15975c3c5c9dfbf2795':
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"
Chris Craik [Fri, 9 May 2014 21:46:43 +0000 (21:46 +0000)]
am
f6c9c420: Merge "Correct stride for drawing to cached glyph bitmap"
* commit '
f6c9c4204c2f8f86277d081112c9dd863ddaa778':
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"
Brian Carlstrom [Fri, 9 May 2014 17:33:04 +0000 (17:33 +0000)]
am
b98ca5b0: Merge "If PackageUsage information is missing, treat as first boot and compile everything"
* commit '
b98ca5b0dd73f374178022b4a4b37412f01a3c03':
If PackageUsage information is missing, treat as first boot and compile everything
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"
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
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>
Chris Wren [Thu, 8 May 2014 21:03:04 +0000 (21:03 +0000)]
am
678f7edd: Merge "Avoid SystemUI crash due to NPE"
* commit '
678f7edd140f3914655bc600d207d3dcb986f881':
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"
Ying Wang [Thu, 8 May 2014 00:21:38 +0000 (00:21 +0000)]
am
3b9600b6: Merge "Remove unused LOCAL_LDLIBS."
* commit '
3b9600b673ad6a83481dcf88db6c9b2dc5bc9ba3':
Remove unused LOCAL_LDLIBS.
Ying Wang [Thu, 8 May 2014 00:15:13 +0000 (00:15 +0000)]
Merge "Remove unused LOCAL_LDLIBS."
Ying Wang [Wed, 7 May 2014 22:23:37 +0000 (15:23 -0700)]
Remove unused LOCAL_LDLIBS.
Change-Id: I01346e76f4ac6402af0ef33e3b2eef4a69e704a2
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
Brian Carlstrom [Wed, 7 May 2014 03:33:41 +0000 (03:33 +0000)]
am
a21ba5be: Merge "Add BackgroundDexOptService"
* commit '
a21ba5bec748e2f10d7e6d38181ec1124991cb60':
Add BackgroundDexOptService
Brian Carlstrom [Wed, 7 May 2014 03:33:37 +0000 (03:33 +0000)]
am
edb88bcd: Merge "Use package usage information to decide what dex files to optimize in PackageManagerService"
* commit '
edb88bcd232176e575f2dbee2cfdb1bfbe33faef':
Use package usage information to decide what dex files to optimize in PackageManagerService
Brian Carlstrom [Wed, 7 May 2014 03:29:27 +0000 (03:29 +0000)]
Merge "Add BackgroundDexOptService"
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"
Jim Miller [Wed, 7 May 2014 00:34:38 +0000 (00:34 +0000)]
am
92ddac04: Merge "Fix can\'t change airplane mode from GlobalActions."
* commit '
92ddac0457de85704b1f9b6d6fbfcaada56fe182':
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."
Brian Carlstrom [Tue, 29 Apr 2014 05:11:01 +0000 (22:11 -0700)]
Add BackgroundDexOptService
Change-Id: I0439a04f693ba92df906cbda34f8e53b32f63329
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
Elliott Hughes [Tue, 6 May 2014 02:27:44 +0000 (02:27 +0000)]
am
f1f28d1d: 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."
* commit '
f1f28d1d86aea6dd1419e94aadf051e433914680':
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.
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."
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
Chris Craik [Mon, 5 May 2014 21:46:48 +0000 (21:46 +0000)]
am
a85db5ab: Merge "libhwui: Handle the blurImage() implement once RS::init fail"
* commit '
a85db5ab785c59726c3644999801e48f449714f3':
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"
Michael Wright [Fri, 2 May 2014 19:16:16 +0000 (19:16 +0000)]
am
52025796: Merge "Map KEY_APPSELECT to APP_SWITCH."
* commit '
52025796cd264fd8ba3851c8e42fd5508366456a':
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."
Selim Gurun [Thu, 1 May 2014 22:57:45 +0000 (22:57 +0000)]
am
83a538e4: (-s ours) Merge "DO NOT MERGE Add DrawGlInfo kModeProcessNoContext"
* commit '
83a538e40ed8bdcda64c4bb5a448c0357b8e5e73':
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"
Bo Liu [Thu, 1 May 2014 22:46:27 +0000 (15:46 -0700)]
DO NOT MERGE Add DrawGlInfo kModeProcessNoContext
Change-Id: I5a515c348c058264361ca9191f8fd7f0e6ff932b
Brian Carlstrom [Thu, 1 May 2014 21:41:58 +0000 (21:41 +0000)]
am
0f7c0570: Merge "Minor cleanup of UsageStatsService"
* commit '
0f7c0570e091a284481c2406d8275d87c3786c1d':
Minor cleanup of UsageStatsService
Brian Carlstrom [Thu, 1 May 2014 21:38:34 +0000 (21:38 +0000)]
Merge "Minor cleanup of UsageStatsService"
Brian Carlstrom [Mon, 10 Mar 2014 20:39:25 +0000 (13:39 -0700)]
Minor cleanup of UsageStatsService
Change-Id: Idea0e29f347d14e48e87aad38a261d0493bd5fd3
Wink Saville [Thu, 1 May 2014 17:57:51 +0000 (17:57 +0000)]
am
7e411f74: Merge "Add support for NETWORK_TYPE_GSM"
* commit '
7e411f74efe6dd383e59634760cccd96da1c209b':
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"
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
Marco Nelissen [Thu, 1 May 2014 15:28:14 +0000 (15:28 +0000)]
am
ab3977d2: Merge "MetadataRetriever: Check null pointer to avoid tombstone crash."
* commit '
ab3977d21161815c130bdedf21e2571382d208da':
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."
Narayan Kamath [Thu, 1 May 2014 14:00:52 +0000 (14:00 +0000)]
am
1cec7f85: Merge "Don\'t adjust ABI if PackageSetting#pkg is null."
* commit '
1cec7f8539e6465ff80577169d7d07df3c2574b7':
Don't adjust ABI if PackageSetting#pkg is null.
Narayan Kamath [Thu, 1 May 2014 14:00:49 +0000 (14:00 +0000)]
am
27f2bfc4: Merge "Fix dex file pruning logic."
* commit '
27f2bfc406157039c5241f6a4f38f597b2076e2a':
Fix dex file pruning logic.
Narayan Kamath [Thu, 1 May 2014 14:00:46 +0000 (14:00 +0000)]
am
bcc3b312: Merge "Adjust instruction sets for shared UID apps."
* commit '
bcc3b312b0662ae2f8b8444eaedd5f35fc75c411':
Adjust instruction sets for shared UID apps.
Narayan Kamath [Thu, 1 May 2014 14:00:43 +0000 (14:00 +0000)]
am
2a9a0471: Merge "Package manager changes for dual zygote stack."
* commit '
2a9a047140b8da8f9cd7147c8bed60eeb61d1b6a':
Package manager changes for dual zygote stack.
Narayan Kamath [Thu, 1 May 2014 13:56:58 +0000 (13:56 +0000)]
Merge "Don't adjust ABI if PackageSetting#pkg is null."
Narayan Kamath [Thu, 1 May 2014 13:56:59 +0000 (13:56 +0000)]
am
645a920f: Merge "Fix OEM native library path bug."
* commit '
645a920fd2c478c545c6bb659f2eab36545fe116':
Fix OEM native library path bug.
Narayan Kamath [Thu, 1 May 2014 13:56:56 +0000 (13:56 +0000)]
am
986b901a: Merge "Fix native-lib dir assignment & updating"
* commit '
986b901ae280928e91193527f7c883b296fc62fc':
Fix native-lib dir assignment & updating
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
Narayan Kamath [Thu, 1 May 2014 13:56:34 +0000 (13:56 +0000)]
Merge "Fix 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
Narayan Kamath [Thu, 1 May 2014 13:55:48 +0000 (13:55 +0000)]
Merge "Adjust 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
Narayan Kamath [Thu, 1 May 2014 13:55:05 +0000 (13:55 +0000)]
Merge "Package 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)
Narayan Kamath [Thu, 1 May 2014 13:53:08 +0000 (13:53 +0000)]
am
fde59428: Merge "Handle /oem and /vendor as well"
* commit '
fde594288bff0b8f95567e6b27f273f50f0c5f87':
Handle /oem and /vendor as well
Narayan Kamath [Thu, 1 May 2014 13:52:59 +0000 (13:52 +0000)]
am
d91358b2: Merge "Support per-package lib dirs for bundled apps"
* commit '
d91358b2b977ef7c3551a486f51475c0441aba6e':
Support per-package lib dirs for bundled apps
Narayan Kamath [Thu, 1 May 2014 13:52:55 +0000 (13:52 +0000)]
am
b916d8ad: Merge "Implement FileUtils#contains."
* commit '
b916d8adffd7ea3588bc178e1ee03f68f0a409e5':
Implement FileUtils#contains.
Narayan Kamath [Thu, 1 May 2014 13:52:44 +0000 (13:52 +0000)]
Merge "Fix 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
Narayan Kamath [Thu, 1 May 2014 13:52:16 +0000 (13:52 +0000)]
Merge "Fix 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
Narayan Kamath [Thu, 1 May 2014 13:51:44 +0000 (13:51 +0000)]
Merge "Handle /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
Narayan Kamath [Thu, 1 May 2014 13:51:08 +0000 (13:51 +0000)]
Merge "Support 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
Narayan Kamath [Thu, 1 May 2014 13:50:35 +0000 (13:50 +0000)]
Merge "Implement 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
Narayan Kamath [Thu, 1 May 2014 10:39:55 +0000 (10:39 +0000)]
am
41f40581: Merge "Fix x86 build in app_process."
* commit '
41f40581ee0284660d30be8ef28f6bf721c4ce10':
Fix x86 build in app_process.
Narayan Kamath [Thu, 1 May 2014 10:39:52 +0000 (10:39 +0000)]
am
27b03e62: Merge "Create arch specific cache dirs during zygote startup."
* commit '
27b03e6272479ed82762a4a5d6e4be4f26c1ed58':
Create arch specific cache dirs during zygote startup.
Narayan Kamath [Thu, 1 May 2014 10:36:31 +0000 (10:36 +0000)]
Merge "Fix x86 build in app_process."
Narayan Kamath [Thu, 1 May 2014 10:36:27 +0000 (10:36 +0000)]
Merge "Create arch specific cache dirs during zygote startup."
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
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
Narayan Kamath [Thu, 1 May 2014 10:18:11 +0000 (10:18 +0000)]
am
fbb0ab02: Merge "Fix broken logging in Zygote.cpp."
* commit '
fbb0ab02bed5c49159acb3dba6848a154e524169':
Fix broken logging in Zygote.cpp.