OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 8bb3003f: Merge "Revert "Temporarily switch off returning only enabled profiles...
Alexandra Gherghina [Thu, 1 May 2014 15:53:54 +0000 (15:53 +0000)]
am 8bb3003f: Merge "Revert "Temporarily switch off returning only enabled profiles to support dogfooding""

* commit '8bb3003fca6a678fb3df524ed6779dc9210fca86':
  Revert "Temporarily switch off returning only enabled profiles to support dogfooding"

10 years agoam ce7268e0: am 4375e848: am ab962b54: am ab3977d2: Merge "MetadataRetriever: Check...
Marco Nelissen [Thu, 1 May 2014 15:53:50 +0000 (15:53 +0000)]
am ce7268e0: am 4375e848: am ab962b54: am ab3977d2: Merge "MetadataRetriever: Check null pointer to avoid tombstone crash."

* commit 'ce7268e0ae210ef44361d931c7f0ce9737c09e9c':
  MetadataRetriever: Check null pointer to avoid tombstone crash.

10 years agoMerge "Revert "Temporarily switch off returning only enabled profiles to support...
Alexandra Gherghina [Thu, 1 May 2014 15:42:07 +0000 (15:42 +0000)]
Merge "Revert "Temporarily switch off returning only enabled profiles to support dogfooding""

10 years agoam 4375e848: am ab962b54: am ab3977d2: Merge "MetadataRetriever: Check null pointer...
Marco Nelissen [Thu, 1 May 2014 15:35:31 +0000 (15:35 +0000)]
am 4375e848: am ab962b54: am ab3977d2: Merge "MetadataRetriever: Check null pointer to avoid tombstone crash."

* commit '4375e84882a9a84b0012cf9504a30ede6ef72c1f':
  MetadataRetriever: Check null pointer to avoid tombstone crash.

10 years agoam ab962b54: am ab3977d2: Merge "MetadataRetriever: Check null pointer to avoid tombs...
Marco Nelissen [Thu, 1 May 2014 15:32:17 +0000 (15:32 +0000)]
am ab962b54: am ab3977d2: Merge "MetadataRetriever: Check null pointer to avoid tombstone crash."

* commit 'ab962b54e3eac4ffadb5ea4e4948df10e6201468':
  MetadataRetriever: Check null pointer to avoid tombstone crash.

10 years agoam ab3977d2: Merge "MetadataRetriever: Check null pointer to avoid tombstone crash."
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.

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 agoam 9a3e54e7: am 53138105: am 5dca099d: am 1cec7f85: Merge "Don\'t adjust ABI if Packa...
Narayan Kamath [Thu, 1 May 2014 14:54:07 +0000 (14:54 +0000)]
am 9a3e54e7: am 53138105: am 5dca099d: am 1cec7f85: Merge "Don\'t adjust ABI if PackageSetting#pkg is null."

* commit '9a3e54e73e25507472e8eabca0dd30c30011c5db':
  Don't adjust ABI if PackageSetting#pkg is null.

10 years agoam 1cb9322a: am d6809b35: am c1f81f90: am 27f2bfc4: Merge "Fix dex file pruning logic."
Narayan Kamath [Thu, 1 May 2014 14:53:58 +0000 (14:53 +0000)]
am 1cb9322a: am d6809b35: am c1f81f90: am 27f2bfc4: Merge "Fix dex file pruning logic."

* commit '1cb9322a289286d200de2686d979373b5ab97dfd':
  Fix dex file pruning logic.

10 years agoam cd99b824: am fbd80b58: (-s ours) am 51f4367c: am bcc3b312: Merge "Adjust instructi...
Narayan Kamath [Thu, 1 May 2014 14:53:55 +0000 (14:53 +0000)]
am cd99b824: am fbd80b58: (-s ours) am 51f4367c: am bcc3b312: Merge "Adjust instruction sets for shared UID apps."

* commit 'cd99b8246065e92d6c7987b937abd213a9b525d5':
  Adjust instruction sets for shared UID apps.

