Dake Gu
05d485044b
am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
...
* commit 'af6dd103bd2bb0783b9364c703c2623260496d5c':
fix ImageView.getImageMatrix()
2013-01-07 18:13:30 -08:00
Dake Gu
1ee60179bb
fix ImageView.getImageMatrix()
...
getImageMatrix() does not return "mDrawMatrix", instead it returns
mMatrix. This is not reflecting the matrix used in drawing when
Bitmap is changed and mDrawMatrix is set to null while mMatrix still
holds old invalid data.
Change-Id: If24c3118068eca70cfe15786f9715d95c4499f3b
2013-01-03 15:11:43 -08:00
Sascha Prueter
8149820c2b
am 25458528: am dd2ed93e: Merge "Handle "CODE_ALREADY_PRESENT" message from Settings app" into jb-mr1.1-dev
...
* commit '25458528f07ef9f4710e669b74b76d687bbc7645':
Handle "CODE_ALREADY_PRESENT" message from Settings app
2012-12-17 10:47:56 -08:00
Sascha Prueter
25458528f0
am dd2ed93e: Merge "Handle "CODE_ALREADY_PRESENT" message from Settings app" into jb-mr1.1-dev
...
* commit 'dd2ed93e4794dd8472593cdd21fb7e0056f11dbf':
Handle "CODE_ALREADY_PRESENT" message from Settings app
2012-12-17 10:46:04 -08:00
satok
6bad2f2fef
Handle "CODE_ALREADY_PRESENT" message from Settings app
...
Bug: 7725834
Change-Id: I85c35e73978d606edf9687e2de76c6ffc3c3ee2b
2012-12-17 15:02:04 +09:00
Mike Cleron
323bb07f76
am a5a4eb0f: am 6b922cc6: Merge "Receive a user dictionary callback from Settings application" into jb-mr1.1-dev
...
* commit 'a5a4eb0f93d4b992a1879e26e04ba803827e24ca':
Receive a user dictionary callback from Settings application
2012-12-14 11:01:55 -08:00
Mike Cleron
a5a4eb0f93
am 6b922cc6: Merge "Receive a user dictionary callback from Settings application" into jb-mr1.1-dev
...
* commit '6b922cc6d4d8221ad83b410c03eb4b8fb9fc78e2':
Receive a user dictionary callback from Settings application
2012-12-14 10:59:19 -08:00
Satoshi Kataoka
0e3849af47
Receive a user dictionary callback from Settings application
...
Bug: 7725834
The callback is sent when the user adds a word to the user dictionary.
Change-Id: Ieee9bfd50a9adbed1a769e3cd95d9cb2815c34b4
2012-12-14 17:21:43 +09:00
Adam Powell
dc4beb483e
am e7ec492f: Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
...
* commit 'e7ec492f13355888c90b3f08fbc66e49dda7ed24':
Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
2012-12-11 19:10:45 -08:00
Adam Powell
c6f05e93dc
am d22843a8: Merge "Fix regression in ListView click handling"
...
* commit 'd22843a8a8d240fc09291b1b9505d62c1f0c0f8d':
Fix regression in ListView click handling
2012-12-11 18:02:30 -08:00
Adam Powell
e7ec492f13
Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
2012-12-11 18:00:49 -08:00
Adam Powell
847be7445e
Fix regression in ListView click handling
...
Regression caused by patch a607223f34
If an item click handler results in the ListView becoming detached
from the window, the performClick runnable could be executed twice.
Null out the mTouchModeReset runnable before running the click handler
so that it is not run by the detach handler.
Change-Id: I2fab60232027bb4876f9912088e0ffb9b17d308c
2012-12-11 15:56:10 -08:00
Emma Sajic
ef2277ec58
Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
...
Fix for Issue ID 18316. Make isEmpty() return false when getCount() returns a non-zero value. So that the list cannot be considered empty when a header or footer is present.
https://code.google.com/p/android/issues/detail?id=18316
Change-Id: Ib69201e9d5ef3efcbb68ea298b8cc8ca6e027246
Signed-off-by: Emma Sajic <esajic@effectivelateralsolutions.co.uk >
2012-12-11 19:50:58 +00:00
Adam Powell
d9cb3c538f
am 8ea5ce15: Merge "Ensure running mTouchModeReset when AbsListView is detached"
...
* commit '8ea5ce15651ebc1249a3b80531773b37e6f49b8d':
Ensure running mTouchModeReset when AbsListView is detached
2012-12-07 12:21:37 -08:00
Sangkyu Lee
a607223f34
Ensure running mTouchModeReset when AbsListView is detached
...
mTouchModeReset should be executed when AbsListView is detached from window.
If not, when the AbsListView is re-attaced to window,
the child can retain a pressed state.
You can see this problem easily when you double-touch an item of
option menu very quickly.
Change-Id: I5aaa1fd5b95847efb2f5f1b5ec7cabe8eb85b237
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com >
2012-12-07 17:06:15 +09:00
Adam Cohen
b93762809b
am 224d2225: am 29cfce7a: Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev
...
* commit '224d22250862d44cca08498630fcb0e7da68912b':
Making sure to clear state related to views that are being recycled (issue 7650538)
2012-12-06 19:00:16 -08:00
Fabrice Di Meglio
7ee2f7785f
am 09329186: am b3b2922b: Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev
...
* commit '09329186eaf66b6c03d0ff5cc8df910800649b7d':
Fix bug #7649607 Hebrew text is cut off in Settings
2012-12-06 18:59:32 -08:00
Craig Mautner
29d4484dd8
am e771f3a6: am ddd75cb1: Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev
...
* commit 'e771f3a67cbca9976de6b5df6088f6c007df2914':
Fix NPE when showing Toast from system process.
2012-12-06 18:58:24 -08:00
Adam Cohen
224d222508
am 29cfce7a: Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev
...
* commit '29cfce7a387c5f1ea92a310398ed4ed213a3cf62':
Making sure to clear state related to views that are being recycled (issue 7650538)
2012-12-06 11:05:31 -08:00
Adam Cohen
29cfce7a38
Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev
2012-12-06 11:02:58 -08:00
Adam Cohen
ff06719077
Making sure to clear state related to views that are being recycled (issue 7650538)
...
Change-Id: I5161ac261f963789537d2066a472cd3036c218aa
2012-12-06 11:01:09 -08:00
Fabrice Di Meglio
09329186ea
am b3b2922b: Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev
...
* commit 'b3b2922b10650551664659eadcf9c43cf9628974':
Fix bug #7649607 Hebrew text is cut off in Settings
2012-12-05 17:20:51 -08:00
Fabrice Di Meglio
b3b2922b10
Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev
2012-12-05 17:17:35 -08:00
Craig Mautner
e771f3a67c
am ddd75cb1: Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev
...
* commit 'ddd75cb1ac225f8ffe8c78a5be8ceb589e0cda27':
Fix NPE when showing Toast from system process.
2012-12-05 12:27:58 -08:00
Craig Mautner
54ae2f389c
Fix NPE when showing Toast from system process.
...
The system process has no ApplicationContext and consequently was
returning null. Use the base Context in these cases.
Bug 7673699 fixed.
Change-Id: Ie2ab856bb0baefff44775a12bef7802320f72656
2012-12-05 09:57:44 -08:00
Amith Yamasani
368ee53f25
am f663cad2: am 6c58b155: Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev
...
* commit 'f663cad2248d5d38957f8e1408cd794c0de90202':
Make 3rd party lockscreen widgets work on secondary users
2012-12-05 06:06:02 -08:00
Amith Yamasani
f663cad224
am 6c58b155: Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev
...
* commit '6c58b155c3bdde355adb03b191e43d8eec089fb2':
Make 3rd party lockscreen widgets work on secondary users
2012-12-05 06:03:32 -08:00
Fabrice Di Meglio
4e46d0fdef
Fix bug #7649607 Hebrew text is cut off in Settings
...
- in RTL mode and wrap content, make RelativeLayout respect the width that can be passed to him
Change-Id: I6029135dede1ee80e41ae1bc2a337bf52cf24445
2012-12-04 18:13:48 -08:00
Amith Yamasani
94022e8997
Make 3rd party lockscreen widgets work on secondary users
...
If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.
Set the user id in the required places and use it to query the package information.
Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050
2012-12-04 16:25:38 -08:00
Amith Yamasani
2d332c1e89
am 3533ea3b: am 844884d8: Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev
...
* commit '3533ea3bbb0c71f1b7e7ebcb442ac4f3230bceeb':
Fix remote views cache to avoid lockscreen widget crosstalk
2012-12-03 15:15:21 -08:00
Amith Yamasani
3533ea3bbb
am 844884d8: Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev
...
* commit '844884d82e1b2339cdbf43f64445c5d550c4691c':
Fix remote views cache to avoid lockscreen widget crosstalk
2012-12-03 15:12:38 -08:00
Amith Yamasani
ac2e6dd590
Fix remote views cache to avoid lockscreen widget crosstalk
...
Bug: 7660973
RemoteViewsAdapter will now store the userId as part of the cache key
when caching remote views to optimize for orientation changes.
Change-Id: I7c4e52b3995d4f56ebfa35aa9516327e182ad892
2012-12-03 13:41:16 -08:00
Amith Yamasani
0f469f4f7e
am 32df98d5: am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen
...
* commit '32df98d52d482498d998b424684610c15098897a':
Fix crosstalk between users for widgets hosted in lockscreen
2012-11-30 18:46:45 -08:00
Amith Yamasani
32df98d52d
am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen
...
* commit 'c566b43d02596cba437e9a2723e9f989297cca72':
Fix crosstalk between users for widgets hosted in lockscreen
2012-11-30 18:44:36 -08:00
Amith Yamasani
c566b43d02
Fix crosstalk between users for widgets hosted in lockscreen
...
This was initially about the Clock widget crashing repeatedly on some
devices with multiple users. Turned out that there were race conditions
when switching users that could result in remote views of one user calling
back to the RemoteViewsAdapter in keyguard that in turn sent an incorrect widget id
to a different user's widget, resulting in a crash.
Since KeyguardHostView is instantiated in the same process for different users,
it needs to carry a user identity to pass along to AppWidgetService so that
remote views services were bound to the correct user and callbacks were attached and
detached properly.
Added some aidl calls that take the userId to do the binding properly. A more
complete fix might be needed in the future so that all calls from Keyguard carry
the user id.
Also, there was a problem in comparing host uid for secondary users, since Settings
for a secondary user has a different uid than keyguard. Not an issue on single-user
systems. Changed the host.uid comparison to accomodate for the secondary user.
Bug: 7450247
Change-Id: Idbc36e3c60023cac74174f6cb7f2b2130dd3052c
2012-11-30 17:28:08 -08:00
Fabrice Di Meglio
2e8dd459fb
am 4e1b2f44: am 20b76b9f: am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev
...
* commit '4e1b2f44e9f43b123e00eb210c9fa4ec78710782':
Fix typos in LinearLayout comments
2012-11-30 17:20:44 -08:00
Fabrice Di Meglio
4e1b2f44e9
am 20b76b9f: am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev
...
* commit '20b76b9fff076241fe305fc99be3be7ab7d10407':
Fix typos in LinearLayout comments
2012-11-30 17:18:49 -08:00
Fabrice Di Meglio
20b76b9fff
am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev
...
* commit '1e761ded55695a9d76a6f00ee9504625581e8d3a':
Fix typos in LinearLayout comments
2012-11-30 17:17:03 -08:00
Fabrice Di Meglio
1e761ded55
Merge "Fix typos in LinearLayout comments" into jb-mr1-dev
2012-11-30 17:14:11 -08:00
Fabrice Di Meglio
cd91470aad
am 146b1290: am cdc6d5cf: Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev
...
* commit '146b129075bfe879aa09888744d1ba8de06f331a':
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode
2012-11-29 14:27:05 -08:00
Fabrice Di Meglio
52c3833e20
am 07581745: am 71175f72: Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev
...
* commit '075817450c61902ecaaf4af2d96e8542123a86bd':
Fix bug #7621927 Radio button/TextView drawable regression in 4.2
2012-11-29 14:25:43 -08:00
Fabrice Di Meglio
146b129075
am cdc6d5cf: Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev
...
* commit 'cdc6d5cf88e8eb73a557052679c436e864cb1853':
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode
2012-11-28 19:50:49 -08:00
Fabrice Di Meglio
cdc6d5cf88
Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev
2012-11-28 19:08:45 -08:00
Fabrice Di Meglio
13705eda8c
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode
...
- fix onMeasure() in RTL mode: need to compute width before computing layout params
that are used for layout
- fix getRelatedView() so that it uses the resolved rules
- add some extra "final" statements
Change-Id: I7c3bf841cd18c5f77b010a9be20fa78069e88d94
2012-11-28 17:13:54 -08:00
Fabrice Di Meglio
075817450c
am 71175f72: Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev
...
* commit '71175f727bc1e094e72a410aca62392badffbf11':
Fix bug #7621927 Radio button/TextView drawable regression in 4.2
2012-11-28 15:08:12 -08:00
Fabrice Di Meglio
71175f727b
Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev
2012-11-28 15:05:55 -08:00
Fabrice Di Meglio
b878ddb56e
Fix bug #7621927 Radio button/TextView drawable regression in 4.2
...
- as we remove the 9 patch padding trick, we need also to do the correct
positioning of the radio / checkbox / star during draw
Change-Id: I02b67bef9c0f2dc1c0c65361de14ab20ce9b881d
2012-11-28 11:59:27 -08:00
Andreas Huber
8fac23f23d
am 8be8ee4c: am f0afad00: Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev
...
* commit '8be8ee4c4a2f6386680bc8c6aeb88c597d5f4dcd':
Stop caching stream duration, it might change (increase) dynamically.
2012-11-28 09:44:44 -08:00
Andreas Huber
8be8ee4c4a
am f0afad00: Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev
...
* commit 'f0afad008bf78576ff364bcd8bc93b7aa8090b34':
Stop caching stream duration, it might change (increase) dynamically.
2012-11-28 09:43:29 -08:00
Andreas Huber
585c07e9ac
Stop caching stream duration, it might change (increase) dynamically.
...
Change-Id: Ia829f47602e6961f24464da36a0162b8c1d7d6c8
related-to-bug: 6870049
2012-11-27 15:50:43 -08:00