OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 69ee6b0a: am 140dc63f: am 84803849: Merge "Zygote: enable CAP_BLOCK_SUSPEND capabi...
Nick Kralevich [Thu, 24 Apr 2014 18:29:50 +0000 (18:29 +0000)]
am 69ee6b0a: am 140dc63f: am 84803849: Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"

* commit '69ee6b0a774346af5e621907a0508c02468b4186':
  Zygote: enable CAP_BLOCK_SUSPEND capability for system server

10 years agoMerge "Start collecting mobile radio activity from the radio."
Dianne Hackborn [Thu, 24 Apr 2014 18:28:32 +0000 (18:28 +0000)]
Merge "Start collecting mobile radio activity from the radio."

10 years agoam 140dc63f: am 84803849: Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for...
Nick Kralevich [Thu, 24 Apr 2014 18:25:58 +0000 (18:25 +0000)]
am 140dc63f: am 84803849: Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"

* commit '140dc63f4f927a8eddddf8d11a142e6975c1c6cf':
  Zygote: enable CAP_BLOCK_SUSPEND capability for system server

10 years agoam 84803849: Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"
Nick Kralevich [Thu, 24 Apr 2014 18:22:20 +0000 (18:22 +0000)]
am 84803849: Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"

* commit '8480384986c314bd97b841cbf7f63acb7055ecef':
  Zygote: enable CAP_BLOCK_SUSPEND capability for system server

10 years agoStart collecting mobile radio activity from the radio.
Dianne Hackborn [Mon, 21 Apr 2014 22:56:18 +0000 (15:56 -0700)]
Start collecting mobile radio activity from the radio.

Hook in to the new radio API to find out when the radio
is active and use that to track its state in batter stats.
We also still have the data being tracked from the kernel's
emulation, and continue to use that if we don't get data from
the radio.

Currently this monitoring is turned off until some issues
in the radio can be fixed that are providing bad data.

Also add a new API to get estimated drain and charge times.

Change-Id: Ifc4900fabb8f848f9cda361dce698664ea75f175

10 years agoMerge "Nested scrolling!"
Adam Powell [Thu, 24 Apr 2014 18:20:43 +0000 (18:20 +0000)]
Merge "Nested scrolling!"

10 years agoMerge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"
Nick Kralevich [Thu, 24 Apr 2014 18:18:01 +0000 (18:18 +0000)]
Merge "Zygote: enable CAP_BLOCK_SUSPEND capability for system server"

10 years agoZygote: enable CAP_BLOCK_SUSPEND capability for system server
Daniel Leung [Fri, 20 Dec 2013 18:37:35 +0000 (10:37 -0800)]
Zygote: enable CAP_BLOCK_SUSPEND capability for system server

Starting from kernel 3.6, it requires processes to have the capability
CAP_BLOCK_SUSPEND to set/unset wake locks. Adds CAP_BLOCK_SUSPEND
to the list of capabilities for system server, so that PowerManager
can set wake locks.

Change-Id: I3246e6f6e6cb8f0bedb1c0417ed07085ee1f3aaa
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
10 years agoMerge "Shoot the rays to the vertices of the incoming polygon."
ztenghui [Thu, 24 Apr 2014 18:02:59 +0000 (18:02 +0000)]
Merge "Shoot the rays to the vertices of the incoming polygon."

10 years agoNested scrolling!
Adam Powell [Tue, 15 Apr 2014 16:46:51 +0000 (09:46 -0700)]
Nested scrolling!

or, "Excuse me, Egon, you said crossing the streams was bad."

Add API for driving a nested scroll from the most deeply nested
applicable scrolling view. The deepest scrolling view dispatches
high-level scrolling events up to cooperative parent views.

Augment ScrollView to support nested scrolling. Next up, more public
framework scrolling views.

Change-Id: I53b5e207fcdece796e08c8592ddb4496b96f600e

10 years agoMerge "Take screenshots of pausing activity"
Craig Mautner [Thu, 24 Apr 2014 17:44:42 +0000 (17:44 +0000)]
Merge "Take screenshots of pausing activity"

10 years agoTake screenshots of pausing activity
Craig Mautner [Thu, 24 Apr 2014 17:19:20 +0000 (10:19 -0700)]
Take screenshots of pausing activity