10 years agoam 53138105: am 5dca099d: am 1cec7f85: Merge "Don\'t adjust ABI if PackageSetting...
Narayan Kamath [Thu, 1 May 2014 14:51:04 +0000 (14:51 +0000)]
am 53138105: am 5dca099d: am 1cec7f85: Merge "Don\'t adjust ABI if PackageSetting#pkg is null."

* commit '531381056fac077cffcd509b1e89d9b41f400fca':
  Don't adjust ABI if PackageSetting#pkg is null.

10 years agoam d6809b35: am c1f81f90: am 27f2bfc4: Merge "Fix dex file pruning logic."
Narayan Kamath [Thu, 1 May 2014 14:51:00 +0000 (14:51 +0000)]
am d6809b35: am c1f81f90: am 27f2bfc4: Merge "Fix dex file pruning logic."

* commit 'd6809b35aff02fdccf7ac433005aba2d06bbc3ff':
  Fix dex file pruning logic.

10 years agoam fbd80b58: (-s ours) am 51f4367c: am bcc3b312: Merge "Adjust instruction sets for...
Narayan Kamath [Thu, 1 May 2014 14:50:57 +0000 (14:50 +0000)]
am fbd80b58: (-s ours) am 51f4367c: am bcc3b312: Merge "Adjust instruction sets for shared UID apps."

* commit 'fbd80b58db2aa8f650acf26305e8cbed24a5755b':
  Adjust instruction sets for shared UID apps.

10 years agoam 921b2f1e: am 3a951e52: (-s ours) resolved conflicts for merge of 69da8a12 to klp...
Narayan Kamath [Thu, 1 May 2014 14:49:44 +0000 (14:49 +0000)]
am 921b2f1e: am 3a951e52: (-s ours) resolved conflicts for merge of 69da8a12 to klp-modular-dev-plus-aosp

* commit '921b2f1e248603c49123f5fb325a215eea768c81':
  Package manager changes for dual zygote stack.

10 years agoam fa509392: Merge "Fixed transition start delay propagation when duration = 0."
George Mount [Thu, 1 May 2014 14:49:41 +0000 (14:49 +0000)]
am fa509392: Merge "Fixed transition start delay propagation when duration = 0."

* commit 'fa50939227fc4f1c032229b63291ddb0447e3f9c':
  Fixed transition start delay propagation when duration = 0.

10 years agoam 3a951e52: (-s ours) resolved conflicts for merge of 69da8a12 to klp-modular-dev...
Narayan Kamath [Thu, 1 May 2014 14:44:38 +0000 (14:44 +0000)]
am 3a951e52: (-s ours) resolved conflicts for merge of 69da8a12 to klp-modular-dev-plus-aosp

* commit '3a951e52d93697b7e232501b78f9ffb0ec605516':
  Package manager changes for dual zygote stack.

10 years agoMerge "Fixed transition start delay propagation when duration = 0."
George Mount [Thu, 1 May 2014 14:44:02 +0000 (14:44 +0000)]
Merge "Fixed transition start delay propagation when duration = 0."

10 years agoam afbbbfc0: Fix build.
Narayan Kamath [Thu, 1 May 2014 14:41:42 +0000 (14:41 +0000)]
am afbbbfc0: Fix build.

* commit 'afbbbfc01a1c00f304b5bbae3406afcdc4ed5185':
  Fix build.

10 years agoam 5dca099d: am 1cec7f85: Merge "Don\'t adjust ABI if PackageSetting#pkg is null."
Narayan Kamath [Thu, 1 May 2014 14:39:20 +0000 (14:39 +0000)]
am 5dca099d: am 1cec7f85: Merge "Don\'t adjust ABI if PackageSetting#pkg is null."

* commit '5dca099df7100c531e111b50435605c318f1e6d4':
  Don't adjust ABI if PackageSetting#pkg is null.

10 years agoam c1f81f90: am 27f2bfc4: Merge "Fix dex file pruning logic."
Narayan Kamath [Thu, 1 May 2014 14:39:16 +0000 (14:39 +0000)]
am c1f81f90: am 27f2bfc4: Merge "Fix dex file pruning logic."

