OSDN Git Service

android-x86/frameworks-base.git
12 years agoAdd UsbDebuggingManager and UsbDebuggingActivity
Benoit Goby [Thu, 26 Apr 2012 01:06:00 +0000 (18:06 -0700)]
Add UsbDebuggingManager and UsbDebuggingActivity

The UsbDebuggingManager listens to adbd requests and displays a dialog
when the public key authentification fails, for the user to confirm if it
wants to allow USB debugging from the attached host. If the user chooses
to always allow USB debugging, the UsbDebuggingManager writes the public
key to adbd's config file so that the public key authenfication succeeds
next time.

Change-Id: I115c828331d8e326c380844ee33915d5dff22260

12 years agoImprove display manager debugging.
Jeff Brown [Mon, 20 Aug 2012 06:20:02 +0000 (23:20 -0700)]
Improve display manager debugging.

Change-Id: Iae794fe99a7cf9809f64eafb216091126a2f7e39

12 years agoRefactor for multi-display support.
Jeff Brown [Mon, 20 Aug 2012 03:30:52 +0000 (20:30 -0700)]
Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class.  This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault().  This represents the
bulk of this change.  Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids.  Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61

12 years agoStub out display manager service implementation.
Jeff Brown [Mon, 20 Aug 2012 03:18:08 +0000 (20:18 -0700)]
Stub out display manager service implementation.

Reverting to the previous stub as the display adapter registration
and the logical to physical mapping is not at all what we are going
to need moving forward.

Fixed up the service initialization order so that the display manager
service has a context from the start.

Change-Id: I717f2f1099c7a77180ef207c371ec8329258850a

12 years agoMerge "fix sdcard path for webkit perf and layout test scripts" into jb-mr1-dev
Guang Zhu [Sun, 19 Aug 2012 22:29:07 +0000 (15:29 -0700)]
Merge "fix sdcard path for webkit perf and layout test scripts" into jb-mr1-dev

12 years agofix sdcard path for webkit perf and layout test scripts
Guang Zhu [Sun, 19 Aug 2012 22:27:40 +0000 (15:27 -0700)]
fix sdcard path for webkit perf and layout test scripts

paths are moved from /sdcard/ to /sdcard/0/

Change-Id: I27dee294eff033da47c5de17c3b7843790386be3

12 years agoMerge "Fixed static wallpaper for multi-user" into jb-mr1-dev
Amith Yamasani [Sun, 19 Aug 2012 14:55:13 +0000 (07:55 -0700)]
Merge "Fixed static wallpaper for multi-user" into jb-mr1-dev

12 years agoMerge "Don't create cache directory for isolated processes" into jb-mr1-dev
Amith Yamasani [Sun, 19 Aug 2012 14:54:36 +0000 (07:54 -0700)]
Merge "Don't create cache directory for isolated processes" into jb-mr1-dev

12 years agoFixed static wallpaper for multi-user
Amith Yamasani [Sun, 19 Aug 2012 05:13:07 +0000 (22:13 -0700)]
Fixed static wallpaper for multi-user

Earlier assumption that systemui was running in the system process
does not hold true, so running static wallpaper in its own user
sandbox.

Bug: 7008230
Change-Id: I32a128e6bbd8efa7006286330e970bafcf37f05a

12 years agoDon't create cache directory for isolated processes
Amith Yamasani [Sat, 18 Aug 2012 01:00:52 +0000 (18:00 -0700)]
Don't create cache directory for isolated processes

They don't have access anyway
This makes Chrome work in secondary users

Change-Id: I4d30581bc6e807901e642893d6964854c0567fec

12 years agoMerge "More view hierarchy, fragment debugging." into jb-mr1-dev
Dianne Hackborn [Sat, 18 Aug 2012 00:39:08 +0000 (17:39 -0700)]
Merge "More view hierarchy, fragment debugging." into jb-mr1-dev