Previous CL to optimize out excessive screenshots (ag/379669) was too
effective and didn't take screenshots when going into an activity
that had attribute Window_windowNoDisplay. Adding in the test for
ActivityRecord.noDisplay allows screenshots for this situation.

Fixes bug 13410507.

Change-Id: Ieafebf44b7d1a3ba18115e762fba113f8d1c0252

10 years agoresolved conflicts for merge of f8a58208 to master
Craig Mautner [Thu, 24 Apr 2014 17:27:04 +0000 (10:27 -0700)]
resolved conflicts for merge of f8a58208 to master

Conflicts:
core/java/android/content/pm/PackageParser.java
core/res/res/values/attrs_manifest.xml
core/res/res/values/public.xml

Change-Id: I747772e9dbc7ee1cf8993e574de4b3215f6833b2

10 years agoMerge "Fix two potential NPEs in DeviceInfo"
Alexandra Gherghina [Thu, 24 Apr 2014 17:11:51 +0000 (17:11 +0000)]
Merge "Fix two potential NPEs in DeviceInfo"

10 years agoFix two potential NPEs in DeviceInfo
Alexandra Gherghina [Thu, 24 Apr 2014 16:55:30 +0000 (17:55 +0100)]
Fix two potential NPEs in DeviceInfo

Change-Id: Ic4b5b203af25cda9ae65b477c92c1fb5f31ab093

10 years agoShoot the rays to the vertices of the incoming polygon.
ztenghui [Tue, 22 Apr 2014 18:21:49 +0000 (11:21 -0700)]
Shoot the rays to the vertices of the incoming polygon.

bug:13553955

Change-Id: I4825a49e8eaab969c40f2ee4086f7669c9c6fd29

10 years agoam 03981a4c: Merge "Add activity attribute allowEmbedded" into klp-modular-dev
Craig Mautner [Thu, 24 Apr 2014 16:33:02 +0000 (16:33 +0000)]
am 03981a4c: Merge "Add activity attribute allowEmbedded" into klp-modular-dev

* commit '03981a4c2e9689197e4d2c916c07ae16207b5276':
  Add activity attribute allowEmbedded

10 years agoMerge "Add activity attribute allowEmbedded" into klp-modular-dev
Craig Mautner [Thu, 24 Apr 2014 16:30:14 +0000 (16:30 +0000)]
Merge "Add activity attribute allowEmbedded" into klp-modular-dev

10 years agoam 07bed492: am e4ee0e31: Merge "Fix bug 14276128 Clipping at bottom of TextView...
Raph Levien [Thu, 24 Apr 2014 16:25:21 +0000 (16:25 +0000)]
am 07bed492: am e4ee0e31: Merge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev

* commit '07bed4921a05e717a4b7f10a25e3830e346426b7':
  Fix bug 14276128 Clipping at bottom of TextView

10 years agoam e4ee0e31: Merge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev
Raph Levien [Thu, 24 Apr 2014 16:18:08 +0000 (16:18 +0000)]
am e4ee0e31: Merge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev

* commit 'e4ee0e3193f8e66cabc5352046969041ad4921e5':
  Fix bug 14276128 Clipping at bottom of TextView

10 years agoam 0fc5f869: am e597d5f9: Merge "Use rotation to position circular display mask"...
Michael Kolb [Thu, 24 Apr 2014 16:16:59 +0000 (16:16 +0000)]
am 0fc5f869: am e597d5f9: Merge "Use rotation to position circular display mask" into klp-modular-dev

* commit '0fc5f86950f6089eb8b4cbc0bf9684b8be090fa3':
  Use rotation to position circular display mask

10 years agoam e597d5f9: Merge "Use rotation to position circular display mask" into klp-modular-dev
Michael Kolb [Thu, 24 Apr 2014 16:13:41 +0000 (16:13 +0000)]
am e597d5f9: Merge "Use rotation to position circular display mask" into klp-modular-dev

* commit 'e597d5f9310f760843272c728d6fb1917abf241a':
  Use rotation to position circular display mask

10 years agoMerge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev
Raph Levien [Thu, 24 Apr 2014 16:12:54 +0000 (16:12 +0000)]
Merge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev

10 years agoMerge "Use rotation to position circular display mask" into klp-modular-dev
Michael Kolb [Thu, 24 Apr 2014 16:08:21 +0000 (16:08 +0000)]
Merge "Use rotation to position circular display mask" into klp-modular-dev