* commit 'c1f81f9086037dde6e082b8a80c84277cb727726':
  Fix dex file pruning logic.

10 years agoam 51f4367c: am bcc3b312: Merge "Adjust instruction sets for shared UID apps."
Narayan Kamath [Thu, 1 May 2014 14:39:12 +0000 (14:39 +0000)]
am 51f4367c: am bcc3b312: Merge "Adjust instruction sets for shared UID apps."

* commit '51f4367cac606580a5ca10ec1cf2dcab3982aebc':
  Adjust instruction sets for shared UID apps.

10 years agoFix build.
Narayan Kamath [Thu, 1 May 2014 14:37:15 +0000 (15:37 +0100)]
Fix build.

Bad automatic merge by git resulted in a dup. of a function.

Change-Id: Idb8fd8a48e1a9f6aeac98a199d6b8c661efaab16

10 years agoam dc9d4b4b: am d2ec8724: am d85ded89: am 645a920f: Merge "Fix OEM native library...
Narayan Kamath [Thu, 1 May 2014 14:35:59 +0000 (14:35 +0000)]
am dc9d4b4b: am d2ec8724: am d85ded89: am 645a920f: Merge "Fix OEM native library path bug."

* commit 'dc9d4b4bcafd64b0e70123f0c50781a8888221bf':
  Fix OEM native library path bug.

10 years agoam c24badd9: am f5c6a1b3: am eb573498: am 986b901a: Merge "Fix native-lib dir assignm...
Narayan Kamath [Thu, 1 May 2014 14:35:56 +0000 (14:35 +0000)]
am c24badd9: am f5c6a1b3: am eb573498: am 986b901a: Merge "Fix native-lib dir assignment & updating"

* commit 'c24badd9c0ad7420d6abe3ae6c714537abaae3e1':
  Fix native-lib dir assignment & updating

10 years agoam f7b93a9b: am 0338af46: (-s ours) am 99253c2d: am fde59428: Merge "Handle /oem...
Narayan Kamath [Thu, 1 May 2014 14:35:46 +0000 (14:35 +0000)]
am f7b93a9b: am 0338af46: (-s ours) am 99253c2d: am fde59428: Merge "Handle /oem and /vendor as well"

* commit 'f7b93a9b7c01a364436a46b0b9389f4be0d89e5a':
  Handle /oem and /vendor as well

10 years agoresolved conflicts for merge of 69da8a12 to klp-modular-dev-plus-aosp
Narayan Kamath [Thu, 1 May 2014 14:32:20 +0000 (15:32 +0100)]
resolved conflicts for merge of 69da8a12 to klp-modular-dev-plus-aosp

Change-Id: Ie07b88f324749afcf8417b50d4dbbc6e2a271a2a

10 years agoam d2ec8724: am d85ded89: am 645a920f: Merge "Fix OEM native library path bug."
Narayan Kamath [Thu, 1 May 2014 14:31:12 +0000 (14:31 +0000)]
am d2ec8724: am d85ded89: am 645a920f: Merge "Fix OEM native library path bug."

* commit 'd2ec8724d2a3407e28161299d44e2e113fe437ec':
  Fix OEM native library path bug.

10 years agoam f5c6a1b3: am eb573498: am 986b901a: Merge "Fix native-lib dir assignment & updating"
Narayan Kamath [Thu, 1 May 2014 14:31:07 +0000 (14:31 +0000)]
am f5c6a1b3: am eb573498: am 986b901a: Merge "Fix native-lib dir assignment & updating"

* commit 'f5c6a1b3eb10f0374fcbab55853f400778f0f8e7':
  Fix native-lib dir assignment & updating

10 years agoam 0338af46: (-s ours) am 99253c2d: am fde59428: Merge "Handle /oem and /vendor as...
Narayan Kamath [Thu, 1 May 2014 14:31:02 +0000 (14:31 +0000)]
am 0338af46: (-s ours) am 99253c2d: am fde59428: Merge "Handle /oem and /vendor as well"