12 years agoMore view hierarchy, fragment debugging.
Dianne Hackborn [Fri, 17 Aug 2012 22:18:29 +0000 (15:18 -0700)]
More view hierarchy, fragment debugging.

Add a View.toString() method.

Rename all of the View private flags to have a PFLAG prefix to
avoid going insane trying to figure out which constant goes with
which flag.

Activity.dump() now includes a summary of the activity's view
hierarchy, using the View.toString() method.

All exceptions thrown by FragmentManager now perform a dump of
the owning activity state, where appropriate.

Change-Id: I6482e397e10cb5a0612ab02ce6ed5131823437a6

12 years agoMerge "Fix build part 2" into jb-mr1-dev
Amith Yamasani [Sat, 18 Aug 2012 00:08:33 +0000 (17:08 -0700)]
Merge "Fix build part 2" into jb-mr1-dev

12 years agoFix build part 2
Amith Yamasani [Sat, 18 Aug 2012 00:07:14 +0000 (17:07 -0700)]
Fix build part 2

Change-Id: I3b4ed430f214468a22d3b3aaf3605e570cfd0ed1

12 years agoMerge "Fix permission check on ContentProvider to be multi-user aware." into jb-mr1-dev
Dianne Hackborn [Sat, 18 Aug 2012 00:01:47 +0000 (17:01 -0700)]
Merge "Fix permission check on ContentProvider to be multi-user aware." into jb-mr1-dev

12 years agoFix permission check on ContentProvider to be multi-user aware.
Dianne Hackborn [Fri, 17 Aug 2012 23:51:54 +0000 (16:51 -0700)]
Fix permission check on ContentProvider to be multi-user aware.

Change-Id: I1e504fe6561caef99d478e37660e2294fec7ea8b

12 years agoFix merge error
Amith Yamasani [Fri, 17 Aug 2012 23:34:53 +0000 (16:34 -0700)]
Fix merge error

Didn't apply the recent API change from another CL.

Change-Id: I65ac6108909eca7ac48beabb4a8b7bbedda84249

12 years agoMerge "Fix glyph cropping bug" into jb-mr1-dev
Chet Haase [Fri, 17 Aug 2012 23:19:37 +0000 (16:19 -0700)]
Merge "Fix glyph cropping bug" into jb-mr1-dev

12 years agoMerge "Save preferred activity info with user id." into jb-mr1-dev
Amith Yamasani [Fri, 17 Aug 2012 23:19:18 +0000 (16:19 -0700)]
Merge "Save preferred activity info with user id." into jb-mr1-dev

12 years agoFix glyph cropping bug
Chet Haase [Fri, 17 Aug 2012 22:44:44 +0000 (15:44 -0700)]
Fix glyph cropping bug

Glyphs were being stored in the glyph cache incorrectly.
The second row of glyphs in any column were being positioned exactly
one pixel too high, causing the preceding glyph in that column to be
cropped, resulting in the reported truncation in some glyphs.

Issue #7003215 Minor UI truncation while reading the mails

Change-Id: I47ce376f78a04d4e07e8b7ed1b3f0b58864c5498

12 years agoMerge "Fix launching activity from a pending intent" into jb-mr1-dev
Amith Yamasani [Fri, 17 Aug 2012 22:54:18 +0000 (15:54 -0700)]
Merge "Fix launching activity from a pending intent" into jb-mr1-dev

12 years agoFix addGeofence() and addProximityAlert().
Nick Pelly [Fri, 17 Aug 2012 22:09:44 +0000 (15:09 -0700)]
Fix addGeofence() and addProximityAlert().

Need to clear the callers identity before calling into geofence manager
because it in turn calls fused location API's.

Change-Id: I7993b0b8b2a947ff93c37a7c9d29ca0e7c95f9a8

12 years agoPort location blacklist code to MR1.
Nick Pelly [Fri, 17 Aug 2012 21:43:49 +0000 (14:43 -0700)]
Port location blacklist code to MR1.

I had to re-do this change for MR1 because LocationManagerService changed
so much. Here is the original change description:

