Raph Levien
c1f5756c23
am 1aa52487: am 6c072401: Merge "Fix for bug 8500202: Right-to-left text not showing in list view" into jb-mr2-dev
...
* commit '1aa524878591dce809000e7263378138ccd6a25a':
Fix for bug 8500202: Right-to-left text not showing in list view
2013-04-12 13:15:37 -07:00
Raph Levien
6c0724010f
Merge "Fix for bug 8500202: Right-to-left text not showing in list view" into jb-mr2-dev
2013-04-12 20:08:33 +00:00
Raph Levien
f5cf6c9d44
Fix for bug 8500202: Right-to-left text not showing in list view
...
In single line mode, changing the text from LTR to RTL (or vice versa)
affects the alignment, which in turn means that bringTextIntoView is
needed to update the scrolling. A registerForPredraw should be done to
make this happen, but it was missing. This patch tests explicitly for
direction changes in this case, and schedules a predraw if so.
Change-Id: I16e0e23141c244dc8adc00ea8306dfe4c9bf487d
2013-04-12 11:42:25 -07:00
Adam Powell
96694ee264
am 4348fcdd: am 8d06cc6d: Merge "Permit null adapters in Spinners" into jb-mr2-dev
...
* commit '4348fcdddac18b6833f04f8548573a1e033c05d1':
Permit null adapters in Spinners
2013-04-10 15:27:02 -07:00
Adam Powell
72d574cbe0
Permit null adapters in Spinners
...
Bug 8538144
Change-Id: I83f0ae78ce15f46827fb721cd0df1972b7d9d198
2013-04-10 11:27:08 -07:00
Adam Powell
dc614479fe
am a26ec11a: am 1e1ccfb8: Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev
...
* commit 'a26ec11a1e5e95bd7704be59d75145ba48d1ee6d':
Fix a monkey bug with AbsListView data set observers
2013-04-09 18:58:06 -07:00
Adam Powell
bd1dd0d51a
Fix a monkey bug with AbsListView data set observers
...
Several conditions can cause an AbsListView's data set observer to be
removed and nulled out. If for some reason the view receives duplicate
onDetachedFromWindow events this could cause AbsListView to attempt to
unregister a null observer. Skip this unregister process if this
happens.
Bug 7088152
Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d
2013-04-09 17:46:15 -07:00
Michael Wright
f4bb4a2e7d
am b74df06f: am 605994d6: Merge "Fix off by one in ListView\'s upward focus traversal" into jb-mr2-dev
...
* commit 'b74df06f9c8a7b691fae6e29c1e7c4486168ad8f':
Fix off by one in ListView's upward focus traversal
2013-04-08 17:05:44 -07:00
Michael Wright
b482a001f1
Fix off by one in ListView's upward focus traversal
...
Bug: 7985315
Change-Id: Ic67c8e346d6b51a5cfb05cc7d0c2b145b591b2db
2013-04-08 14:40:12 -07:00
Nick Kralevich
9babf58c30
am c2fba075: am 8e181c56: Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
...
* commit 'c2fba0750df431bb44a6873f04aac2d3e8e75de3':
AppSecurityPermissions: minor UI changes
2013-04-08 13:17:24 -07:00
Nick Kralevich
8e181c56b3
Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
2013-04-08 20:08:59 +00:00
Romain Guy
50dde857ed
am 0899f11d: am dcaa9436: Merge "Always take padding and margins into account Bug #8565842 " into jb-mr2-dev
...
* commit '0899f11db1f10b1ac664cb4bb62b829ea464cac8':
Always take padding and margins into account Bug #8565842
2013-04-08 13:04:41 -07:00
Romain Guy
76d59a3b7b
Always take padding and margins into account
...
Bug #8565842
Change-Id: I8ee398b5c36b3011950265eb7e22cc8338f1aeee
2013-04-08 12:56:15 -07:00
Nick Kralevich
98cbcf1b50
AppSecurityPermissions: minor UI changes
...
1) Make the box with the permission really go away when a
permission is revoked, not just invisible.
2) Change the order of the buttons, making the negative
button the "revoke" button, and the positive button "ok".
Change-Id: I73694583cbd014d3820f8df6c6b770caae299499
2013-04-08 10:02:08 -07:00
Nick Kralevich
1a0a2c8e77
am b21b2c38: am a56b78dc: fix build
...
* commit 'b21b2c38e54b655a06aeb2d810438c7bd2413637':
fix build
2013-04-07 11:20:56 -07:00
Nick Kralevich
a56b78dcd1
fix build
...
Change-Id: I7f3b8a4df84630f40f5a3f19434df86b6287fb75
2013-04-07 11:13:16 -07:00
Nick Kralevich
e4037e4fa4
am 16843d84: am d7c4186a: Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev
...
* commit '16843d84889ec4904b3ddef5d2f131efebfc433c':
AppSecurityPermissions: add support for revoking permissions
2013-04-07 11:02:32 -07:00
Nick Kralevich
ddfbe00b66
AppSecurityPermissions: add support for revoking permissions
...
Add UI support for revoking optional permissions. When the user
taps on an optional permission, two new boxes will appear:
[Cancel] | [Revoke]
Selecting [Revoke] will revoke the permission from the app.
The [Cancel] / [Revoke] options are only shown for apps which support
optional permissions.
Bug: 8332307
Change-Id: I27e374773747737e3a6d7f48ea1448a0178e3393
2013-04-05 18:42:03 -07:00
kmccormick
c9728cfa2a
am 22da6f04: am e10b600d: am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
...
* commit '22da6f04b33173be9e6aacabc29869998395d271':
Doc update: unterminated code tags
2013-04-03 18:14:08 -07:00
kmccormick
e10b600d5d
am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
...
* commit '984f94ee4c4ef0196d9b2c149d0a42f20b72bebf':
Doc update: unterminated code tags
2013-04-03 18:06:40 -07:00
kmccormick
984f94ee4c
am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
...
* commit 'f29ca256a4340a3d550d2c4a39a2e6a29a3ce850':
Doc update: unterminated code tags
2013-04-03 18:03:00 -07:00
kmccormick
f29ca256a4
am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
...
* commit '57b73b4a1d6ea84ae42c407ecb258829ab8dfa2c':
Doc update: unterminated code tags
2013-04-03 18:00:11 -07:00
kmccormick
43d5abbf03
Doc update: unterminated code tags
...
"Bug: 7250069"
Change-Id: I4c3eca8eacad6d0aced9f38788726ba95b914d5d
2013-04-03 17:43:44 -07:00
Jeff Sharkey
5c1994eeff
am 04e740a6: am 0f8e8b03: Merge "Warn when exposing file:// Uris beyond a process." into jb-mr2-dev
...
* commit '04e740a65e2399c4a4b211408bd84f2d545d9f4a':
Warn when exposing file:// Uris beyond a process.
2013-04-03 16:33:52 -07:00
Jeff Sharkey
a14acd20b8
Warn when exposing file:// Uris beyond a process.
...
Check for file:// Uris inside Intents, ClipData, Notifications and
RemoteViews when StrictMode option is enabled.
Also introduces Intent.prepareToLeaveProcess() to uniformly handle
Intents about to leave an app process.
Bug: 8529070
Change-Id: I8efb43877cbc5f21eb029fc6492b3ee1415059ef
2013-04-03 11:45:44 -07:00
Nick Kralevich
1c63fd4a94
am 7306da90: am 4b254881: Merge "AppSecurityPermissions: Add isGranted to isDisplayablePermission" into jb-mr2-dev
...
* commit '7306da907563953dda5a032fc5c11ad3e1f1a9de':
AppSecurityPermissions: Add isGranted to isDisplayablePermission
2013-03-27 09:24:33 -07:00
Nick Kralevich
4b2548815d
Merge "AppSecurityPermissions: Add isGranted to isDisplayablePermission" into jb-mr2-dev
2013-03-27 16:20:26 +00:00
Fabrice Di Meglio
9a8c46f64e
am fc7a1020: am a803b094: Merge "Fix bug #8480245 ViewGroup layout margins can be wrong in RTL mode" into jb-mr2-dev
...
* commit 'fc7a1020716d86204e7190b899a2e30fba4e9055':
Fix bug #8480245 ViewGroup layout margins can be wrong in RTL mode
2013-03-26 17:51:06 -07:00
Fabrice Di Meglio
0072f64939
Fix bug #8480245 ViewGroup layout margins can be wrong in RTL mode
...
- fix resolution of MarginLayoutParams
- update related RelativeLayout code
Change-Id: I261f127a8897f60d316fed2a73e6e76020e542cc
2013-03-26 17:27:33 -07:00
Nick Kralevich
7a8c135177
AppSecurityPermissions: Add isGranted to isDisplayablePermission
...
Modify isDisplayablePermission to display a permission if the
app update will grant a new optional permission to the app.
Change-Id: Ic647826b0c48f9f7ec8e4f69b90197211f83278d
2013-03-26 17:18:32 -07:00
Fabrice Di Meglio
07eb51ece0
am 47479a55: am 04c710ad: Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
...
* commit '47479a55562bb3ffc8927ab4a62de73948b1bac1':
Fix bug #8200928 ExpandableListView should be RTL-aware
2013-03-26 00:33:26 +00:00
Fabrice Di Meglio
04c710ad9d
Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
2013-03-26 00:27:22 +00:00
Nick Kralevich
2e3ead4b8c
am 2e53c2a8: am c1905339: Merge "AppSecurityPermissions: Modify isDisplayablePermission" into jb-mr2-dev
...
* commit '2e53c2a80bb9e059182a321367aad1d7ab0b19ae':
AppSecurityPermissions: Modify isDisplayablePermission
2013-03-25 21:37:08 +00:00
Nick Kralevich
22139669ab
am 1076e13d: am b07220c8: Merge "Remove dead code." into jb-mr2-dev
...
* commit '1076e13d8126aa349f68545b7d08a3de0c43c8ea':
Remove dead code.
2013-03-25 21:32:38 +00:00
Nick Kralevich
a5043ed7ea
AppSecurityPermissions: Modify isDisplayablePermission
...
Add optional permission support to isDisplayablePermission.
A permission is displayable if it's required, or was previously
granted to the app.
Currently, this change is a no-op. The package parser code
does not currently honor <uses-permission android:required="false"> in
the application's manifest, and assumes a permission is always required.
This change sets the ground for future optional permissions work.
Change-Id: I2ec4a49adbfab9980e116ed43354f16bdeaa301d
2013-03-25 14:28:30 -07:00
Nick Kralevich
d6182f993d
Remove dead code.
...
This code is never called.
Change-Id: I2ed3fee93004e967bfb2a3080106c3950bf43ce2
2013-03-25 11:43:19 -07:00
Nick Kralevich
e1242f9980
am 7d2a4b41: am 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev
...
* commit '7d2a4b41393d3a774a403e29ebdd7eec92777f03':
AppSecurityPermissions: minor code cleanup
2013-03-25 17:44:41 +00:00
Nick Kralevich
10ac1d125a
AppSecurityPermissions: minor code cleanup
...
Convert more instance variables to private.
Delete some dead code.
Simplify some code.
Change-Id: Iedd55857138b71b2915b9886128adfcd9e4b3c57
2013-03-24 15:49:33 -07:00
Fabrice Di Meglio
f4efad0551
Fix bug #8200928 ExpandableListView should be RTL-aware
...
- add indicatorStart/indicatorEnd and childIndicatorStart/childIndicatorEnd properties
Change-Id: I1ee67e47798bbcb31670cc9afde3ccac68338d94
2013-03-22 13:46:08 -07:00
Fabrice Di Meglio
69ad42a6c1
am b91fb8c6: am 36fb0166: Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
...
* commit 'b91fb8c665e9bbdf18d66c0817278e20a97791d8':
Fix bug #8200928 ExpandableListView should be RTL-aware
2013-03-22 01:27:32 +00:00
Adam Powell
f2bfed0d68
am 6338eb11: am ef793669: Merge "Fix a stability regression in ListView arrow scrolling" into jb-mr2-dev
...
* commit '6338eb1165d2d932a90738fea1f6d7be6a7fa3aa':
Fix a stability regression in ListView arrow scrolling
2013-03-22 01:20:21 +00:00
Fabrice Di Meglio
36fb0166a3
Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
2013-03-22 01:20:15 +00:00
Adam Powell
04fb1a450f
am 7b8dfeb6: am 86a1a245: Merge "Revert "Revert "Fix ListView is not scrolled properly with arrows""" into jb-mr2-dev
...
* commit '7b8dfeb6ad1036506403fdb7b523db8ca3c2c633':
Revert "Revert "Fix ListView is not scrolled properly with arrows""
2013-03-22 01:16:49 +00:00
Adam Powell
2a93911b87
Fix a stability regression in ListView arrow scrolling
...
The earlier patch 3cf7b3c59 introduced a stability regression. Perform
the appropriate bounds checking alongside the fix it implements.
Bug 8264185
Change-Id: I943d6c05bacdd777f89243fdac97788b16639dc6
2013-03-21 17:08:38 -07:00
Fabrice Di Meglio
605c5af9c8
Fix bug #8200928 ExpandableListView should be RTL-aware
...
- draw the group and child indicator at the correct position when in RTL mode
Change-Id: Ib346ae59f17c129fc59b76cd7fcc36fbdb86e499
2013-03-21 16:10:13 -07:00
Justin Ho
1ad11b9c6c
Revert "Revert "Fix ListView is not scrolled properly with arrows""
...
This reverts commit 3cf7b3c592 .
2013-03-21 14:21:30 -07:00
Michael Jurka
a383eba1cc
am 953a9466: am 6812efd2: Merge "Make hasOverlappingRendering() method more accurate" into jb-mr2-dev
...
* commit '953a94662114933ee81ad197e6a70ffc3f45a289':
Make hasOverlappingRendering() method more accurate
2013-03-21 17:09:33 +00:00
Michael Jurka
0931a8516a
Make hasOverlappingRendering() method more accurate
...
Bug: 8439502
Change-Id: I80075eddf6abc7999b70e665e692d88b81d5f087
2013-03-21 16:12:35 +01:00
Fabrice Di Meglio
3807312e9b
am 0bcec06b: am 19eceaad: Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev
...
* commit '0bcec06b24e7bc67ab4922f6bb18e6bc7737ba69':
Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies
2013-03-20 22:32:45 +00:00
Fabrice Di Meglio
19eceaadd7
Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev
2013-03-20 22:27:37 +00:00