* commit '0338af46f968e2e1c2fd8c62e9387546fa9ed86b':
  Handle /oem and /vendor as well

10 years agoam 7056c7e7: Merge "Fix "blink" when going "back" quickly after entering Activity."
George Mount [Thu, 1 May 2014 14:18:22 +0000 (14:18 +0000)]
am 7056c7e7: Merge "Fix "blink" when going "back" quickly after entering Activity."

* commit '7056c7e7f4393cc80b450b38e327524db95832f6':
  Fix "blink" when going "back" quickly after entering Activity.

10 years agoMerge "Fix "blink" when going "back" quickly after entering Activity."
George Mount [Thu, 1 May 2014 14:13:00 +0000 (14:13 +0000)]
Merge "Fix "blink" when going "back" quickly after entering Activity."

10 years agoFixed transition start delay propagation when duration = 0.
George Mount [Wed, 30 Apr 2014 23:24:53 +0000 (16:24 -0700)]
Fixed transition start delay propagation when duration = 0.

Bug 14443184

Also gave the propagation speed a tweak to make it more
obvious that there is a propagation.

Change-Id: If9dc3172ae6ce7e6a712ccd1b83ebec9bf880bfa

10 years agoam 5d2b38a4: am 5bc12a1b: (-s ours) am a7b465ef: am d91358b2: Merge "Support per...
Narayan Kamath [Thu, 1 May 2014 14:10:29 +0000 (14:10 +0000)]
am 5d2b38a4: am 5bc12a1b: (-s ours) am a7b465ef: am d91358b2: Merge "Support per-package lib dirs for bundled apps"

* commit '5d2b38a4a569c8bcd6abcbdeb45207bd16d66879':
  Support per-package lib dirs for bundled apps

10 years agoam 5bc12a1b: (-s ours) am a7b465ef: am d91358b2: Merge "Support per-package lib dirs...
Narayan Kamath [Thu, 1 May 2014 14:06:37 +0000 (14:06 +0000)]
am 5bc12a1b: (-s ours) am a7b465ef: am d91358b2: Merge "Support per-package lib dirs for bundled apps"

* commit '5bc12a1b5dadfd504fb03875fad97cda8d39cf25':
  Support per-package lib dirs for bundled apps

10 years agoam eceea503: am 6af42aea: am 9f34234f: am b916d8ad: Merge "Implement FileUtils#contains."
Narayan Kamath [Thu, 1 May 2014 14:04:37 +0000 (14:04 +0000)]
am eceea503: am 6af42aea: am 9f34234f: am b916d8ad: Merge "Implement FileUtils#contains."

* commit 'eceea503c02075921516653c770483d987d9f36f':
  Implement FileUtils#contains.

10 years agoam d85ded89: am 645a920f: Merge "Fix OEM native library path bug."
Narayan Kamath [Thu, 1 May 2014 14:01:14 +0000 (14:01 +0000)]
am d85ded89: am 645a920f: Merge "Fix OEM native library path bug."

* commit 'd85ded890d86d454a0571c63911ff911633e3a95':
  Fix OEM native library path bug.

10 years agoam eb573498: am 986b901a: Merge "Fix native-lib dir assignment & updating"
Narayan Kamath [Thu, 1 May 2014 14:01:10 +0000 (14:01 +0000)]
am eb573498: am 986b901a: Merge "Fix native-lib dir assignment & updating"

* commit 'eb5734989b3ef5455359f8807684a860ad04c134':
  Fix native-lib dir assignment & updating

10 years agoam 1cec7f85: Merge "Don\'t adjust ABI if PackageSetting#pkg is null."
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.

10 years agoam 27f2bfc4: Merge "Fix dex file pruning logic."
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.

10 years agoam bcc3b312: Merge "Adjust instruction sets for shared UID apps."
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.

10 years agoam 2a9a0471: Merge "Package manager changes for dual zygote stack."
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.