Add package-name-prefix blacklist for location updates.

The Settings.Secure value locationPackagePrefixBlacklist and
locationPackagePrefixWhitelist contains comma seperated package-name
prefixes.

Location & geo-fence updates are silently dropped if the receiving
package name has a prefix on the blacklist. Status updates are
not affected. All other API's work as before.

A content observer is used so run-time updates to the blacklist
apply immediately. There is both a blacklist and a whitelist.
The blacklist applies first, and then exemptions are allowed
from the whitelist. In other words, if your package name prefix
matches both the black AND white list, then it is allowed.

Bug: 6986553
Change-Id: I1e151e08bd7143e47db005bc3fe9795076398df7

12 years agoFix launching activity from a pending intent
Amith Yamasani [Fri, 17 Aug 2012 21:17:57 +0000 (14:17 -0700)]
Fix launching activity from a pending intent

The creator of the pending intent is the user on which the activity
should be launched.

Change-Id: I733326ed8a5784985ac93a84ce91de4dda17c730

12 years agoMerge "Send USER_SWITCHED with the correct permission" into jb-mr1-dev
Amith Yamasani [Fri, 17 Aug 2012 20:58:17 +0000 (13:58 -0700)]
Merge "Send USER_SWITCHED with the correct permission" into jb-mr1-dev

12 years agoSend USER_SWITCHED with the correct permission
Amith Yamasani [Fri, 17 Aug 2012 20:55:02 +0000 (13:55 -0700)]
Send USER_SWITCHED with the correct permission

Forgot to change this from MANAGE_ACCOUNTS to MANAGE_USERS.

Change-Id: Ib07d2ac84c19cef278a0e564676b6200e0f97dd1

12 years agoam c48ee604: (-s ours) am 6626398a: Merge "Fix for updating TCP buffer size when...
Robert Greenwalt [Fri, 17 Aug 2012 20:44:54 +0000 (13:44 -0700)]
am c48ee604: (-s ours) am 6626398a: Merge "Fix for updating TCP buffer size when switching network type"

* commit 'c48ee60426a741d0a8e7df7df8af2a9ac24cee85':
  Fix for updating TCP buffer size when switching network type

12 years agoSave preferred activity info with user id.
Amith Yamasani [Fri, 10 Aug 2012 00:11:28 +0000 (17:11 -0700)]
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

12 years agoMerge "Remove checkThread() from findAddress" into jb-mr1-dev
Jonathan Dixon [Fri, 17 Aug 2012 20:30:46 +0000 (13:30 -0700)]
Merge "Remove checkThread() from findAddress" into jb-mr1-dev

12 years agoam 6626398a: Merge "Fix for updating TCP buffer size when switching network type"
Robert Greenwalt [Fri, 17 Aug 2012 20:28:25 +0000 (13:28 -0700)]
am 6626398a: Merge "Fix for updating TCP buffer size when switching network type"

* commit '6626398a72ae592e3a9184c9b0868df0fc1f1724':
  Fix for updating TCP buffer size when switching network type

12 years agoRemove checkThread() from findAddress
John Reck [Fri, 17 Aug 2012 20:04:24 +0000 (13:04 -0700)]
Remove checkThread() from findAddress

 Bug: 6811978
 This doesn't need checked thread safety - static util methods should
 be thread safe.

Change-Id: Ib652d74ced66e3fa332464106a38522cd941a4cd

12 years agoMerge "Adding a thumbnail scale down animation" into jb-mr1-dev
Michael Jurka [Fri, 17 Aug 2012 20:03:15 +0000 (13:03 -0700)]
Merge "Adding a thumbnail scale down animation" into jb-mr1-dev

12 years agoMerge "Fix for updating TCP buffer size when switching network type"
Robert Greenwalt [Fri, 17 Aug 2012 20:01:49 +0000 (13:01 -0700)]
Merge "Fix for updating TCP buffer size when switching network type"