10 years agoUse rotation to position circular display mask
Michael Kolb [Thu, 24 Apr 2014 05:06:21 +0000 (22:06 -0700)]
Use rotation to position circular display mask

  Bug: 14231785

Change-Id: Ib6d69f3b9c2a638731539f1c1e51b56ad1698adc

10 years agoMerge "Fix bug with getLauncherActivities ignoring packageName."
Kenny Guy [Thu, 24 Apr 2014 15:49:08 +0000 (15:49 +0000)]
Merge "Fix bug with getLauncherActivities ignoring packageName."

10 years agoam d0af9589: (-s ours) am aed314e8: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Thu, 24 Apr 2014 15:43:59 +0000 (15:43 +0000)]
am d0af9589: (-s ours) am aed314e8: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'd0af9589ff8971bb02ee764454e3a46b0c2aebaa':
  Import translations. DO NOT MERGE

10 years agoam 7e28afd9: am 7d2d2272: Merge "Force ActivityView activities to start in new task...
Craig Mautner [Thu, 24 Apr 2014 15:43:37 +0000 (15:43 +0000)]
am 7e28afd9: am 7d2d2272: Merge "Force ActivityView activities to start in new task" into klp-modular-dev

* commit '7e28afd9568c590c7110f83b252dbb77f165fcb3':
  Force ActivityView activities to start in new task

10 years agoam 56cc5ba7: am 8d47f23e: am dbb0de21: Merge "Fix a typo in an assertion."
Elliott Hughes [Thu, 24 Apr 2014 15:43:24 +0000 (15:43 +0000)]
am 56cc5ba7: am 8d47f23e: am dbb0de21: Merge "Fix a typo in an assertion."

* commit '56cc5ba79bdf75a73281dc73f13169a409d96c28':
  Fix a typo in an assertion.

10 years agoAdd activity attribute allowEmbedded
Craig Mautner [Thu, 24 Apr 2014 04:38:50 +0000 (21:38 -0700)]
Add activity attribute allowEmbedded

Activitys without allowEmbedded=true may not be launched in an ActivityView.

Fixes bug 13693121.

Change-Id: I431d554300fc3504ab1bc7d73a58d5dad24f8639

10 years agoMerge "Modify getUserProfiles to return only enabled profiles:"
Alexandra Gherghina [Thu, 24 Apr 2014 15:22:09 +0000 (15:22 +0000)]
Merge "Modify getUserProfiles to return only enabled profiles:"

10 years agoam aed314e8: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Thu, 24 Apr 2014 14:34:02 +0000 (14:34 +0000)]
am aed314e8: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'aed314e8f3e53627518222777c2fe89666bfd643':
  Import translations. DO NOT MERGE

10 years agoMerge "Move notification listener management into helper."
John Spurlock [Thu, 24 Apr 2014 14:32:40 +0000 (14:32 +0000)]
Merge "Move notification listener management into helper."

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:38 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Thu, 24 Apr 2014 14:28:31 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-modular-dev

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:29 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:19 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:13 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:11 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Properly filter out excluded views in createAnimators() call."
George Mount [Thu, 24 Apr 2014 14:12:16 +0000 (14:12 +0000)]
Merge "Properly filter out excluded views in createAnimators() call."

10 years agoFix bug with getLauncherActivities ignoring packageName.
Kenny Guy [Wed, 23 Apr 2014 20:00:45 +0000 (21:00 +0100)]
Fix bug with getLauncherActivities ignoring packageName.

Change-Id: Ica5817378a24cb4b68e2c99e37cd214d3fde8ba4

10 years agoam 7d2d2272: Merge "Force ActivityView activities to start in new task" into klp...
Craig Mautner [Thu, 24 Apr 2014 09:11:30 +0000 (09:11 +0000)]
am 7d2d2272: Merge "Force ActivityView activities to start in new task" into klp-modular-dev

* commit '7d2d2272f1dc91f27983797349f8253bfa25e8b4':
  Force ActivityView activities to start in new task

10 years agoModify getUserProfiles to return only enabled profiles:
Alexandra Gherghina [Thu, 3 Apr 2014 12:37:39 +0000 (13:37 +0100)]
Modify getUserProfiles to return only enabled profiles:

Add a new enabled state for a managed profile.
Expose that as a new API on DevicePolicyManager.
Set the new state when enabling the profile.
Return only enabled profiles from the user manager.

