OSDN Git Service
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
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
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
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
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
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
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
Kenny Guy [Thu, 24 Apr 2014 15:49:08 +0000 (15:49 +0000)]
Merge "Fix bug with getLauncherActivities ignoring packageName."
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
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
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.
Alexandra Gherghina [Thu, 24 Apr 2014 15:22:09 +0000 (15:22 +0000)]
Merge "Modify getUserProfiles to return only enabled profiles:"
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
John Spurlock [Thu, 24 Apr 2014 14:32:40 +0000 (14:32 +0000)]
Merge "Move notification listener management into helper."
Baligh Uddin [Thu, 24 Apr 2014 14:28:38 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:31 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Thu, 24 Apr 2014 14:28:29 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:19 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:13 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:28:11 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"
George Mount [Thu, 24 Apr 2014 14:12:16 +0000 (14:12 +0000)]
Merge "Properly filter out excluded views in createAnimators() call."
Kenny Guy [Wed, 23 Apr 2014 20:00:45 +0000 (21:00 +0100)]
Fix bug with getLauncherActivities ignoring packageName.
Change-Id: Ica5817378a24cb4b68e2c99e37cd214d3fde8ba4
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
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
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.
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
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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
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
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
Deepanshu Gupta [Thu, 24 Apr 2014 01:10:36 +0000 (01:10 +0000)]
Merge "Bug 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
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)
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)
Aravind Akella [Thu, 24 Apr 2014 00:40:59 +0000 (00:40 +0000)]
Merge "Bug fix for wakeup sensors."
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.
Winson Chung [Thu, 24 Apr 2014 00:14:02 +0000 (00:14 +0000)]
Merge "Fixing crash in SystemServicesProxy getting activity label (Bug.
14260718)"
Chris Craik [Thu, 24 Apr 2014 00:08:08 +0000 (00:08 +0000)]
Merge "Clip TouchFeedbackDrawable effect to receiver Outline"
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
Elliott Hughes [Wed, 23 Apr 2014 23:55:33 +0000 (23:55 +0000)]
Merge "Fix 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
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
John Reck [Wed, 23 Apr 2014 23:34:51 +0000 (23:34 +0000)]
Merge "Add missing try/finallys"
Amith Yamasani [Wed, 23 Apr 2014 23:33:04 +0000 (23:33 +0000)]
Merge "Don't show managed profiles in the user switcher"
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
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
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)
John Reck [Wed, 23 Apr 2014 21:48:28 +0000 (14:48 -0700)]
Add missing try/finallys
Change-Id: I32be65f5a46768449f26b69f72f502acd1e72769
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
Chris Craik [Wed, 23 Apr 2014 21:39:06 +0000 (21:39 +0000)]
Merge "Fix translationZ matrix computation"
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)"
Selim Gurun [Wed, 23 Apr 2014 21:23:27 +0000 (21:23 +0000)]
Merge "Tune down the linkify false positive rate"
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
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
Deepanshu Gupta [Wed, 23 Apr 2014 20:45:04 +0000 (20:45 +0000)]
Merge "Fix style warnings in RenderSessionImpl"
John Spurlock [Wed, 23 Apr 2014 20:31:46 +0000 (20:31 +0000)]
Merge "Avoid panel "flip" animations when possible."
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
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
John Spurlock [Wed, 23 Apr 2014 20:12:54 +0000 (16:12 -0400)]
Avoid panel "flip" animations when possible.
Bug:
14271219
Change-Id: I91632c073497718e2fd53ad172ec805f54514696
Deepanshu Gupta [Wed, 23 Apr 2014 00:22:32 +0000 (17:22 -0700)]
Fix style warnings in RenderSessionImpl
Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
Alan Viverette [Wed, 23 Apr 2014 19:54:03 +0000 (19:54 +0000)]
Merge "Add 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
Deepanshu Gupta [Wed, 23 Apr 2014 19:50:00 +0000 (19:50 +0000)]
Merge "Add view cookies for action bar menus."
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
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
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
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
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
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
Craig Mautner [Wed, 23 Apr 2014 18:48:56 +0000 (18:48 +0000)]
Merge "Introduce PersistableBundle"
Emily Bernier [Wed, 23 Apr 2014 18:27:45 +0000 (18:27 +0000)]
Merge "Allow device or profile owner app to modify user restrictions."
Baligh Uddin [Wed, 23 Apr 2014 18:27:35 +0000 (11:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: I99c697cc9974820312756fa89f51e3cf821401e2
Auto-generated-cl: translation import
Baligh Uddin [Wed, 23 Apr 2014 18:21:37 +0000 (11:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: I486facdbdbfdc4cafe23f0412e7b548a11792480
Auto-generated-cl: translation import
Emily Bernier [Wed, 23 Apr 2014 16:51:35 +0000 (12:51 -0400)]
Allow device or profile owner app to modify user restrictions.
Currently this is gated on being a system or root app with the
MANAGE_USERS permission; third-party MDM apps set as device or profile
owner should have this ability as well.
Bug:
13585295
Change-Id: I61d21b13b9ec66fc0cb497ec2007ee732461d448
Selim Gurun [Wed, 23 Apr 2014 18:17:20 +0000 (11:17 -0700)]
Tune down the linkify false positive rate
Bug:
14066316
Tune down the false positive rate by restricting gTLD pattern a little bit.
Change-Id: I7bd39633d3267930593bd7231f764c110293301f
John Spurlock [Wed, 23 Apr 2014 17:46:44 +0000 (17:46 +0000)]
Merge "Quick settings: interim tile shuffle."
Alan Viverette [Wed, 23 Apr 2014 17:33:47 +0000 (10:33 -0700)]
Prevent new ripples when max reached
BUG:
14270202
Change-Id: I53b0522a175eca043ba1cf007377312d03fd8f6d
John Spurlock [Wed, 23 Apr 2014 17:22:59 +0000 (13:22 -0400)]
Quick settings: interim tile shuffle.
Ensure BT and location appear in 3x3 mode, by:
- Adding the three conditional accessibility tiles at the end
- Moving BT and location above airplane mode (available via global actions)
and zen mode (sorry).
Bug:
14162372
Change-Id: I6d79a7442f091d58643c5124cfe0dcbf6e3cd46f
Alan Viverette [Wed, 23 Apr 2014 17:20:11 +0000 (10:20 -0700)]
Fix null and bounds checks
BUG:
14271950
BUG:
14271753
BUG:
14270202
Change-Id: I8708107d3803b170a323f584a268ea6b096458ce
Neil Fuller [Wed, 23 Apr 2014 16:51:47 +0000 (16:51 +0000)]
am
d720ef54: am
caf6497b: am
683cf1bf: Merge "Changes to support asynchronous close interruption"
* commit '
d720ef541d06be87de3b3e03c1e7fb349299a21f':
Changes to support asynchronous close interruption
Neil Fuller [Wed, 23 Apr 2014 16:48:34 +0000 (16:48 +0000)]
am
caf6497b: am
683cf1bf: Merge "Changes to support asynchronous close interruption"
* commit '
caf6497b9a0347da7d5acbe678adc2c8187176c0':
Changes to support asynchronous close interruption
Neil Fuller [Wed, 23 Apr 2014 16:45:15 +0000 (16:45 +0000)]
am
683cf1bf: Merge "Changes to support asynchronous close interruption"
* commit '
683cf1bffe33f49f26d46201f96cd2eff60e8192':
Changes to support asynchronous close interruption
Neil Fuller [Wed, 23 Apr 2014 16:41:16 +0000 (16:41 +0000)]
Merge "Changes to support asynchronous close interruption"
Neil Fuller [Fri, 11 Apr 2014 16:29:54 +0000 (17:29 +0100)]
Changes to support asynchronous close interruption
This change contains fixes to base from libcore change
I37de3e7d1a005a73821221e6156d10b95c595d7a
Bug:
13927110
Change-Id: I2d96e50307611c269dcf47886cd4d976854da8fc
Jorim Jaggi [Wed, 23 Apr 2014 16:24:04 +0000 (16:24 +0000)]
Merge "Move redaction logic showing from Keyguard to PhoneStatusBar."
Selim Cinek [Wed, 23 Apr 2014 15:24:37 +0000 (17:24 +0200)]
Fixed a bug where holes could occur in the new shade.
When a notification was never layouted before and it was the first
child, holes could occur in the shade when dragging down, because its
maximum allowed height was wrongly calculated.
Bug:
14080722
Change-Id: Ia10f9dd95f917d492411aec1da4ae0fc4d8f33d5
Jorim Jaggi [Wed, 23 Apr 2014 10:01:36 +0000 (12:01 +0200)]
Move redaction logic showing from Keyguard to PhoneStatusBar.
This removes a race condition and makes redaction more stable.
Change-Id: I4084cdf490c0e52fe26f45cb00524e0876a068bc
Jeff Sharkey [Sun, 6 Apr 2014 02:05:24 +0000 (19:05 -0700)]
Add directory selection to DocumentsProvider.
Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree. Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:
content://com.example/via/12/document/24/
This references document 24 by using a prefix grant given for
document 12. Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12. Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.
Extend DocumentsUI to support picking directories. Expose
createDocument() API to work with returned directories.
Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way. Override openAssetFile()
to pass through CancellationSignal. Move testing code into ApiDemos.
Bug:
10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
Jeff Sharkey [Fri, 4 Apr 2014 19:12:41 +0000 (12:12 -0700)]
Allow prefix-based Uri permission grants.
Define new FLAG_GRANT_PREFIX_URI_PERMISSION which indicates that a
Uri permission grant should also apply to any other Uris that have
matching scheme, authority, and path segments. For example, a prefix
grant for /foo/ would allow /foo/bar/ but not /foo2/.
Allow persistable and prefix grants to be issued directly through
grantUriPermission(). Relaxing persistable is fine, since it still
requires the receiver to actively take the permission.
Since exact- and prefix-match grants for the same Uri can coexist,
we track them separately using a new UriGrant key. (Consider the
case where an app separately extends READ|PREFIX and WRITE for
the same Uri: we can't let that become READ|WRITE|PREFIX.)
Fix revoke to always take away persisted permissions. Move prefix
matching logic to Uri and add tests. Add new flags to "am" tool, and
various internal uses around Intent and Context. Switch some lagging
users to ArraySet.
Bug:
10607375
Change-Id: Ia8ce2b88421ff9f2fe5a979a27a026fc445d46f1