12 years agoMerge "Fix regression from location changes: GPS battery tracking." into jb-mr1-dev
Nick Pelly [Fri, 17 Aug 2012 18:57:52 +0000 (11:57 -0700)]
Merge "Fix regression from location changes: GPS battery tracking." into jb-mr1-dev

12 years agoFix regression from location changes: GPS battery tracking.
Nick Pelly [Fri, 17 Aug 2012 18:55:10 +0000 (11:55 -0700)]
Fix regression from location changes: GPS battery tracking.

The client UID list wasn't being saved, so we never removed
client UID's. As a result apps get blamed for GPS even when
they are no longer using it.

Bug: 7007314
Change-Id: Idff3b7c8c0ee87b99c9bdd7bd20d8391d0b1ac0f

12 years agoSwitch public APIs to use new UserHandle class for identifying users.
Dianne Hackborn [Thu, 16 Aug 2012 23:42:52 +0000 (16:42 -0700)]
Switch public APIs to use new UserHandle class for identifying users.

Gets rid of "yet another integer" confusion.

Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee

12 years agoam 21bf4657: am a688af9c: Merge "TabHost key handling corrected"
Jean-Baptiste Queru [Fri, 17 Aug 2012 17:15:32 +0000 (10:15 -0700)]
am 21bf4657: am a688af9c: Merge "TabHost key handling corrected"

* commit '21bf465764938c5f8c82dbf6061c89e138eb73ca':
  TabHost key handling corrected

12 years agoam a688af9c: Merge "TabHost key handling corrected"
Jean-Baptiste Queru [Fri, 17 Aug 2012 17:14:08 +0000 (10:14 -0700)]
am a688af9c: Merge "TabHost key handling corrected"

* commit 'a688af9c6707c9c2f07cc195b072b6c14be03b63':
  TabHost key handling corrected

12 years agoMerge "Improve resolution of RTL related properties" into jb-mr1-dev
Fabrice Di Meglio [Fri, 17 Aug 2012 17:09:39 +0000 (10:09 -0700)]
Merge "Improve resolution of RTL related properties" into jb-mr1-dev

12 years agoMerge "TabHost key handling corrected"
Jean-Baptiste Queru [Fri, 17 Aug 2012 17:02:49 +0000 (10:02 -0700)]
Merge "TabHost key handling corrected"

12 years agoMerge "UserHandle to UserSerialNo mapping" into jb-mr1-dev
Amith Yamasani [Fri, 17 Aug 2012 16:20:28 +0000 (09:20 -0700)]
Merge "UserHandle to UserSerialNo mapping" into jb-mr1-dev

12 years agoUserHandle to UserSerialNo mapping
Amith Yamasani [Wed, 15 Aug 2012 01:25:45 +0000 (18:25 -0700)]
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

12 years agoFix for updating TCP buffer size when switching network type
Magnus Strandberg [Fri, 17 Aug 2012 09:36:55 +0000 (11:36 +0200)]
Fix for updating TCP buffer size when switching network type

When PDP connects in GSM network, the TCP buffer window size is
set to max 8760. If the phone swicthes to UMTS, the TCP buffer
size is not updated to UMTS, i.e. GPRS buffer size is still
used with limited data transfer spead as a result.
This fix makes sure the TCP buffer size is updated when
switching network type.

Change-Id: Iaa527c84f56cae108f4c7276bbed10552faaff6c

12 years agoam 406ba831: am 5f61087e: Merge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 07:50:11 +0000 (00:50 -0700)]
am 406ba831: am 5f61087e: Merge "Get rid of LOCAL_MODULE_TAGS := user"

* commit '406ba83154ba17921bc524c479d3339448306fc5':
  Get rid of LOCAL_MODULE_TAGS := user

12 years agoam 5f61087e: Merge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 07:48:03 +0000 (00:48 -0700)]
am 5f61087e: Merge "Get rid of LOCAL_MODULE_TAGS := user"