Bug: 13755441
Bug: 13755091
Change-Id: I2907b182e19b3562592da688b3f68ef5f4088557

10 years agoam 8d47f23e: am dbb0de21: Merge "Fix a typo in an assertion."
Elliott Hughes [Thu, 24 Apr 2014 09:01:44 +0000 (09:01 +0000)]
am 8d47f23e: am dbb0de21: Merge "Fix a typo in an assertion."

* commit '8d47f23e43760dcbf051aaeffff668c3c6340276':
  Fix a typo in an assertion.

10 years agoMerge "Force ActivityView activities to start in new task" into klp-modular-dev
Craig Mautner [Thu, 24 Apr 2014 04:28:27 +0000 (04:28 +0000)]
Merge "Force ActivityView activities to start in new task" into klp-modular-dev

10 years agoam 8f9d92c4: (-s ours) am 7406e4b8: am 7947ec71: am b64732d9: Merge "Fix style warnin...
Deepanshu Gupta [Thu, 24 Apr 2014 03:24:18 +0000 (03:24 +0000)]
am 8f9d92c4: (-s ours) am 7406e4b8: am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

* commit '8f9d92c4ca5233607ca01dac0b3b66fde5539307':
  Fix style warnings in RenderSessionImpl [DO NOT MERGE]

10 years agoam 057dca97: (-s ours) am 1668ae8d: am a019e772: am 6aaea1bd: Merge "Fix visitFieldIn...
Deepanshu Gupta [Thu, 24 Apr 2014 03:24:14 +0000 (03:24 +0000)]
am 057dca97: (-s ours) am 1668ae8d: am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

* commit '057dca97d9a486b94c82673a95a7a3933bca9a4d':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

10 years agoam 5dee1a09: (-s ours) am e17ed922: am 126f4057: am 5ba2f230: Add view cookies for...
Deepanshu Gupta [Thu, 24 Apr 2014 03:24:10 +0000 (03:24 +0000)]
am 5dee1a09: (-s ours) am e17ed922: am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '5dee1a093abc4d6fd197ba2c3be012c9536ba1c5':
  Add view cookies for action bar menus. [DO NOT MERGE]

10 years agoam 7406e4b8: am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl...
Deepanshu Gupta [Thu, 24 Apr 2014 01:36:22 +0000 (01:36 +0000)]
am 7406e4b8: am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

* commit '7406e4b8102ffd71affd55a9f453c0ecce13a097':
  Fix style warnings in RenderSessionImpl [DO NOT MERGE]

10 years agoam 1668ae8d: am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create...
Deepanshu Gupta [Thu, 24 Apr 2014 01:36:18 +0000 (01:36 +0000)]
am 1668ae8d: am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

* commit '1668ae8d2a29b491c3ae421c5b0eca101fb10824':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

10 years agoam e17ed922: am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO...
Deepanshu Gupta [Thu, 24 Apr 2014 01:36:14 +0000 (01:36 +0000)]
am e17ed922: am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]

* commit 'e17ed922001cf70c48969eb7b10ee2e2557b41f9':
  Add view cookies for action bar menus. [DO NOT MERGE]

10 years agoam 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT...
Deepanshu Gupta [Thu, 24 Apr 2014 01:31:24 +0000 (01:31 +0000)]
am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

* commit '7947ec715d8b4a0c82135553abb4947b61bf802b':
  Fix style warnings in RenderSessionImpl [DO NOT MERGE]

10 years agoam a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT...
Deepanshu Gupta [Thu, 24 Apr 2014 01:31:20 +0000 (01:31 +0000)]
am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

* commit 'a019e77252f86962b9803042c01b897f7f1aa89f':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

10 years agoam 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]
Deepanshu Gupta [Thu, 24 Apr 2014 01:31:15 +0000 (01:31 +0000)]
am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '126f4057a06756fbb1c194b5d9d40f9f922d14ee':
  Add view cookies for action bar menus. [DO NOT MERGE]

10 years agoam b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into...
Deepanshu Gupta [Thu, 24 Apr 2014 01:27:53 +0000 (01:27 +0000)]
am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

* commit 'b64732d977c023423cd01d32361a49401d9203cd':
  Fix style warnings in RenderSessionImpl [DO NOT MERGE]