10 years agoam 6af42aea: am 9f34234f: am b916d8ad: Merge "Implement FileUtils#contains."
Narayan Kamath [Thu, 1 May 2014 14:00:25 +0000 (14:00 +0000)]
am 6af42aea: am 9f34234f: am b916d8ad: Merge "Implement FileUtils#contains."

* commit '6af42aea725c2afd8e5fbff9bc33ba353c05e1a9':
  Implement FileUtils#contains.

10 years agoam 99253c2d: am fde59428: Merge "Handle /oem and /vendor as well"
Narayan Kamath [Thu, 1 May 2014 13:57:21 +0000 (13:57 +0000)]
am 99253c2d: am fde59428: Merge "Handle /oem and /vendor as well"

* commit '99253c2da945cbd4725efced6cac2dc40c858d6c':
  Handle /oem and /vendor as well

10 years agoam a7b465ef: am d91358b2: Merge "Support per-package lib dirs for bundled apps"
Narayan Kamath [Thu, 1 May 2014 13:57:17 +0000 (13:57 +0000)]
am a7b465ef: am d91358b2: Merge "Support per-package lib dirs for bundled apps"

* commit 'a7b465efc4eede46b8dfc8932c6c30346e8e79de':
  Support per-package lib dirs for bundled apps

10 years agoam 9f34234f: am b916d8ad: Merge "Implement FileUtils#contains."
Narayan Kamath [Thu, 1 May 2014 13:57:13 +0000 (13:57 +0000)]
am 9f34234f: am b916d8ad: Merge "Implement FileUtils#contains."

* commit '9f34234f1c0e39ee43c4a86e23d333ba2a30ec0e':
  Implement FileUtils#contains.

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 agoam 645a920f: Merge "Fix OEM native library path bug."
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.

10 years agoam 986b901a: Merge "Fix native-lib dir assignment & updating"
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

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 agoam fde59428: Merge "Handle /oem and /vendor as well"
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

10 years agoam d91358b2: Merge "Support per-package lib dirs for bundled apps"
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

10 years agoam b916d8ad: Merge "Implement FileUtils#contains."
Narayan Kamath [Thu, 1 May 2014 13:52:55 +0000 (13:52 +0000)]
am b916d8ad: Merge "Implement FileUtils#contains."

* commit 'b916d8adffd7ea3588bc178e1ee03f68f0a409e5':
  Implement FileUtils#contains.

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 agoam a5408fc3: am b6c04899: am c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."
Narayan Kamath [Thu, 1 May 2014 11:04:19 +0000 (11:04 +0000)]
am a5408fc3: am b6c04899: am c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."

* commit 'a5408fc31d7cfff8d55b8bb301cf5c3450a8ebfa':
  Fix x86 build in app_process.

10 years agoam c003cc70: am fd30a0e7: (-s ours) am ff34f6fa: am 27b03e62: Merge "Create arch...
Narayan Kamath [Thu, 1 May 2014 11:04:16 +0000 (11:04 +0000)]
am c003cc70: am fd30a0e7: (-s ours) am ff34f6fa: am 27b03e62: Merge "Create arch specific cache dirs during zygote startup."

* commit 'c003cc70f2bcc98cd04a626eced7ef5358b4f34a':
  Create arch specific cache dirs during zygote startup.

10 years agoam b6c04899: am c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."
Narayan Kamath [Thu, 1 May 2014 11:01:34 +0000 (11:01 +0000)]
am b6c04899: am c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."

* commit 'b6c04899e1ed614985d638b55dafe2c20e7b673a':
  Fix x86 build in app_process.

10 years agoam fd30a0e7: (-s ours) am ff34f6fa: am 27b03e62: Merge "Create arch specific cache...
Narayan Kamath [Thu, 1 May 2014 11:01:30 +0000 (11:01 +0000)]
am fd30a0e7: (-s ours) am ff34f6fa: am 27b03e62: Merge "Create arch specific cache dirs during zygote startup."

* commit 'fd30a0e7b747eb4b781ef8def3008626f14eddfe':
  Create arch specific cache dirs during zygote startup.