* commit '5f61087e26013ea2623aecb1783c74a57a9fa49c':
  Get rid of LOCAL_MODULE_TAGS := user

12 years agoMerge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 07:40:49 +0000 (00:40 -0700)]
Merge "Get rid of LOCAL_MODULE_TAGS := user"

12 years agoMerge "Create media paths for existing users." into jb-mr1-dev
Jeff Sharkey [Fri, 17 Aug 2012 06:31:49 +0000 (23:31 -0700)]
Merge "Create media paths for existing users." into jb-mr1-dev

12 years agoCreate media paths for existing users.
Jeff Sharkey [Fri, 17 Aug 2012 06:28:50 +0000 (23:28 -0700)]
Create media paths for existing users.

Bug: 6925012
Change-Id: I23bd9187217645cf538e074527c143a911a61299

12 years agoGet rid of LOCAL_MODULE_TAGS := user
Joe Onorato [Tue, 22 May 2012 21:16:41 +0000 (14:16 -0700)]
Get rid of LOCAL_MODULE_TAGS := user

Change-Id: I1c4e67f935a7c511cda9980f4475dfd0272617a5

12 years agoam 2679082d: (-s ours) Reconcile with jb-mr0-release jb-release - do not merge
The Android Open Source Project [Fri, 17 Aug 2012 01:59:11 +0000 (18:59 -0700)]
am 2679082d: (-s ours) Reconcile with jb-mr0-release jb-release - do not merge

* commit '2679082da074b29be8ac8e6f9bb02591318be388':
  show 3G icon for CDMA/1xRTT

12 years agoReconcile with jb-mr0-release jb-release - do not merge
The Android Open Source Project [Fri, 17 Aug 2012 01:56:53 +0000 (18:56 -0700)]
Reconcile with jb-mr0-release jb-release - do not merge

Change-Id: Icb49e9e1f6c6e2be6d863f959a7a782dd442c465

12 years agoMerge "Add documentation for com.android.location.provider shared library." into...
Nick Pelly [Fri, 17 Aug 2012 01:07:28 +0000 (18:07 -0700)]
Merge "Add documentation for com.android.location.provider shared library." into jb-mr1-dev

12 years agoMerge "Add javadoc for new location API's." into jb-mr1-dev
Nick Pelly [Fri, 17 Aug 2012 01:05:31 +0000 (18:05 -0700)]
Merge "Add javadoc for new location API's." into jb-mr1-dev

12 years agoAdd documentation for com.android.location.provider shared library.
Nick Pelly [Wed, 15 Aug 2012 02:13:47 +0000 (19:13 -0700)]
Add documentation for com.android.location.provider shared library.

Change-Id: I222d61811c88272e84a85512623210c0238337e5

12 years agoAdd javadoc for new location API's.
Nick Pelly [Tue, 14 Aug 2012 02:35:39 +0000 (19:35 -0700)]
Add javadoc for new location API's.

Change-Id: If15024ee88421c07ba3a174747774fc451fd002e

12 years agomerge in jb-mr0-release history after reset to jb-dev
The Android Automerger [Fri, 17 Aug 2012 00:57:44 +0000 (17:57 -0700)]
merge in jb-mr0-release history after reset to jb-dev

12 years agoMerge "Change directory permission to "signature|system"" into jb-mr1-dev
Subir Jhanb [Fri, 17 Aug 2012 00:18:21 +0000 (17:18 -0700)]
Merge "Change directory permission to "signature|system"" into jb-mr1-dev

12 years agoChange directory permission to "signature|system"
Subir Jhanb [Fri, 17 Aug 2012 00:04:54 +0000 (17:04 -0700)]
Change directory permission to "signature|system"

Change-Id: I53dea6984b4577803fdead5caad0112503d2b4e5

12 years agoam 050c87f8: am a950daf5: Merge changes Ieb566a2a,I953057cd
Kenny Root [Thu, 16 Aug 2012 23:43:20 +0000 (16:43 -0700)]
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