10 years agoam 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into...
Deepanshu Gupta [Thu, 24 Apr 2014 01:27:50 +0000 (01:27 +0000)]
am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

* commit '6aaea1bd4aa056335776098cd9dc523e898716f1':
  Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

10 years agoam 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]
Deepanshu Gupta [Thu, 24 Apr 2014 01:27:45 +0000 (01:27 +0000)]
am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]

* commit '5ba2f230faa355eb9bc1e90f6c48eeeb437f390c':
  Add view cookies for action bar menus. [DO NOT MERGE]

10 years agoMerge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev
Deepanshu Gupta [Thu, 24 Apr 2014 01:21:54 +0000 (01:21 +0000)]
Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev

10 years agoMerge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev
Deepanshu Gupta [Thu, 24 Apr 2014 01:21:45 +0000 (01:21 +0000)]
Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev

10 years agoMove notification listener management into helper.
John Spurlock [Thu, 24 Apr 2014 01:12:45 +0000 (21:12 -0400)]
Move notification listener management into helper.

Part of a larger effort to reuse service management code.  This is
mostly algebraic, simply move code related to listener management
into a new helper, and cut the backreference to NoMan.  Put
user-profile code into reusable inner helper, and common uid-checking
code into a new static util helper.

Resist the urge to rewrite / reformat, but replace HashSet with
ArraySet.

Bug:13743109
Change-Id: I59e0131f632c3bbf555b5276dc5092422113cdc3

10 years agoMerge "Bug fix in layoutlib"
Deepanshu Gupta [Thu, 24 Apr 2014 01:10:36 +0000 (01:10 +0000)]
Merge "Bug fix in layoutlib"

10 years agoBug fix in layoutlib
Deepanshu Gupta [Thu, 24 Apr 2014 01:07:07 +0000 (18:07 -0700)]
Bug fix in layoutlib

Renaming a method wasn't completed properly.
The bug was introduced in the following change:
Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
(1001961f904bac5294aaf73a47c2497aa764bf7f)

Change-Id: I698437b428d696c656e2268ded654a612a3e0c80

10 years agoFix style warnings in RenderSessionImpl [DO NOT MERGE]
Deepanshu Gupta [Wed, 23 Apr 2014 00:22:32 +0000 (17:22 -0700)]
Fix style warnings in RenderSessionImpl [DO NOT MERGE]

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)

10 years agoAdd view cookies for action bar menus. [DO NOT MERGE]
Deepanshu Gupta [Fri, 18 Apr 2014 19:32:38 +0000 (12:32 -0700)]
Add view cookies for action bar menus. [DO NOT MERGE]

The change adds the view cookies for the menus rendered in the action
bar. This enables the IDE to map the menu to the relevant XML Tag in the
menu xml and show the highlighting accordingly.

The change also contains a bugfix where a method wasn't renamed
properly.

Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
(cherry-picked from commit 1001961f904bac5294aaf73a47c2497aa764bf7f)

10 years agoMerge "Bug fix for wakeup sensors."
Aravind Akella [Thu, 24 Apr 2014 00:40:59 +0000 (00:40 +0000)]
Merge "Bug fix for wakeup sensors."

10 years agoam dbb0de21: Merge "Fix a typo in an assertion."
Elliott Hughes [Thu, 24 Apr 2014 00:25:01 +0000 (00:25 +0000)]
am dbb0de21: Merge "Fix a typo in an assertion."

* commit 'dbb0de21d35343504b096ae6cbf97d122ac410c9':
  Fix a typo in an assertion.

10 years agoMerge "Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)"
Winson Chung [Thu, 24 Apr 2014 00:14:02 +0000 (00:14 +0000)]
Merge "Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)"

10 years agoMerge "Clip TouchFeedbackDrawable effect to receiver Outline"
Chris Craik [Thu, 24 Apr 2014 00:08:08 +0000 (00:08 +0000)]
Merge "Clip TouchFeedbackDrawable effect to receiver Outline"

10 years agoBug fix for wakeup sensors.
Aravind Akella [Wed, 12 Feb 2014 02:44:42 +0000 (18:44 -0800)]
Bug fix for wakeup sensors.

SensorService should hold a wakelock till the app reads events from a wakeup sensor. Currently drivers hold a wakelock with a
timeout while delivering events from a wake up sensor like Significant Motion. This hack can be removed now.
Bug: 9774884

