33835 Commits

Author SHA1 Message Date
Subir Jhanb
84404677b8 am b4b692f9: am 2ff0c048: Merge "Change directory permission to "signature|system"" into jb-mr1-dev
* commit 'b4b692f9a861041692d13363e594fbae2bbd7f87':
  Change directory permission to "signature|system"
2012-08-16 17:22:56 -07:00
Subir Jhanb
2ff0c04844 Merge "Change directory permission to "signature|system"" into jb-mr1-dev 2012-08-16 17:18:21 -07:00
Subir Jhanb
0224ccab3c Change directory permission to "signature|system"
Change-Id: I53dea6984b4577803fdead5caad0112503d2b4e5
2012-08-16 17:04:54 -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
617ccc081f am 1090f702: Merge "Remove StatFs from AndroidRuntime JNI"
* commit '1090f7023abefc448a492e143f76f9e0925fd6ee':
  Remove StatFs from AndroidRuntime JNI
2012-08-16 15:29:34 -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
Kenny Root
64a39f36f6 am e62f5f94: am 3f1e8b90: Remove StatFs from AndroidRuntime JNI
* commit 'e62f5f9412cac934b1b7bd42bc1a53eebe4fb6ad':
  Remove StatFs from AndroidRuntime JNI
2012-08-16 14:59:04 -07:00
Kenny Root
3f1e8b90b0 Remove StatFs from AndroidRuntime JNI
Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c
2012-08-16 14:55:18 -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
Baligh Uddin
a4a5a85f8f Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-16 14:33:48 -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
89db6a40af Remove StatFs from AndroidRuntime JNI
Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c
2012-08-16 14:31:31 -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
Baligh Uddin
5a4e379e29 Merge "Import translations. DO NOT MERGE" 2012-08-16 14:21:19 -07:00
Baligh Uddin
827827b288 Import translations. DO NOT MERGE
Change-Id: Ib951aec1483341190f6a4b9fb6135fc885b08fae
Auto-generated-cl: translation import
2012-08-16 13:23:00 -07:00
Baligh Uddin
9e77bcdf3f Import translations. DO NOT MERGE
Change-Id: I8cda507820505a293fb31f0e8e0b804e85036b54
Auto-generated-cl: translation import
2012-08-16 13:14:12 -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
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
Daniel Sandler
cca3295f3e am b409323f: am 22891671: Merge "Multiuser support for notifications, take 1." into jb-mr1-dev
* commit 'b409323fd5a68f5699644dc6373842524ace7752':
  Multiuser support for notifications, take 1.
2012-08-15 21:08:19 -07:00
Daniel Sandler
228916713d Merge "Multiuser support for notifications, take 1." into jb-mr1-dev 2012-08-15 21:03:26 -07:00
Daniel Sandler
b9301c3a68 Multiuser support for notifications, take 1.
Notifications for background users are hidden from the
panel and status bar.

Still need to add a concept of "any user" notifications (for
things coming from the system) and notification visibility
controls (for access to icons + possibly masked text of
a background user's notifications).

Change-Id: Iba121f35a6c25c2e1c44db029d776a5a59a6a008
2012-08-15 23:00:56 -04:00
Michael Jurka
640dbe2ca7 am 35b88a86: am 524c878e: Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev"
* commit '35b88a86b84adfb4273ab27e84d301d9b826670e':
  Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev"
2012-08-15 19:52:49 -07:00
Jeff Sharkey
5b1ada2562 Multi-user external storage support.
Emulated external storage always has multi-user support using paths
like "/data/media/<user_id>".  Creates and destroys these paths along
with user data.  Uses new ensure_dir() to create directories while
always ensuring permissions.

Add external storage mount mode to zygote, supporting both single-
and multi-user devices.  For example, devices with physical SD cards
are treated as single-user.  Begin migrating to mount mode instead
of relying on sdcard_r GID to enforce READ_EXTERNAL_STORAGE.

Bug: 6925012
Change-Id: I9b872ded992cd078e2c013567d59f9f0032ec02b
2012-08-15 19:45:53 -07:00
Michael Jurka
524c878e7e Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev"
This reverts commit 6d00c724330702c6bfd2bba2b7b2501fa3ab62ff, reversing
changes made to 41bfb75f7c76588239ed5d2d4e38aeb1762ff348.
2012-08-15 19:39:55 -07:00
Svetoslav Ganov
eec7961804 am eaea38b2: am 6d00c724: Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev
* commit 'eaea38b2360d7c54d77107e6cc6aca8d32decc1d':
  Reload page when A11y is on and the JavaScript state changes.
2012-08-15 18:34:40 -07:00
Svetoslav Ganov
30a4e23a32 am e4c2e2f8: am 41bfb75f: Merge "Only inject accessibility when speaking service enabled." into jb-mr1-dev
* commit 'e4c2e2f8779a2c51724da1b8430185fceefc94ea':
  Only inject accessibility when speaking service enabled.
2012-08-15 18:34:36 -07:00
Svetoslav Ganov
6d00c72433 Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev 2012-08-15 18:30:57 -07:00
Svetoslav Ganov
41bfb75f7c Merge "Only inject accessibility when speaking service enabled." into jb-mr1-dev 2012-08-15 18:29:26 -07:00
Baligh Uddin
42018581cd Merge "Import translations. DO NOT MERGE" 2012-08-15 15:42:25 -07:00
Baligh Uddin
32e7bd9fe1 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-15 15:40:57 -07:00