12 years agoam a950daf5: Merge changes Ieb566a2a,I953057cd
Kenny Root [Thu, 16 Aug 2012 23:33:40 +0000 (16:33 -0700)]
am a950daf5: Merge changes Ieb566a2a,I953057cd

* commit 'a950daf5c14a0009c2c62e9c3e0e8d51eb0cf7d9':
  Use Libcore's stat instead of FileUtils#getFileStatus
  Use Libcore.os.stat instead of FileUtils

12 years agoAnimate brightness with electron beam.
Jeff Brown [Thu, 16 Aug 2012 23:20:54 +0000 (16:20 -0700)]
Animate brightness with electron beam.

Also added an internal flag to control whether the electron beam
on animation is used.  It's on for now but we might want to
turn if off if we can't get the HAL to provide the
necessary screen on synchronization on all devices.

Change-Id: Iaa3cfa0fd61de10174e68351e4db890eff2d2918

12 years agoMerge changes Ieb566a2a,I953057cd
Kenny Root [Thu, 16 Aug 2012 23:06:29 +0000 (16:06 -0700)]
Merge changes Ieb566a2a,I953057cd

* changes:
  Use Libcore's stat instead of FileUtils#getFileStatus
  Use Libcore.os.stat instead of FileUtils

12 years agoMerge "Make animators more robust against ending mid-stream" into jb-mr1-dev
Chet Haase [Thu, 16 Aug 2012 22:35:28 +0000 (15:35 -0700)]
Merge "Make animators more robust against ending mid-stream" into jb-mr1-dev

12 years agoam b18bcf13: am d2fb6e99: Merge "Fix Issue #35489: drm content corruption on GB"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:32:55 +0000 (15:32 -0700)]
am b18bcf13: am d2fb6e99: Merge "Fix Issue #35489: drm content corruption on GB"

* commit 'b18bcf13fd47102a2527e599cde0b1d59ab7c51e':
  Fix Issue #35489: drm content corruption on GB

12 years agoam a2e8365c: am 9b0da58e: Merge "Introduce a restorecon JNI binding."
Kenny Root [Thu, 16 Aug 2012 22:32:52 +0000 (15:32 -0700)]
am a2e8365c: am 9b0da58e: Merge "Introduce a restorecon JNI binding."

* commit 'a2e8365cc883de0d3e56e9f4af350ecfe1b8fc4c':
  Introduce a restorecon JNI binding.

12 years agoam 617ccc08: am 1090f702: Merge "Remove StatFs from AndroidRuntime JNI"
Kenny Root [Thu, 16 Aug 2012 22:32:47 +0000 (15:32 -0700)]
am 617ccc08: am 1090f702: Merge "Remove StatFs from AndroidRuntime JNI"

* commit '617ccc081f18f563aa953556c22ace10a1998f34':
  Remove StatFs from AndroidRuntime JNI

12 years agoam d2fb6e99: Merge "Fix Issue #35489: drm content corruption on GB"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:29:47 +0000 (15:29 -0700)]
am d2fb6e99: Merge "Fix Issue #35489: drm content corruption on GB"

* commit 'd2fb6e99bda1ae607b5dfbb68905030f2133f8e8':
  Fix Issue #35489: drm content corruption on GB

12 years agoam 9b0da58e: Merge "Introduce a restorecon JNI binding."
Kenny Root [Thu, 16 Aug 2012 22:29:41 +0000 (15:29 -0700)]
am 9b0da58e: Merge "Introduce a restorecon JNI binding."

* commit '9b0da58e3a30b760de37138cdd51d20f269c383e':
  Introduce a restorecon JNI binding.

12 years agoam 1090f702: Merge "Remove StatFs from AndroidRuntime JNI"
Kenny Root [Thu, 16 Aug 2012 22:29:34 +0000 (15:29 -0700)]
am 1090f702: Merge "Remove StatFs from AndroidRuntime JNI"