10 years agoam 169ebe98: Merge "Adds an enabled state in UserInfo instead of DevicePolicyManager"
Alexandra Gherghina [Thu, 1 May 2014 10:52:32 +0000 (10:52 +0000)]
am 169ebe98: Merge "Adds an enabled state in UserInfo instead of DevicePolicyManager"

* commit '169ebe98aeb8d1f725208da92585bc7a7a99aff8':
  Adds an enabled state in UserInfo instead of DevicePolicyManager

10 years agoMerge "Adds an enabled state in UserInfo instead of DevicePolicyManager"
Alexandra Gherghina [Thu, 1 May 2014 10:49:21 +0000 (10:49 +0000)]
Merge "Adds an enabled state in UserInfo instead of DevicePolicyManager"

10 years agoam c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."
Narayan Kamath [Thu, 1 May 2014 10:43:23 +0000 (10:43 +0000)]
am c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."

* commit 'c8a045d451522adab5226b0063f3a15d34542bf7':
  Fix x86 build in app_process.

10 years agoam ff34f6fa: am 27b03e62: Merge "Create arch specific cache dirs during zygote startup."
Narayan Kamath [Thu, 1 May 2014 10:43:19 +0000 (10:43 +0000)]
am ff34f6fa: am 27b03e62: Merge "Create arch specific cache dirs during zygote startup."

* commit 'ff34f6faaad21f5f72decc0b6a0bbde8dab68e29':
  Create arch specific cache dirs during zygote startup.

10 years agoam 41f40581: Merge "Fix x86 build in app_process."
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.

10 years agoam 27b03e62: Merge "Create arch specific cache dirs during zygote startup."
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.

10 years agoam fdbedeb6: Merge "Add unit tests for InputMethodSubtypeSwitchingController"
Yohei Yukawa [Thu, 1 May 2014 10:38:28 +0000 (10:38 +0000)]
am fdbedeb6: Merge "Add unit tests for InputMethodSubtypeSwitchingController"

* commit 'fdbedeb6f365fcbb9ab796ed5953d35ef3f3978a':
  Add unit tests for InputMethodSubtypeSwitchingController

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 agoAdds an enabled state in UserInfo instead of DevicePolicyManager
Alexandra Gherghina [Wed, 9 Apr 2014 12:54:39 +0000 (13:54 +0100)]
Adds an enabled state in UserInfo instead of DevicePolicyManager

Bug: 14377459
Change-Id: Ib4ec43d87da96c3dddaf9b7ae1796f261863a182

10 years agoMerge "Add unit tests for InputMethodSubtypeSwitchingController"
Yohei Yukawa [Thu, 1 May 2014 10:34:05 +0000 (10:34 +0000)]
Merge "Add unit tests for InputMethodSubtypeSwitchingController"

10 years agoam 92ce2150: am 6c2e8062: am 70344223: am fbb0ab02: Merge "Fix broken logging in...
Narayan Kamath [Thu, 1 May 2014 10:31:01 +0000 (10:31 +0000)]
am 92ce2150: am 6c2e8062: am 70344223: am fbb0ab02: Merge "Fix broken logging in Zygote.cpp."

* commit '92ce2150a2716bd7b3804d9fc258bb1de82a9c44':
  Fix broken logging in Zygote.cpp.

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 agoam 6c2e8062: am 70344223: am fbb0ab02: Merge "Fix broken logging in Zygote.cpp."
Narayan Kamath [Thu, 1 May 2014 10:27:18 +0000 (10:27 +0000)]
am 6c2e8062: am 70344223: am fbb0ab02: Merge "Fix broken logging in Zygote.cpp."

* commit '6c2e806200dc1a422aa681bfd78aae1eb8f1d508':
  Fix broken logging in Zygote.cpp.

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 agoam 70344223: am fbb0ab02: Merge "Fix broken logging in Zygote.cpp."
Narayan Kamath [Thu, 1 May 2014 10:22:56 +0000 (10:22 +0000)]
am 70344223: am fbb0ab02: Merge "Fix broken logging in Zygote.cpp."