Change-Id: I6cab0147c63f57a494a61f4dfe2a64a27dfe1b4e

10 years agoMerge "Fix a typo in an assertion."
Elliott Hughes [Wed, 23 Apr 2014 23:55:33 +0000 (23:55 +0000)]
Merge "Fix a typo in an assertion."

10 years agoFix a typo in an assertion.
Elliott Hughes [Wed, 23 Apr 2014 23:54:33 +0000 (16:54 -0700)]
Fix a typo in an assertion.

Change-Id: I3e97bb3cb8070c0ec0c6b97769f1da3e7b4ef8f5

10 years agoFixing crash in SystemServicesProxy getting activity label (Bug. 14260718)
Winson Chung [Wed, 23 Apr 2014 22:19:56 +0000 (15:19 -0700)]
Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)

- Fixing issue with wrong margins due to moved activity icon

Change-Id: Ib3631dc4cf4244d44737ee95b597bd25653815c8

10 years agoMerge "Add missing try/finallys"
John Reck [Wed, 23 Apr 2014 23:34:51 +0000 (23:34 +0000)]
Merge "Add missing try/finallys"

10 years agoMerge "Don't show managed profiles in the user switcher"
Amith Yamasani [Wed, 23 Apr 2014 23:33:04 +0000 (23:33 +0000)]
Merge "Don't show managed profiles in the user switcher"

10 years agoFix bug 14276128 Clipping at bottom of TextView
Raph Levien [Wed, 23 Apr 2014 22:52:55 +0000 (15:52 -0700)]
Fix bug 14276128 Clipping at bottom of TextView

Avoid applying "extra" linespacing to the last line of a layout, because
when that is negative, it causes clipping.

Change-Id: I4cc8792fd3444e4118604cc3d0f816d59dfc1e74

10 years agoClip TouchFeedbackDrawable effect to receiver Outline
Chris Craik [Tue, 15 Apr 2014 23:18:08 +0000 (16:18 -0700)]
Clip TouchFeedbackDrawable effect to receiver Outline

Projected RenderNodes are now wrapped with a ClipRect or masked
SaveLayer, so that they are clipped to the outline of the projection
receiver surface.

Change-Id: I1d4afc1bb5d638d650bc0b1dac51a498f216773e

10 years agoFix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
Deepanshu Gupta [Tue, 1 Apr 2014 01:59:45 +0000 (18:59 -0700)]
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]

The bug caused some classes to be missed when computing the dependencies
of the existing classes.

Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
(cherry-picked from 4a0f93bd32b8dd9b3c351680ad82e461d5111f38)

10 years agoAdd missing try/finallys
John Reck [Wed, 23 Apr 2014 21:48:28 +0000 (14:48 -0700)]
Add missing try/finallys

Change-Id: I32be65f5a46768449f26b69f72f502acd1e72769

10 years agoDon't show managed profiles in the user switcher
Amith Yamasani [Wed, 23 Apr 2014 21:43:23 +0000 (14:43 -0700)]
Don't show managed profiles in the user switcher

Only show users that you can switch to.

Change-Id: Iff6dfccc27230f824d73d02731a045c69419b814

10 years agoMerge "Fix translationZ matrix computation"
Chris Craik [Wed, 23 Apr 2014 21:39:06 +0000 (21:39 +0000)]
Merge "Fix translationZ matrix computation"

10 years agoMerge "Piping through ability for an Activity to remove its own task. (Bug 13735914)"
Winson Chung [Wed, 23 Apr 2014 21:35:32 +0000 (21:35 +0000)]
Merge "Piping through ability for an Activity to remove its own task. (Bug 13735914)"

10 years agoMerge "Tune down the linkify false positive rate"
Selim Gurun [Wed, 23 Apr 2014 21:23:27 +0000 (21:23 +0000)]
Merge "Tune down the linkify false positive rate"

10 years agoPiping through ability for an Activity to remove its own task. (Bug 13735914)
Winson Chung [Tue, 22 Apr 2014 17:08:18 +0000 (10:08 -0700)]
Piping through ability for an Activity to remove its own task. (Bug 13735914)

Change-Id: Iefcd4fbe68748195de8ee37ee2b6edef55276603

10 years agoForce ActivityView activities to start in new task
Craig Mautner [Wed, 23 Apr 2014 02:57:19 +0000 (19:57 -0700)]
Force ActivityView activities to start in new task

