Chris Craik
7d5dda4dca
Revert "Avoid throwing ISE in Canvas#restore underflow"
...
Additionally, rewrite the exception message for clarity.
bug:19951475
bug:19829784
This reverts commit 14cfb6db33264f1c3b127ccf4e45e3ac86527804.
Change-Id: Ie70a49a8d3957025c4b2e47d4ef9f4abd4ded133
2015-03-30 13:31:11 -07:00
Diego Perez
bf0adf3ba8
Merge "More layoutlib delegate native methods to do text rendering."
2015-03-26 15:35:10 +00:00
Rubin Xu
6a38e43b8b
Fix build breakage by ag/661236
...
Change-Id: Ia42440f238d76066f449dccc463b0485ab558c4d
2015-03-26 14:47:45 +00:00
Diego Perez
6386b8dae7
More layoutlib delegate native methods to do text rendering.
...
Moving some more methods to measure the text and compute the line
breaks.
The missing methods were causing crashes when running layoutlib from
master.
Change-Id: I910e1509836186fcff5cdd40c1dc38466b44c434
2015-03-26 14:39:12 +00:00
Rubin Xu
a55c27a79b
Merge "Change doc for device initializer agent extra's type."
2015-03-26 13:16:07 +00:00
Rubin Xu
44ef750bd4
Change doc for device initializer agent extra's type.
...
Change the DIA extra's type to ComponentName, making it consistent with
EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME.
Bug: 19891726
Change-Id: Ib41a9d22ff22e114cde80010fbc41db26f2b5f82
2015-03-26 12:11:04 +00:00
Svet Ganov
d5752bdc8f
Properly handle system app permissions - for real.
...
System apps targeting SDK greater than Lollipop MR1 get runtime
permissions by default but if the user takes them away we should
not regrant them. To do that we keep track for each package which
user ids were handled in the last permissions update. If a new
user id has appeared we grant runtime permissions for this user
to the sys package. When we start clean (i.e. first boot) the
sys packages were updated for no user so we grant the runtime
perms for the owner. When reading a package from packages.xml
we set the updated user ids to all users ids on the device as
the state in the xml reflects the latest state before a shutdown,
i.e. the last state when permissions were updated.
Change-Id: I93135baa57950405a357b139c59f432cf02f0bc6
2015-03-25 23:48:17 -07:00
Skuhne
4976d6b525
Merge "Fixing layout button in caption and adding quarter functionality"
2015-03-26 02:56:47 +00:00
Adam Powell
9c66583379
Merge "Fix default gravity for View foreground drawables"
2015-03-26 02:17:49 +00:00
Adam Powell
6579f5090a
Fix default gravity for View foreground drawables
...
Use the expected default gravity of Gravity.FILL as FrameLayout used
to do. Reset the bounds correctly when a new drawable is set.
Bug 19922909
Change-Id: I80181923c37e33ba308e364e322d84f3cc86e93b
2015-03-25 19:14:12 -07:00
Jinsuk Kim
1ad5cc3c23
Merge "Enable selecting device whose power status is not on"
2015-03-26 01:24:20 +00:00
Nick Kralevich
005e9b8195
Merge "UsbDeviceManager: delete obsolete code"
2015-03-26 00:33:27 +00:00
Skuhne
b9026ff592
Fixing layout button in caption and adding quarter functionality
...
Furthermore limit the number of arrangements to the device in use.
BUG: 19893373
Change-Id: I21d56e57338cc45b09ca45a6048a527548371991
2015-03-25 17:25:08 -07:00
Yu.Ishihara
6b2a6177aa
Enable selecting device whose power status is not on
...
DeviceSelect() returns immediately if the active routing path
is selected even if the device is turned off and not displaying
anything.
This fix allows device to be selected again if target device's
power status is not on in order to wake it up, hence improve
the user experience.
Bug: 19724238
Change-Id: I3b62b9aa0aecaf2957a445d82e966d52b9be6879
2015-03-26 09:10:44 +09:00
Filip Gruszczynski
1c6bfd6944
am 70ef3af8: am 2493d947: am 9001f14b: Merge "Don\'t use windowOutsetBottom for insets, depend on display padding only." into lmp-mr1-modular-dev
...
* commit '70ef3af8d953091e3595de63a9a2f68a064c2352':
Don't use windowOutsetBottom for insets, depend on display padding only.
2015-03-25 23:41:15 +00:00
Amith Yamasani
dfb1c2f205
am 17b03239: am 8562a7a1: am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev
...
* commit '17b03239d3152cbcf450ec66f077f07e4c1870e1':
Fix NPE if FPE service does not exist.
2015-03-25 23:41:06 +00:00
Steve McKay
5093cd36a7
Merge "Implement a standalone file manager activity."
2015-03-25 23:30:05 +00:00
P.Y. Laligand
c40e64a412
Merge "Added MediaDescription#getMediaUri."
2015-03-25 23:19:31 +00:00
P.Y. Laligand
6fbcc2c01b
Added MediaDescription#getMediaUri.
...
b/19622238
Change-Id: Ic5f14a2bfc8db986249b8d2522a476a9107748bb
2015-03-25 16:11:47 -07:00
Nick Kralevich
ad8fc70c6a
UsbDeviceManager: delete obsolete code
...
We stopped using persist.service.adb.enable almost 4 years ago
(commit 02e4569b5f126ca916a7473117ddd17d4f2ccbbb). Delete backwards
compatibility code.
Change-Id: Ic656e834e79361b27ca2afcd3705d0523c23717d
2015-03-25 16:08:21 -07:00
Filip Gruszczynski
70ef3af8d9
am 2493d947: am 9001f14b: Merge "Don\'t use windowOutsetBottom for insets, depend on display padding only." into lmp-mr1-modular-dev
...
* commit '2493d947241c209ad6fcd562e998c320ef4c596e':
Don't use windowOutsetBottom for insets, depend on display padding only.
2015-03-25 22:51:20 +00:00
Filip Gruszczynski
2493d94724
am 9001f14b: Merge "Don\'t use windowOutsetBottom for insets, depend on display padding only." into lmp-mr1-modular-dev
...
* commit '9001f14b205aba4d9fa236611b122492b92d3b4a':
Don't use windowOutsetBottom for insets, depend on display padding only.
2015-03-25 22:43:02 +00:00
Filip Gruszczynski
9001f14b20
Merge "Don't use windowOutsetBottom for insets, depend on display padding only." into lmp-mr1-modular-dev
2015-03-25 22:37:38 +00:00
Amith Yamasani
17b03239d3
am 8562a7a1: am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev
...
* commit '8562a7a110a0b012c33047884594cd4c449b27d0':
Fix NPE if FPE service does not exist.
2015-03-25 22:32:52 +00:00
Amith Yamasani
8562a7a110
am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev
...
* commit 'eedf2fe04a94c13c4548082a3675c6888293ef4e':
Fix NPE if FPE service does not exist.
2015-03-25 22:25:51 +00:00
Bryce Lee
c14b733f62
am dec133d5: (-s ours) am 0ad58dec: am 5f11a1af: add correct exception throw declaration to isScreenBrightnessBoosted.
...
* commit 'dec133d5fd4dafb6f711474206c92f5a16d51621':
add correct exception throw declaration to isScreenBrightnessBoosted.
2015-03-25 22:21:20 +00:00
Amith Yamasani
eedf2fe04a
am 0afd1905: Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev
...
* commit '0afd1905b59446fc471680325bcbea802bb37c5c':
Fix NPE if FPE service does not exist.
2015-03-25 22:19:20 +00:00
Amith Yamasani
0afd1905b5
Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev
2015-03-25 22:12:46 +00:00
ztenghui
40fa5ea474
Merge "Don't draw when bounds are negative"
2015-03-25 22:12:01 +00:00
Bryce Lee
dec133d5fd
am 0ad58dec: am 5f11a1af: add correct exception throw declaration to isScreenBrightnessBoosted.
...
* commit '0ad58deca1bea95ea052ec2c4257bdf62d53fd54':
add correct exception throw declaration to isScreenBrightnessBoosted.
2015-03-25 22:05:12 +00:00
ztenghui
34c623cbf3
Don't draw when bounds are negative
...
b/19922909
Change-Id: I68559ed683031f57538439e0a3e4979fe9f430a5
2015-03-25 15:01:58 -07:00
P.Y. Laligand
a130c1a74d
Merge "Added MediaController.TransportControls#playFromUri."
2015-03-25 21:59:12 +00:00
Alan Viverette
26c44eeecf
Add accessibility action for making a node visible on screen
...
Bug: 19872425
Change-Id: I39c971f949d08d6573da2e5567dca1e187a17d7e
2015-03-25 14:54:13 -07:00
P.Y. Laligand
c2045470a3
Added MediaController.TransportControls#playFromUri.
...
b/19622238
Change-Id: I75d6258ccafb2266d5f8bdf3a279b3a2e9ef2bbf
2015-03-25 14:51:50 -07:00
Steve McKay
e934ce6f84
Implement a standalone file manager activity.
...
Change-Id: Iaf86ef416b979cea4ab3890d3a26f09741392c3d
2015-03-25 14:38:56 -07:00
Dianne Hackborn
73484d8b66
Merge "Battery stats: wakeup alarm tracking, general cleanup."
2015-03-25 21:27:54 +00:00
Alan Viverette
527b45376a
am 3a79e434: am a0d3d003: am 5fc9b336: Merge "Consider RTL layout in DPAD navigation in Gallery"
...
* commit '3a79e434a6e840f47a47387743385a2cd5faab54':
Consider RTL layout in DPAD navigation in Gallery
2015-03-25 21:08:51 +00:00
Chad Brubaker
7eb1c21051
am b8d872fb: am 5a01999e: am 704aa5ae: Merge "Use correct tag type for RSA exponent"
...
* commit 'b8d872fbde849150083836f0d5be3f6fe1c03fb9':
Use correct tag type for RSA exponent
2015-03-25 21:08:43 +00:00
Chad Brubaker
b09f1083e1
am 6558d4e7: am ee468ea8: am 6326f964: Merge "Make application/client id an object"
...
* commit '6558d4e75e8a129b1b1a78824ed091962a2574ef':
Make application/client id an object
2015-03-25 21:08:35 +00:00
Alex Klyubin
1d321fa14f
am 2faa736e: am 6a7ac540: am a9f62866: Merge "Framework\'s NetworkSecurityPolicy delegates to libcore\'s one."
...
* commit '2faa736e7dfab88bfdf1ff7022397af182815503':
Framework's NetworkSecurityPolicy delegates to libcore's one.
2015-03-25 21:07:48 +00:00
Chad Brubaker
85d787d336
am c217adaf: am 9db6e4d7: am 5aeb0853: Merge "Enforce tag types in KeymasterArgument classes"
...
* commit 'c217adaf6756003684d195713dda8a9b215f5dbc':
Enforce tag types in KeymasterArgument classes
2015-03-25 21:07:41 +00:00
Alan Viverette
16802f0de2
am 46c95313: am ddb30cd3: am 7506f499: Merge "Fix to crash when clicking text link without view activity"
...
* commit '46c953138298285d9cb06a75030fc73081ccc121':
Fix to crash when clicking text link without view activity
2015-03-25 21:07:34 +00:00
Bryce Lee
aa99a1c4b6
am c6d72c46: (-s ours) am a6045ec8: am 40a4f4a6: Implement isScreenBrightnessBoosted in BridgePowerManager.
...
* commit 'c6d72c46f5fcc9c187af0e22422e5b6881ccb4a1':
Implement isScreenBrightnessBoosted in BridgePowerManager.
2015-03-25 21:07:28 +00:00
Jim Miller
982095d944
Merge "Fix the build"
2015-03-25 21:07:04 +00:00
Jim Miller
63c8c4937e
Fix the build
...
Change-Id: I15cc8d517a1713b003aad396aa5d2b29cb808338
2015-03-25 14:06:02 -07:00
Chris Craik
39c2750221
am 485c25ba: am e3abfef6: am 82f6b16e: Merge "hwui : fix memory leak due to duplicate in shadow cache"
...
* commit '485c25ba46b02393245c4c766ad059644afa7cd9':
hwui : fix memory leak due to duplicate in shadow cache
2015-03-25 20:58:56 +00:00
Mike Lockwood
be30c30d3e
Merge "MIDI Manager: remove USB peripheral MIDI device when USB is disconnected"
2015-03-25 20:49:37 +00:00
Bryce Lee
0ad58deca1
am 5f11a1af: add correct exception throw declaration to isScreenBrightnessBoosted.
...
* commit '5f11a1af572730567d9e35d6792a720585a268c6':
add correct exception throw declaration to isScreenBrightnessBoosted.
2015-03-25 20:33:53 +00:00
Alan Viverette
3a79e434a6
am a0d3d003: am 5fc9b336: Merge "Consider RTL layout in DPAD navigation in Gallery"
...
* commit 'a0d3d003c858012f9c4af2b1f84227baacec49ce':
Consider RTL layout in DPAD navigation in Gallery
2015-03-25 20:25:19 +00:00
Chad Brubaker
b8d872fbde
am 5a01999e: am 704aa5ae: Merge "Use correct tag type for RSA exponent"
...
* commit '5a01999e7b89b6f7bb2880ca86219fac1e81450d':
Use correct tag type for RSA exponent
2015-03-25 20:19:27 +00:00