* commit '1090f7023abefc448a492e143f76f9e0925fd6ee':
  Remove StatFs from AndroidRuntime JNI

12 years agoshow 3G icon for CDMA/1xRTT
Madan Ankapura [Fri, 3 Aug 2012 02:10:22 +0000 (19:10 -0700)]
show 3G icon for CDMA/1xRTT

when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
12 years agoUse Libcore's stat instead of FileUtils#getFileStatus
Kenny Root [Thu, 16 Aug 2012 18:38:04 +0000 (11:38 -0700)]
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

12 years agoUse Libcore.os.stat instead of FileUtils
Kenny Root [Thu, 16 Aug 2012 18:10:58 +0000 (11:10 -0700)]
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

12 years agoMerge "Improve coarse locations." into jb-mr1-dev
Nick Pelly [Thu, 16 Aug 2012 22:23:10 +0000 (15:23 -0700)]
Merge "Improve coarse locations." into jb-mr1-dev

12 years agoImprove coarse locations.
Nick Pelly [Tue, 14 Aug 2012 02:36:38 +0000 (19:36 -0700)]
Improve coarse locations.

Fix a couple of bugs, and modify the behavior of the random offset.

The random offset now slowly changes over time, to mitigate against
applications averaging out the offset over time while at a
grid boundary.

Change-Id: Iecffff29145b8c2b30d1eca1662cf9d3e8cff756

12 years agoMerge "Remove CacheTextureLine structure from FontRenderer" into jb-mr1-dev
Chet Haase [Thu, 16 Aug 2012 22:02:44 +0000 (15:02 -0700)]
Merge "Remove CacheTextureLine structure from FontRenderer" into jb-mr1-dev

12 years agoRemove StatFs from AndroidRuntime JNI
Kenny Root [Thu, 16 Aug 2012 21:31:31 +0000 (14:31 -0700)]
Remove StatFs from AndroidRuntime JNI

Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c

12 years agoMerge "Fix Issue #35489: drm content corruption on GB"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:45:12 +0000 (14:45 -0700)]
Merge "Fix Issue #35489: drm content corruption on GB"

12 years agoMerge "Initial version of Renderscript Compute Benchmark" into jb-mr1-dev
Stephen Hines [Thu, 16 Aug 2012 21:38:28 +0000 (14:38 -0700)]
Merge "Initial version of Renderscript Compute Benchmark" into jb-mr1-dev

12 years agoMerge "Introduce a restorecon JNI binding."
Kenny Root [Thu, 16 Aug 2012 21:38:30 +0000 (14:38 -0700)]
Merge "Introduce a restorecon JNI binding."

12 years agoMerge "Fisheye filter: approx version, general performance improvements" into jb...
Stephen Hines [Thu, 16 Aug 2012 21:37:33 +0000 (14:37 -0700)]
Merge "Fisheye filter:  approx version, general performance improvements" into jb-mr1-dev

12 years agoMerge "Remove StatFs from AndroidRuntime JNI"
Kenny Root [Thu, 16 Aug 2012 21:37:30 +0000 (14:37 -0700)]
Merge "Remove StatFs from AndroidRuntime JNI"

12 years agoMake animators more robust against ending mid-stream
Chet Haase [Thu, 16 Aug 2012 21:34:04 +0000 (14:34 -0700)]
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

