Amith Yamasani
ec0d899b2c
am ca5d8dc2: am 14e883b2: Fix merge error
...
* commit 'ca5d8dc2c08f2bfbb0c06e9b7b9cda9776493862':
Fix merge error
2012-08-17 16:41:33 -07:00
Amith Yamasani
14e883b25e
Fix merge error
...
Didn't apply the recent API change from another CL.
Change-Id: I65ac6108909eca7ac48beabb4a8b7bbedda84249
2012-08-17 16:34:53 -07:00
Amith Yamasani
56f4a67250
am 539d2b56: am 7fdaa397: Merge "Save preferred activity info with user id." into jb-mr1-dev
...
* commit '539d2b562fa1aa8afc4c3e98209e8b4f6ab56e9c':
Save preferred activity info with user id.
2012-08-17 16:23:20 -07:00
Amith Yamasani
7fdaa3976d
Merge "Save preferred activity info with user id." into jb-mr1-dev
2012-08-17 16:19:19 -07:00
Victoria Lease
ec97b4ddb4
LocaleSpan makes Han disambiguation easy!
...
I've also provided TextView.setTextLocale() for use in single-language
TextViews.
Change-Id: I7f1b0d49a2ece957a7b9b5d65d48385bf2c2a668
2012-08-17 16:12:46 -07:00
Jonathan Dixon
1b93e278c6
am 36aa961d: am 9271fa69: Merge "Remove checkThread() from findAddress" into jb-mr1-dev
...
* commit '36aa961d29840c0103ae61f40de88f55e37eb626':
Remove checkThread() from findAddress
2012-08-17 13:34:24 -07:00
Amith Yamasani
a3f133afe8
Save preferred activity info with user id.
...
So each user can have their own set of intent resolution preferences.
ResolverActivity now launches the activity on the correct user, and
persists the preference for the correct user.
Bug: 6961905
Change-Id: I6d3a8a9af89bc649277d4fc8d0f367ee123f8392
2012-08-17 13:32:02 -07:00
Jonathan Dixon
9271fa6951
Merge "Remove checkThread() from findAddress" into jb-mr1-dev
2012-08-17 13:30:46 -07:00
Michael Jurka
4a2efa1a6e
am 76070ed3: am d2ae85d4: Merge "Adding a thumbnail scale down animation" into jb-mr1-dev
...
* commit '76070ed39749917efdd15be738f6172959b69acd':
Adding a thumbnail scale down animation
2012-08-17 13:08:09 -07:00
John Reck
b5622dad65
Remove checkThread() from findAddress
...
Bug: 6811978
This doesn't need checked thread safety - static util methods should
be thread safe.
Change-Id: Ib652d74ced66e3fa332464106a38522cd941a4cd
2012-08-17 13:05:02 -07:00
Michael Jurka
d2ae85d41e
Merge "Adding a thumbnail scale down animation" into jb-mr1-dev
2012-08-17 13:03:15 -07:00
Dianne Hackborn
7066aafa13
am 73c4e53f: am 79af1dd5: Switch public APIs to use new UserHandle class for identifying users.
...
* commit '73c4e53f0febb7ac0b454a15180ad0810950d6fe':
Switch public APIs to use new UserHandle class for identifying users.
2012-08-17 11:47:38 -07:00
Jean-Baptiste Queru
1cdcf0a727
am 0dc70504: am f1b995f9: am 21bf4657: am a688af9c: Merge "TabHost key handling corrected"
...
* commit '0dc70504cbd3cfe73b3cc02e2c733b7e5d8052c9':
TabHost key handling corrected
2012-08-17 11:03:59 -07:00
Jean-Baptiste Queru
adfd2f2b62
Merge 0dad3259
...
Change-Id: I56e33b4ff87daaf2efcd6c88fadfe96401277c42
2012-08-17 10:53:59 -07:00
Dianne Hackborn
79af1dd54c
Switch public APIs to use new UserHandle class for identifying users.
...
Gets rid of "yet another integer" confusion.
Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
2012-08-17 10:36:08 -07:00
Jean-Baptiste Queru
f1b995f9d0
am 21bf4657: am a688af9c: Merge "TabHost key handling corrected"
...
* commit '21bf465764938c5f8c82dbf6061c89e138eb73ca':
TabHost key handling corrected
2012-08-17 10:15:32 -07:00
Jean-Baptiste Queru
21bf465764
am a688af9c: Merge "TabHost key handling corrected"
...
* commit 'a688af9c6707c9c2f07cc195b072b6c14be03b63':
TabHost key handling corrected
2012-08-17 10:14:08 -07:00
Fabrice Di Meglio
54e5a825f2
Merge "Improve resolution of RTL related properties" into jb-mr1-dev
2012-08-17 10:09:39 -07:00
Jean-Baptiste Queru
a688af9c67
Merge "TabHost key handling corrected"
2012-08-17 10:02:50 -07:00
Amith Yamasani
91413e745d
am 745ec38b: am 9c38d6e5: Merge "UserHandle to UserSerialNo mapping" into jb-mr1-dev
...
* commit '745ec38bdca1e86dd0093ade4a382880fda7743a':
UserHandle to UserSerialNo mapping
2012-08-17 09:24:34 -07:00
Amith Yamasani
2a00329c6d
UserHandle to UserSerialNo mapping
...
Use AtomicFile for usermanager files.
Added a MANAGE_USERS permission that apps (signature permission) can use
to create/query/modify/remove users.
Change-Id: I5cf232232d0539e7508df8ec9b216e29c2351cd9
2012-08-17 09:06:10 -07:00
Kenny Root
133c096134
am 799ee212: am 9a994b53: am 050c87f8: am a950daf5: Merge changes Ieb566a2a,I953057cd
...
* commit '799ee2127efae8e112f333c13c3da89d1d97589d':
Use Libcore's stat instead of FileUtils#getFileStatus
Use Libcore.os.stat instead of FileUtils
2012-08-16 16:48:55 -07:00
Kenny Root
9a994b5350
am 050c87f8: am a950daf5: Merge changes Ieb566a2a,I953057cd
...
* commit '050c87f87e2a48c7bc90f5b15fb6e4e37e667286':
Use Libcore's stat instead of FileUtils#getFileStatus
Use Libcore.os.stat instead of FileUtils
2012-08-16 16:43:20 -07:00
Kenny Root
050c87f87e
am a950daf5: Merge changes Ieb566a2a,I953057cd
...
* commit 'a950daf5c14a0009c2c62e9c3e0e8d51eb0cf7d9':
Use Libcore's stat instead of FileUtils#getFileStatus
Use Libcore.os.stat instead of FileUtils
2012-08-16 16:33:40 -07:00
Chet Haase
70b9ca266b
am 562500d3: am cc48c144: Merge "Make animators more robust against ending mid-stream" into jb-mr1-dev
...
* commit '562500d3e46ee9f136b17c39d6884ac0880dbb2b':
Make animators more robust against ending mid-stream
2012-08-16 15:40:43 -07:00
Kenny Root
7abab32c00
am af101312: am 520ee7bc: am a2e8365c: am 9b0da58e: Merge "Introduce a restorecon JNI binding."
...
* commit 'af101312c880f440a2c33965e4479feaa1fd6b82':
Introduce a restorecon JNI binding.
2012-08-16 15:37:16 -07:00
Chet Haase
cc48c144bb
Merge "Make animators more robust against ending mid-stream" into jb-mr1-dev
2012-08-16 15:35:29 -07:00
Kenny Root
520ee7bcad
am a2e8365c: am 9b0da58e: Merge "Introduce a restorecon JNI binding."
...
* commit 'a2e8365cc883de0d3e56e9f4af350ecfe1b8fc4c':
Introduce a restorecon JNI binding.
2012-08-16 15:32:52 -07:00
Kenny Root
a2e8365cc8
am 9b0da58e: Merge "Introduce a restorecon JNI binding."
...
* commit '9b0da58e3a30b760de37138cdd51d20f269c383e':
Introduce a restorecon JNI binding.
2012-08-16 15:29:41 -07:00
Kenny Root
98e15e7893
Use Libcore's stat instead of FileUtils#getFileStatus
...
Remove the last user of FileUtils#getFileStatus and move it to
Libcore.os.stat instead. Then we can remove the JNI code that does the
equivalent of a stat.
Change-Id: Ieb566a2a8a17c2dd0150724b4eb3ac1cc41c823d
2012-08-16 15:27:55 -07:00
Kenny Root
786cbcacd2
Use Libcore.os.stat instead of FileUtils
...
PackageManagerService just needed to know the owner for this file, so
just use stat instead so we can remove the old JNI code.
This is the last user of FileUtils#getPermissions so just remove the
FileUtils method as well.
Change-Id: I953057cd6b9de4410f33b6f22e4bddff02fe2988
2012-08-16 15:27:55 -07:00
Jeff Sharkey
2ed2c64c73
am 849e985e: am c584b65b: Merge "Multi-user external storage support." into jb-mr1-dev
...
* commit '849e985ea9d6869a93f7618118aa51f70dad883e':
Multi-user external storage support.
2012-08-16 14:40:10 -07:00
Kenny Root
9b0da58e3a
Merge "Introduce a restorecon JNI binding."
2012-08-16 14:38:30 -07:00
Chet Haase
2936fc0244
Make animators more robust against ending mid-stream
...
The logic in the frame processing code of ValueAnimator did not handle
the situation of animators being ended while the current animation list
was being processed. In particular, if a call to an animation update
(which could result in a call out to user code) caused that animation, or
other current animators, to end, then there was the risk of running off the
end of the list of current animators.
The fix is to work from a copy of the current animator list, processing frames
on each one only if they also exist in the real animations list.
Issue #6992223 Frequent System UI crash
Change-Id: I742964558f8354f04c311b7b51c7686f26a4dacf
2012-08-16 14:34:04 -07:00
Jeff Sharkey
c584b65b20
Merge "Multi-user external storage support." into jb-mr1-dev
2012-08-16 14:32:39 -07:00
Kenny Root
165fdbabdc
am 1be4713a: am a579f792: am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
...
* commit '1be4713a9bdd213f6badb2069fcc46f2009c8333':
Use libcore Posix class for StatFs implementation
2012-08-16 14:31:34 -07:00
Kenny Root
a579f7926a
am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
...
* commit 'd69b47c087a87355df76a5276ab18af847f64367':
Use libcore Posix class for StatFs implementation
2012-08-16 14:26:07 -07:00
Kenny Root
d69b47c087
am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
...
* commit '8942e5a32ae2d1a36b65efe5b26cc06227ea0ca5':
Use libcore Posix class for StatFs implementation
2012-08-16 14:22:31 -07:00
Dianne Hackborn
57ccc62e87
am fe1d3d4c: am f02b60aa: Rename UserId to UserHandle.
...
* commit 'fe1d3d4c52acd5b07466e8111a6db2c596a78a7f':
Rename UserId to UserHandle.
2012-08-16 12:55:34 -07:00
Fabrice Di Meglio
23c89fd168
Improve resolution of RTL related properties
...
- fix bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)
- fix bug #6938146 "Show more cards..." text on bottom button is not centered
- also defer scrollbar initialization as we need resolved padding values for them
Change-Id: Ife651ffe6bbcc228ff6724f3d9b91079fac3a740
2012-08-16 12:53:16 -07:00
Dianne Hackborn
f02b60aa4f
Rename UserId to UserHandle.
...
This is the start of turning this into a formal public API.
Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
2012-08-16 12:46:38 -07:00
Kenny Root
bdd23ae9f5
Use libcore Posix class for StatFs implementation
...
Remove some JNI and duplicated functionality and use libcore's Posix
class for the statfs function instead.
Change-Id: Ic1e161dc10c18c2c6ee81d895a0efd8910086dbf
2012-08-16 10:55:47 -07:00
Steve Block
665772895c
am d6be8eae: am 7bf70dd1: Merge "Fix alpha value for device orientation" into jb-mr1-dev
...
* commit 'd6be8eae5fece2e93bf16cbb2ac20e307c6c7659':
Fix alpha value for device orientation
2012-08-16 05:08:48 -07:00
Steve Block
7bf70dd1ac
Merge "Fix alpha value for device orientation" into jb-mr1-dev
2012-08-16 04:38:03 -07:00
Steve Block
d5be055f79
Fix alpha value for device orientation
...
This seems to have been incorrect since this code was first written for HC. I
can only think that the error was made due to confusion between portrait and
landscape mode as development switched from phones to tablets.
Tested on stingray and prime.
A similar fix will be required for Chrome.
Change-Id: I5da13c489fdb9de340b9e6ea8868c9f1adc15bb2
2012-08-16 11:04:51 +01:00
Jeff Brown
23e3ba534c
am 778a616f: am 7c964e78: Merge changes I39804ee6,I6a5a7ea2 into jb-mr1-dev
...
* commit '778a616febe81517dc149bc4adc72a3e27bbc49e':
Use spline interpolation for auto-brightness.
Add FloatMath.hypot.
2012-08-16 02:11:25 -07:00
Jeff Brown
7c964e7899
Merge changes I39804ee6,I6a5a7ea2 into jb-mr1-dev
...
* changes:
Use spline interpolation for auto-brightness.
Add FloatMath.hypot.
2012-08-16 02:07:27 -07:00
Jeff Brown
1a30b55036
Use spline interpolation for auto-brightness.
...
Strictly speaking, this is a change in behavior for all products.
Instead of using discrete zones, they will all now use spline
interpolation. We could make this behavior configurable
but there seems to be little point to it. The range of brightness
values used will be more or less the same as before, it's just
that what used to be the brightness value for all levels within
a particular zone now becomes the brightness value for the
highest level in that zone and lower values are used for lower
levels within the zone.
Change-Id: I39804ee630ba55f018e1e53c0576b28e7bd27931
2012-08-16 01:45:10 -07:00
Jeff Brown
270e3381e7
Add FloatMath.hypot.
...
Change-Id: I6a5a7ea2254300614dbbf540f40e39dbec2d2900
2012-08-16 01:30:22 -07:00
Michael Jurka
832cb229cd
Adding a thumbnail scale down animation
...
Recents animation will temporarily look a bit
wrong, but a subsequent change will fix this.
2012-08-16 00:14:03 -07:00