Activities were associating with existing tasks when their
components matched. This was causing them to be launched
into existing stacks rather than into their ActivityView. Adding
these flags forces the launches to be in unique tasks on their
ActivityView.

Fixes bug 14252286.

Change-Id: I9ba65a4a2da198435748c0a17396d3f7f8c75f5e

10 years agoMerge "Fix style warnings in RenderSessionImpl"
Deepanshu Gupta [Wed, 23 Apr 2014 20:45:04 +0000 (20:45 +0000)]
Merge "Fix style warnings in RenderSessionImpl"

10 years agoMerge "Avoid panel "flip" animations when possible."
John Spurlock [Wed, 23 Apr 2014 20:31:46 +0000 (20:31 +0000)]
Merge "Avoid panel "flip" animations when possible."

10 years agoFix translationZ matrix computation
Chris Craik [Wed, 23 Apr 2014 00:55:41 +0000 (17:55 -0700)]
Fix translationZ matrix computation

bug:14259972

Ensure that translationZ is applied for true3dTransform property
transformations, even if the node doesn't have any other
transformation properties set.

Additionally, use fuzzy compare for translationZ, similar to
rotationX/Y, since they're expenive to leave set in rounding error
cases.

Change-Id: Idafa4423cc7751a8f433237b1f576aa7abb74f6e

10 years agoDynamic AID registration APIs for HCE.
Martijn Coenen [Fri, 11 Apr 2014 19:54:22 +0000 (12:54 -0700)]
Dynamic AID registration APIs for HCE.

Adds a set of APIs that allows applications
to dynamically register and unregister AID groups
for HCE and Secure Element based services.

Change-Id: I08e9423dff405955cb725c87423c953a7dbe5c72

10 years agoAvoid panel "flip" animations when possible.
John Spurlock [Wed, 23 Apr 2014 20:12:54 +0000 (16:12 -0400)]
Avoid panel "flip" animations when possible.

Bug:14271219
Change-Id: I91632c073497718e2fd53ad172ec805f54514696

10 years agoFix style warnings in RenderSessionImpl
Deepanshu Gupta [Wed, 23 Apr 2014 00:22:32 +0000 (17:22 -0700)]
Fix style warnings in RenderSessionImpl

Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c

10 years agoMerge "Add null bg check to switch"
Alan Viverette [Wed, 23 Apr 2014 19:54:03 +0000 (19:54 +0000)]
Merge "Add null bg check to switch"

10 years agoAdd null bg check to switch
Alan Viverette [Wed, 23 Apr 2014 19:51:16 +0000 (12:51 -0700)]
Add null bg check to switch

BUG: 14271950
Change-Id: I6f4833c916ddc8d939f5bfa6ab7b1ed1993e862e

10 years agoMerge "Add view cookies for action bar menus."
Deepanshu Gupta [Wed, 23 Apr 2014 19:50:00 +0000 (19:50 +0000)]
Merge "Add view cookies for action bar menus."

10 years agoFix build.
Emily Bernier [Wed, 23 Apr 2014 19:40:11 +0000 (15:40 -0400)]
Fix build.

Don't link to MANAGE_USERS permission in Javadoc.

Change-Id: Iad1391a0281a3fad06529a86b277f787791e94fc

10 years agoAdd view cookies for action bar menus.
Deepanshu Gupta [Fri, 18 Apr 2014 19:32:38 +0000 (12:32 -0700)]
Add view cookies for action bar menus.

The change adds the view cookies for the menus rendered in the action
bar. This enables the IDE to map the menu to the relevant XML Tag in the
menu xml and show the highlighting accordingly.

Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 19:16:20 +0000 (12:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id3aec0b4534311c2ca89dcf86e04566c0cf025c3
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 19:12:46 +0000 (12:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic8c5ae13c6ed3ad711170586a245452195c6d963
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 19:05:40 +0000 (12:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I71ec42f4923a70bc8e34f16a55ffeb5f63e92ec8
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 18:53:59 +0000 (11:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: Icd10d420151ef81797ebe9a5d67eabb122e6cb2e
Auto-generated-cl: translation import

10 years agoMerge "Introduce PersistableBundle"
Craig Mautner [Wed, 23 Apr 2014 18:48:56 +0000 (18:48 +0000)]
Merge "Introduce PersistableBundle"