12 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Thu, 16 Aug 2012 21:33:47 +0000 (14:33 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

12 years agoMerge "Multi-user external storage support." into jb-mr1-dev
Jeff Sharkey [Thu, 16 Aug 2012 21:32:38 +0000 (14:32 -0700)]
Merge "Multi-user external storage support." into jb-mr1-dev

12 years agoRemove StatFs from AndroidRuntime JNI
Kenny Root [Thu, 16 Aug 2012 21:31:31 +0000 (14:31 -0700)]
Remove StatFs from AndroidRuntime JNI

Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c

12 years agoam d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
Kenny Root [Thu, 16 Aug 2012 21:26:07 +0000 (14:26 -0700)]
am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"

* commit 'd69b47c087a87355df76a5276ab18af847f64367':
  Use libcore Posix class for StatFs implementation

12 years agoam 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
Kenny Root [Thu, 16 Aug 2012 21:22:31 +0000 (14:22 -0700)]
am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"

* commit '8942e5a32ae2d1a36b65efe5b26cc06227ea0ca5':
  Use libcore Posix class for StatFs implementation

12 years agoMerge "Set the brightness to zero on screen-off" into jb-mr1-dev
Iliyan Malchev [Thu, 16 Aug 2012 20:43:14 +0000 (13:43 -0700)]
Merge "Set the brightness to zero on screen-off" into jb-mr1-dev

12 years agoMerge "Use libcore Posix class for StatFs implementation"
Kenny Root [Thu, 16 Aug 2012 20:37:25 +0000 (13:37 -0700)]
Merge "Use libcore Posix class for StatFs implementation"

12 years agoMerge "Fix bug with preloading recent tasks" into jb-mr1-dev
Michael Jurka [Thu, 16 Aug 2012 20:19:45 +0000 (13:19 -0700)]
Merge "Fix bug with preloading recent tasks" into jb-mr1-dev

12 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 16 Aug 2012 20:14:12 +0000 (13:14 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8cda507820505a293fb31f0e8e0b804e85036b54
Auto-generated-cl: translation import

12 years agoAllow the panels to be temporarily dragged past their contents.
Daniel Sandler [Thu, 16 Aug 2012 18:10:53 +0000 (14:10 -0400)]
Allow the panels to be temporarily dragged past their contents.

Once the user lets go, restore the "correct" height of the
panel.

Bug: 6999596
Change-Id: I2db393873cee876cf17fea25c9d25fe5e3a78424

12 years agoImprove resolution of RTL related properties
Fabrice Di Meglio [Mon, 13 Aug 2012 19:17:42 +0000 (12:17 -0700)]
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

12 years agoMerge changes Ifad4bd65,I6a4b7d69 into jb-mr1-dev
Daniel Sandler [Thu, 16 Aug 2012 19:52:18 +0000 (12:52 -0700)]
Merge changes Ifad4bd65,I6a4b7d69 into jb-mr1-dev

* changes:
  Turn off an assert.
  Fix crash in SystemUI.

12 years agoSet the brightness to zero on screen-off
Iliyan Malchev [Thu, 16 Aug 2012 19:47:21 +0000 (12:47 -0700)]
Set the brightness to zero on screen-off

Fixes b/6996990

Ideally, the HWC HAL should turn off the backlight when the display is turned
off.  This patch enforces this at the PowerManager, which can guard against
errant HWC implementations.

Change-Id: Ibb826a02871c983f8a68034d010e68abe9c5c1d5
Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoRename UserId to UserHandle.
Dianne Hackborn [Thu, 16 Aug 2012 17:48:27 +0000 (10:48 -0700)]
Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0

12 years agoresolved conflicts for merge of 80c904df to jb-mr1-dev
Svetoslav Ganov [Thu, 16 Aug 2012 19:22:23 +0000 (12:22 -0700)]
resolved conflicts for merge of 80c904df to jb-mr1-dev

Change-Id: Ic2f8d64cd716d04a533ca0685d1fb0d5e2a21933

12 years agoMerge "Testing java compat lib for RS." into jb-mr1-dev
Jason Sams [Thu, 16 Aug 2012 18:23:40 +0000 (11:23 -0700)]
Merge "Testing java compat lib for RS." into jb-mr1-dev

12 years agoUse libcore Posix class for StatFs implementation
Kenny Root [Thu, 16 Aug 2012 17:43:47 +0000 (10:43 -0700)]
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

12 years agoMerge "Fix status bar disabling." into jb-mr1-dev
Daniel Sandler [Thu, 16 Aug 2012 17:55:18 +0000 (10:55 -0700)]
Merge "Fix status bar disabling." into jb-mr1-dev