Alan Viverette
07b900fff0
Enable adjustViewBounds on preference icon so that maxWidth is used
...
BUG: 17437258
Change-Id: I87fcd8bfb5936aaf321f65d2b181a8dfddf3c973
2014-09-10 17:19:18 -07:00
Ricardo Cervera
6c7bc3711f
am 4232a59b: am d086db30: Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs
...
* commit '4232a59b083f4062e127b4de4663348b3e08b1bd':
cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365
2014-09-11 00:19:11 +00:00
Ricardo Cervera
4bb4d66c0e
am 02afa734: am a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs
...
* commit '02afa7348b7b6b41d24f4d401d07ed3cea4b5066':
docs: Fixed minor bug in downloads class. Bug: 16948533
2014-09-11 00:19:06 +00:00
Amith Yamasani
8cd28b57ed
Apply cross-user restrictions to Shell
...
Even though Shell user is allowed to perform cross-user actions,
lock that path down if the target user has restrictions imposed by
the profile owner device admin that prevents access via adb.
If the profile owner has imposed DISALLOW_DEBUGGING_FEATURES, don't
allow the shell user to make the following types of calls:
start activities, make service calls, access content providers,
send broadcasts, block/unblock packages, clear user data, etc.
Bug: 15086577
Change-Id: I9669fc165953076f786ed51cbc17d20d6fa995c3
2014-09-10 17:15:06 -07:00
Dianne Hackborn
652973fca8
Fix issue #17414533 : update batterystats occasionally takes a couple...
...
...hundred milliseconds.
Rework the locking so that no critical paths block on the cpu collection.
Change-Id: Ie615a033f7f8b523b67abee62c581d1a8fce324c
2014-09-10 17:11:22 -07:00
Alan Viverette
5878076456
Use Calendar day of week rather than Time in SimpleMonthView
...
BUG: 17377360
Change-Id: I685f35b760c049edaa8934eccaf5ce1bbf326cf2
2014-09-10 17:09:13 -07:00
Ricardo Cervera
4232a59b08
am d086db30: Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs
...
* commit 'd086db30d0f097f34eae0a9a3d443e11cc230d62':
cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365
2014-09-11 00:06:13 +00:00
Ricardo Cervera
02afa7348b
am a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs
...
* commit 'a6c12f0189c92b556fd7c3af3d8466d9b6d828c9':
docs: Fixed minor bug in downloads class. Bug: 16948533
2014-09-11 00:06:10 +00:00
ztenghui
512e643ce8
Re-triangulate the spot shadow.
...
Fix the valid umbra detection.
This looks better b/c every vertex will have one ray shooting at it, such that
we don't miss the corner.
This performs better too, due to the polygon intersection is removed and less ray
intersection. 2x performance for rect and circle for spot shadow in test app.
b/17288227
b/15598793
b/16712006
Change-Id: I4a5ee397b9e192e93c8e35e6260b499e3e38a6f4
2014-09-10 17:05:59 -07:00
Deepanshu Gupta
145bc2d067
LayoutLib: support font weights.
...
Also fixes a shader delegate method.
Change-Id: I86be80ab55d04760084d5bf39235f2ee4de7be23
2014-09-10 17:01:16 -07:00
Ricardo Cervera
d086db30d0
Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs
2014-09-10 23:57:47 +00:00
Ricardo Cervera
a6c12f0189
Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs
2014-09-10 23:57:16 +00:00
Alan Viverette
c3a63c1fbb
Copy opaque over shape in GradientDrawable copy constructor
...
BUG: 17433604
Change-Id: I8eeba8bd68930db178545a3b25e29c3c45ae1f79
2014-09-10 16:54:02 -07:00
Craig Stout
e988ee1eb2
Omit appearing views that have a parent that is also appearing.
...
b/17460766
Change-Id: Ib3fe619e271688c93a5cd4cb4d557e6cca5baa34
2014-09-10 23:44:30 +00:00
Alan Viverette
db22bddf94
am 78f863c7: Merge "Fix docs and nulling behavior for TextView.setCompoundDrawables" into lmp-dev
...
* commit '78f863c7c00948817ede61ec59e47c990009b00d':
Fix docs and nulling behavior for TextView.setCompoundDrawables
2014-09-10 23:39:02 +00:00
Alan Viverette
8dbfafd5fa
am 8b5ef83e: Merge "Make SearchView styles public, remove public Holo styles added in L" into lmp-dev
...
* commit '8b5ef83e1ba6ae3584d041654726315e996fe2d5':
Make SearchView styles public, remove public Holo styles added in L
2014-09-10 23:33:30 +00:00
Alan Viverette
730f9ca351
am 38669745: Merge "Only force drawing in RippleDrawable when necessary" into lmp-dev
...
* commit '38669745510256efb4372c498160d6a1e7d302f8':
Only force drawing in RippleDrawable when necessary
2014-09-10 23:33:25 +00:00
Alan Viverette
593f2d33bb
Merge "Fix docs and nulling behavior for TextView.setCompoundDrawables" into lmp-dev
2014-09-10 23:31:04 +00:00
Alan Viverette
7ff0270e7d
Merge "Make SearchView styles public, remove public Holo styles added in L" into lmp-dev
2014-09-10 23:29:13 +00:00
Chris Craik
fc6584f311
am 093e3412: Merge "Additional layer logging" into lmp-dev
...
* commit '093e341206df8a3d78e2f4b4247a5fbd68ef37f5':
Additional layer logging
2014-09-10 23:28:49 +00:00
ztenghui
2e17d2b232
Bring back the fillAlpha and strokeAlpha.
...
At the same time, remove the group alpha since we did not follow the convention
that group's alpha should apply together, not separately to each elements.
b/17393626
Change-Id: Idfc071414213583924961dc8ea760d6fb317873c
2014-09-10 16:26:48 -07:00
Alan Viverette
5aaa7788d5
Merge "Only force drawing in RippleDrawable when necessary" into lmp-dev
2014-09-10 23:26:06 +00:00
Dianne Hackborn
192679a7d3
Fix issue #17428001 : Fix revokeUriPermissions
...
You can now revoke permissions that were granted to you.
Change-Id: I9a1872059edc715b10bbd2d653e45420d43331c3
2014-09-10 16:20:24 -07:00
Chris Craik
12981923b8
Merge "Additional layer logging" into lmp-dev
2014-09-10 23:19:08 +00:00
Svetoslav
212a8bf326
am a6b5869f: Merge "Fix a crash in print spooler." into lmp-dev
...
* commit 'a6b5869f409f9674ef046e8f997e5f97b71b794a':
Fix a crash in print spooler.
2014-09-10 23:10:46 +00:00
Svetoslav
993137dcdc
am 930f4fe4: Merge "Accessibilty support for the print UI." into lmp-dev
...
* commit '930f4fe4cb27f9363d177848f4f832b4a79d2819':
Accessibilty support for the print UI.
2014-09-10 23:10:41 +00:00
Chris Craik
bfd1cd6209
Additional layer logging
...
bug:17208461
Track layer's last known state.
Change-Id: Ic1799191f5839a1d6cc56f598f2ac2671dc27a6f
2014-09-10 16:10:24 -07:00
Alan Viverette
362f984df3
Make SearchView styles public, remove public Holo styles added in L
...
We shouldn't adding styles for a deprecated theme. Also this cleans up
the removed public resources for easier deletion later.
BUG: 17455273
Change-Id: I2c5caf354aab91463702f25c38f0dd29c153ba44
2014-09-10 16:05:35 -07:00
Svetoslav
e03ddd0bcc
Merge "Fix a crash in print spooler." into lmp-dev
2014-09-10 23:00:42 +00:00
Svetoslav
c65510a7bc
Merge "Accessibilty support for the print UI." into lmp-dev
2014-09-10 22:59:50 +00:00
Jeff Sharkey
4ef7b1442a
am bed348e3: Merge "Manage mode shouldn\'t block for other providers." into lmp-dev
...
* commit 'bed348e3f1090417df2694d394ad11ef07a1e44a':
Manage mode shouldn't block for other providers.
2014-09-10 22:45:34 +00:00
Eric Laurent
ad6491a0cc
am 0b381432: Merge "AudioEffect JNI: fix queryEffects()" into lmp-dev
...
* commit '0b381432c45fd7918bef8f3ba8f0a97e28687951':
AudioEffect JNI: fix queryEffects()
2014-09-10 22:45:29 +00:00
Jeff Sharkey
2e52871211
Merge "Manage mode shouldn't block for other providers." into lmp-dev
2014-09-10 22:39:45 +00:00
Eric Laurent
ea9aa9a282
Merge "AudioEffect JNI: fix queryEffects()" into lmp-dev
2014-09-10 22:37:26 +00:00
Jeff Sharkey
c9d7150680
Manage mode shouldn't block for other providers.
...
When loading DocumentsUI in management mode (for Downloads), we
normally focus on a single authority and let the other providers
keep loading async. However, when one of the providers kicks a
change notification, we end up blocking the main thread.
Simple fix is to move the blocking into the AsyncTask.
Bug: 17452691
Change-Id: Ie5212ad825b7df719690b29941c9ae9ba2cabe4b
2014-09-10 15:27:59 -07:00
Xin Guan
2bcb97bfb5
Using the correct package name for ContentResolver
...
Change-Id: I0518391f7262c78043fbd42ddfefef0f2451382c
2014-09-10 15:19:16 -07:00
Eric Laurent
4fc28d78cb
AudioEffect JNI: fix queryEffects()
...
Some effects supported by the platform may not be
returned to JAVA layer because not visible by applications.
The size of the array of effect descriptors
returned must be adjusted so that no entry in the array is null.
Bug: 17453177.
Change-Id: I3baaacf24bcb0fa45ce50461a1ac3d6eaa67f4b9
2014-09-10 15:05:03 -07:00
Adam Lesinski
65e76d1200
Output recent configs in am get-config command
...
Change-Id: Ic516e73d2e72ac0dc3136f7226cedd851fe22b85
2014-09-10 15:02:59 -07:00
Svetoslav
3ef8e203c8
Fix a crash in print spooler.
...
1. Leftover code was setting the state to configuring
before initialization is complete.
2. We were not cancelling the print job if cancelled
when initializing.
3. The remote print document was cancelled even if
doing nothing.
bug:17451600
Change-Id: I79a80b723af8537da260012470748b4e8831fd9e
2014-09-10 15:00:11 -07:00
Dianne Hackborn
92a5b0d59f
Fix issue #16794553 : Duplicate ArrayMap entries in Bundle...
...
...can lead to launching of un-exported activities
We now validate the array map after unparcelling to make sure there
are no duplicate keys.
And to make up for the performance overhead this introduces, I switched
the parcelling/unparcelling code to write keys as explicit string
objects rather than generic values. There was no reason to use generic
values since the write method itself only accepts an array map with
String keys.
Change-Id: I57bda9eb79ceaaa9c1b94ad49d9e462b52102149
(cherry picked from commit cee4cdad307071a8ff9a3e2189bf9e6fcc417222)
2014-09-10 21:55:27 +00:00
George Mount
70e865972e
am 0b46b913: Merge "Fix ArrayIndexOutOfBoundsException." into lmp-dev
...
* commit '0b46b9133b6c7d19c316d9d8ae472aafdfce4029':
Fix ArrayIndexOutOfBoundsException.
2014-09-10 21:49:16 +00:00
Tao Bai
2ca2501f5f
am 3350edac: Merge "Revise createIntent and parseResult API." into lmp-dev
...
* commit '3350edacefea92e2dfb5ad07a7b719334db8f157':
Revise createIntent and parseResult API.
2014-09-10 21:49:12 +00:00
George Mount
05c4f7ad76
Merge "Fix ArrayIndexOutOfBoundsException." into lmp-dev
2014-09-10 21:47:58 +00:00
John Spurlock
4829719465
am 1f35a9b6: Merge "QS: Fix NPE path inside cell tile." into lmp-dev
...
* commit '1f35a9b62db9cb420dd69676f1c4b7c18b6f01ba':
QS: Fix NPE path inside cell tile.
2014-09-10 21:44:30 +00:00
Craig Mautner
bb869ba791
am cef60b6a: Merge "Wait for animation complete before completing boot" into lmp-dev
...
* commit 'cef60b6ac6e490803a1b14d4a4214e097cc5d269':
Wait for animation complete before completing boot
2014-09-10 21:44:25 +00:00
Nancy Chen
74d99a1498
am 61922585: Merge "Add docs to Conference object." into lmp-dev
...
* commit '61922585c8e03bbbfe5776b4cbf6c272994dfb7b':
Add docs to Conference object.
2014-09-10 21:44:20 +00:00
Tao Bai
bebc56209d
Merge "Revise createIntent and parseResult API." into lmp-dev
2014-09-10 21:43:04 +00:00
John Spurlock
66c0d0cb8c
Merge "QS: Fix NPE path inside cell tile." into lmp-dev
2014-09-10 21:40:43 +00:00
John Spurlock
f7f00ea9d3
QS: Fix NPE path inside cell tile.
...
Bug:17456632
Change-Id: Ifc859cf8c1620152fd333d3a92bcd1a47ac1d7e7
2014-09-10 17:34:56 -04:00
Craig Mautner
ebcd9189e3
Merge "Wait for animation complete before completing boot" into lmp-dev
2014-09-10 21:33:43 +00:00