* commit '703442238200c2f1a35b51e7aadc693322feb69d':
  Fix broken logging in Zygote.cpp.

10 years agoam fbb0ab02: Merge "Fix broken logging in Zygote.cpp."
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.

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 agoAdd unit tests for InputMethodSubtypeSwitchingController
Yohei Yukawa [Thu, 1 May 2014 08:20:05 +0000 (17:20 +0900)]
Add unit tests for InputMethodSubtypeSwitchingController

This CL adds unit tests for InputMethodSubtypeSwitchingController
as a ground work to make it aware of
supportsSwitchingToNextInputMethod in a subsequent CL.

This CL never changes existing behavior.

BUG: 12981505
Change-Id: I3b2c46c47c7686b811fa248ad549f20875367425

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 agoam 27866552: am f05bef95: am b76f7b35: am 8873025b: am f26a7100: Merge "update wear...
Robert Ly [Thu, 1 May 2014 09:50:05 +0000 (09:50 +0000)]
am 27866552: am f05bef95: am b76f7b35: am 8873025b: am f26a7100: Merge "update wear stack notifications to coincide with devbyte code" into klp-docs

* commit '27866552e98a73b59c71efd795705e5f13af9da0':
  update wear stack notifications to coincide with devbyte code

10 years agoam f05bef95: am b76f7b35: am 8873025b: am f26a7100: Merge "update wear stack notifica...
Robert Ly [Thu, 1 May 2014 09:45:33 +0000 (09:45 +0000)]
am f05bef95: am b76f7b35: am 8873025b: am f26a7100: Merge "update wear stack notifications to coincide with devbyte code" into klp-docs

* commit 'f05bef95fb1dd612f099fe54da71e308a16e79e8':
  update wear stack notifications to coincide with devbyte code

10 years agoam b76f7b35: am 8873025b: am f26a7100: Merge "update wear stack notifications to...
Robert Ly [Thu, 1 May 2014 09:42:08 +0000 (09:42 +0000)]
am b76f7b35: am 8873025b: am f26a7100: Merge "update wear stack notifications to coincide with devbyte code" into klp-docs

* commit 'b76f7b35db0040591492f026d0dc17678141b6cf':
  update wear stack notifications to coincide with devbyte code

10 years agoam 8873025b: am f26a7100: Merge "update wear stack notifications to coincide with...
Robert Ly [Thu, 1 May 2014 09:37:01 +0000 (09:37 +0000)]
am 8873025b: am f26a7100: Merge "update wear stack notifications to coincide with devbyte code" into klp-docs

* commit '8873025b2a52ca1ecccfaa9840e82681e17900d4':
  update wear stack notifications to coincide with devbyte code

10 years agoam 4cd07224: Merge "Introduce forwarding intents across profiles."
Nicolas Prevot [Thu, 1 May 2014 09:20:35 +0000 (09:20 +0000)]
am 4cd07224: Merge "Introduce forwarding intents across profiles."

* commit '4cd07224df582d6b6f9be5b1d04ab65bbd00d3f7':
  Introduce forwarding intents across profiles.

10 years agoMerge "Introduce forwarding intents across profiles."
Nicolas Prevot [Thu, 1 May 2014 09:17:12 +0000 (09:17 +0000)]
Merge "Introduce forwarding intents across profiles."

10 years agoam f26a7100: Merge "update wear stack notifications to coincide with devbyte code...
Robert Ly [Thu, 1 May 2014 08:22:05 +0000 (08:22 +0000)]
am f26a7100: Merge "update wear stack notifications to coincide with devbyte code" into klp-docs

* commit 'f26a71003de069355931eab340433ba8345ba3f7':
  update wear stack notifications to coincide with devbyte code

10 years agoMerge "update wear stack notifications to coincide with devbyte code" into klp-docs
Robert Ly [Thu, 1 May 2014 07:27:22 +0000 (07:27 +0000)]
Merge "update wear stack notifications to coincide with devbyte code" into klp-docs