OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Parcel VpnProfile without using disk format." into jb-mr1-dev
Jeff Sharkey [Fri, 19 Oct 2012 18:12:59 +0000 (11:12 -0700)]
Merge "Parcel VpnProfile without using disk format." into jb-mr1-dev

11 years agoMerge "Frameworks base: Promote dream setting defaults to config." into jb-mr1-dev
John Spurlock [Fri, 19 Oct 2012 17:59:58 +0000 (10:59 -0700)]
Merge "Frameworks base: Promote dream setting defaults to config." into jb-mr1-dev

11 years agoParcel VpnProfile without using disk format.
Jeff Sharkey [Fri, 19 Oct 2012 17:48:11 +0000 (10:48 -0700)]
Parcel VpnProfile without using disk format.

The on-disk format of VpnProfile only stores the username/password
when saveLogin is set, which was dropping them across IPC boundaries.

Bug: 7378327
Change-Id: I30c16efb358ab8f8d3d9229bbf9811146fe034ce

11 years agoMerge "Defer layer rendering to avoid stalls Bug #7326824" into jb-mr1-dev
Romain Guy [Fri, 19 Oct 2012 17:40:27 +0000 (10:40 -0700)]
Merge "Defer layer rendering to avoid stalls Bug #7326824" into jb-mr1-dev

11 years agoMerge "Allow getDisplayContentLocked to return null..." into jb-mr1-dev
Craig Mautner [Fri, 19 Oct 2012 16:27:05 +0000 (09:27 -0700)]
Merge "Allow getDisplayContentLocked to return null..." into jb-mr1-dev

11 years agoMerge "Fixing wallpaper flash when going in/out of Recents" into jb-mr1-dev
Michael Jurka [Fri, 19 Oct 2012 16:06:19 +0000 (09:06 -0700)]
Merge "Fixing wallpaper flash when going in/out of Recents" into jb-mr1-dev

11 years agoFrameworks base: Promote dream setting defaults to config.
John Spurlock [Thu, 18 Oct 2012 20:49:24 +0000 (16:49 -0400)]
Frameworks base: Promote dream setting defaults to config.

So that:
 - the values can be shared (to fix assoc bug)
 - the values can be customized in product overlays

Bug:7373284
Change-Id: I37f037082523a3d975f6014f36afa28c60117372

11 years agoFixing wallpaper flash when going in/out of Recents
Michael Jurka [Fri, 19 Oct 2012 12:56:47 +0000 (14:56 +0200)]
Fixing wallpaper flash when going in/out of Recents

Bug: 7372516
Bug: 7216872

Change-Id: I2a2308a85caf9f2ad2d382c709e5f8867bd060be

11 years agoFix recents animations for secondary users
Michael Jurka [Thu, 18 Oct 2012 11:13:46 +0000 (13:13 +0200)]
Fix recents animations for secondary users

Bug: 7361640

Change-Id: Ibd177bf01758fb8706b82dcf3bf234e052c38aa3

11 years agoMerge "Change android.permission.SERIAL_PORT to signature|system." into jb-mr1-dev
Geremy Condra [Fri, 19 Oct 2012 06:59:36 +0000 (23:59 -0700)]
Merge "Change android.permission.SERIAL_PORT to signature|system." into jb-mr1-dev

11 years agoMerge "Reduce auto-brightness jitter." into jb-mr1-dev
Jeff Brown [Fri, 19 Oct 2012 06:22:14 +0000 (23:22 -0700)]
Merge "Reduce auto-brightness jitter." into jb-mr1-dev

11 years agoMerge "More migration to Global settings." into jb-mr1-dev
Jeff Sharkey [Fri, 19 Oct 2012 06:22:57 +0000 (23:22 -0700)]
Merge "More migration to Global settings." into jb-mr1-dev

11 years agoMerge "Fix deadlock." into jb-mr1-dev
Jeff Brown [Fri, 19 Oct 2012 06:22:02 +0000 (23:22 -0700)]
Merge "Fix deadlock." into jb-mr1-dev

11 years agoMerge "Revert "Revert "This restores JB MR0 behavior where the framework throws an...
Dave Burke [Fri, 19 Oct 2012 04:02:13 +0000 (21:02 -0700)]
Merge "Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev

11 years agoRevert "Revert "This restores JB MR0 behavior where the framework throws an exception...
Dave Burke [Fri, 19 Oct 2012 03:41:55 +0000 (20:41 -0700)]
Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""

This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11

Change-Id: I21b007a7d150a4c23f25a706cdba5cb86198198f

11 years agoReduce auto-brightness jitter.
Jeff Brown [Thu, 18 Oct 2012 23:14:16 +0000 (16:14 -0700)]
Reduce auto-brightness jitter.

Apply additional hysteresis controls to prevent repeated brightness
changes within a short interval.

Bug: 7266090
Change-Id: I73122457f6f3200c80188d3716ce2baf38f6a0a6

11 years agoam fcc93e73: (-s ours) am 135b5ba5: Layoutlib: Read and close XML files as soon as...
Xavier Ducrohet [Fri, 19 Oct 2012 00:52:21 +0000 (17:52 -0700)]
am fcc93e73: (-s ours) am 135b5ba5: Layoutlib: Read and close XML files as soon as possible. do not merge.

* commit 'fcc93e734be9fe4608fb5a6818163104cdec3fb5':
  Layoutlib: Read and close XML files as soon as possible. do not merge.

11 years agoam 135b5ba5: Layoutlib: Read and close XML files as soon as possible. do not merge.
Xavier Ducrohet [Fri, 19 Oct 2012 00:48:57 +0000 (17:48 -0700)]
am 135b5ba5: Layoutlib: Read and close XML files as soon as possible. do not merge.

* commit '135b5ba52431b147d51a81b807784009cd0510dd':
  Layoutlib: Read and close XML files as soon as possible. do not merge.

11 years agoFix deadlock.
Jeff Brown [Thu, 18 Oct 2012 23:13:44 +0000 (16:13 -0700)]
Fix deadlock.

The display manager must never call into the activity manager with
its lock held.  Make it clear that the adapters are constructed
while holding the syncroot lock.

Bug: 7377631
Change-Id: I1557313cbb31dcad9b5a46919a88a5a1c1af3e9b

11 years agoMerge "Fix missing @hide on ViewGroup.resolveLayoutParams()" into jb-mr1-dev
Fabrice Di Meglio [Thu, 18 Oct 2012 23:20:35 +0000 (16:20 -0700)]
Merge "Fix missing @hide on ViewGroup.resolveLayoutParams()" into jb-mr1-dev

11 years agoFix missing @hide on ViewGroup.resolveLayoutParams()
Fabrice Di Meglio [Thu, 18 Oct 2012 23:06:52 +0000 (16:06 -0700)]
Fix missing @hide on ViewGroup.resolveLayoutParams()

- as we dont need this to be public

Change-Id: Ib8de262eec26d4785b13875d59599369b06a067d

11 years agoLayoutlib: Read and close XML files as soon as possible. do not merge.
Xavier Ducrohet [Thu, 18 Oct 2012 01:38:49 +0000 (18:38 -0700)]
Layoutlib: Read and close XML files as soon as possible. do not merge.

Because passing an InputStream to KXML does not close the
stream after the file has been parsed, the files are staying
locked on windows until the gc and finalizers are run.

This change preload the XML files and close their stream,
and then pass the content in a stream to the parser.

(cherry picked from commit c48b0b940d632b9862ff6aa32665e37fe9e50845)

Change-Id: I1b225454c166026c1aab6290c55ac8279e8862d5

11 years agoMore migration to Global settings.
Jeff Sharkey [Thu, 18 Oct 2012 22:38:14 +0000 (15:38 -0700)]
More migration to Global settings.

Bug: 7375796
Change-Id: I3954ce141ad30073896090a28eee743ba15fd736

11 years agoMerge "Fix the build" into jb-mr1-dev
Fabrice Di Meglio [Thu, 18 Oct 2012 22:37:26 +0000 (15:37 -0700)]
Merge "Fix the build" into jb-mr1-dev

11 years agoFix the build
Fabrice Di Meglio [Thu, 18 Oct 2012 22:34:30 +0000 (15:34 -0700)]
Fix the build

- was missing a "make update-api" pass

Change-Id: I004a1650cf7946e0e8bd36d75dab81bbca80443c

11 years agoMerge "Layoutlib: Read and close XML files as soon as possible." into jb-mr1-dev
Xavier Ducrohet [Thu, 18 Oct 2012 22:27:38 +0000 (15:27 -0700)]
Merge "Layoutlib: Read and close XML files as soon as possible." into jb-mr1-dev

11 years agoMerge "Fix bug #7374285 GridLayout layout param margins are broken in RTL mode"...
Fabrice Di Meglio [Thu, 18 Oct 2012 22:23:40 +0000 (15:23 -0700)]
Merge "Fix bug #7374285  GridLayout layout param margins are broken in RTL mode" into jb-mr1-dev

11 years agoDefer layer rendering to avoid stalls
Romain Guy [Thu, 18 Oct 2012 22:05:02 +0000 (15:05 -0700)]
Defer layer rendering to avoid stalls
Bug #7326824

When a layer is taken out of the cache and initialized it gets cleared
to prepare it for future rendering. This triggers the following sequence
of operations:

glBindFramebuffer(layer.fbo)
attach texture storage to FBO
glClear()
glBindFramebuffer(defaultFbo)

The clear forces a resolve on tilers which stalls the CPU for a little
while, thus producing jank during animations. This change moves the
clear to the next frame when we know we will have to execute a resolve
anyway.

Change-Id: Ic1939c25df20ed65a4c48dc81ee549b2cd8b6ec3

11 years agoMerge "Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly...
Svetoslav Ganov [Thu, 18 Oct 2012 22:00:18 +0000 (15:00 -0700)]
Merge "Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered." into jb-mr1-dev

11 years agoMerge "When removing windows remove from resize list." into jb-mr1-dev
Craig Mautner [Thu, 18 Oct 2012 21:46:12 +0000 (14:46 -0700)]
Merge "When removing windows remove from resize list." into jb-mr1-dev

11 years agoAllow getDisplayContentLocked to return null...
Craig Mautner [Thu, 18 Oct 2012 20:55:47 +0000 (13:55 -0700)]
Allow getDisplayContentLocked to return null...

... and check for null returns. This prevents DisplayContent objects
from containing null Display references.

Bug: 7368565 fixed.
Change-Id: I830fb4c1349204c366193657a95a92c48ccee66c

11 years agoLayoutlib: Read and close XML files as soon as possible.
Xavier Ducrohet [Thu, 18 Oct 2012 01:38:49 +0000 (18:38 -0700)]
Layoutlib: Read and close XML files as soon as possible.

Because passing an InputStream to KXML does not close the
stream after the file has been parsed, the files are staying
locked on windows until the gc and finalizers are run.

This change preload the XML files and close their stream,
and then pass the content in a stream to the parser.

Change-Id: Iabe27989dc616ec9e7de88e52b1ec3af9f007f7c

11 years agoMerge "Do a clean shutdown of p2p" into jb-mr1-dev
Irfan Sheriff [Thu, 18 Oct 2012 20:44:27 +0000 (13:44 -0700)]
Merge "Do a clean shutdown of p2p" into jb-mr1-dev

11 years agoDo a clean shutdown of p2p
Irfan Sheriff [Thu, 18 Oct 2012 19:39:22 +0000 (12:39 -0700)]
Do a clean shutdown of p2p

We were doing a lazy shutdown and stopping supplicant behind p2p's back.
Make sure we stop p2p, before we go ahead with shutting down.

Bug: 7368832
Change-Id: I941e9cd69d6f27532207d3dc00b03c55c0e6335c

11 years agoFix bug #7374285 GridLayout layout param margins are broken in RTL mode
Fabrice Di Meglio [Thu, 18 Oct 2012 18:11:51 +0000 (11:11 -0700)]
Fix bug #7374285  GridLayout layout param margins are broken in RTL mode

- resolve layout params in ViewGroup when layout direction is changed
- layout param resolution is checking the previous layout direction to
check if we need to resolve

Change-Id: I70af2ad2b4ec83c2ec6c93b3ff445852500d1687

11 years agoMerge "Track size changes correctly for static wallpapers" into jb-mr1-dev
Chet Haase [Thu, 18 Oct 2012 19:57:22 +0000 (12:57 -0700)]
Merge "Track size changes correctly for static wallpapers" into jb-mr1-dev

11 years agoMerge "Changes to support updating location providers." into jb-mr1-dev
Jeff Hamilton [Thu, 18 Oct 2012 19:45:02 +0000 (12:45 -0700)]
Merge "Changes to support updating location providers." into jb-mr1-dev

11 years agoTrack size changes correctly for static wallpapers
Chet Haase [Thu, 18 Oct 2012 19:01:34 +0000 (12:01 -0700)]
Track size changes correctly for static wallpapers

Previous logic compared the surface size to the bitmap size to determine
whether to reload the bitmap. This was based on an assumption that the bitmap
would be created at the same sizea s the surface. However, the process of
how those sizes get determined is different for surfaces and wallpapers, causing
an occasional issue where the bitmap gets reloaded frequently, every time the wallpaper
is asked to redraw, even though it always gets recreated at the same size.

New logic checks previous surface dimensions against current surface dimensions to
determine whether the bitmap should be reloaded; we really only want to reload
it when the surface size changes.

Issue #7373200 pause when toggling between All Apps and Home screen; Home button stays illuminated for a long time

Change-Id: I108777b72bd42616ad7cf8274af1b3e6b2ed94e7

11 years agoam 82f0ba79: am 4a6b6948: am 07322102: revise code sample for callback interface
Scott Main [Thu, 18 Oct 2012 19:31:05 +0000 (12:31 -0700)]
am 82f0ba79: am 4a6b6948: am 07322102: revise code sample for callback interface

* commit '82f0ba79e67c154fc12a6cfde2fe1205da166b0d':
  revise code sample for callback interface

11 years agoam 64b3de29: (-s ours) am 434cd38f: Update layoutlib for jb mr1. do not merge.
Xavier Ducrohet [Thu, 18 Oct 2012 19:29:23 +0000 (12:29 -0700)]
am 64b3de29: (-s ours) am 434cd38f: Update layoutlib for jb mr1. do not merge.

* commit '64b3de296cdbc8c02e2890f8853409c6d49cddb1':
  Update layoutlib for jb mr1. do not merge.

11 years agoam 4a6b6948: am 07322102: revise code sample for callback interface
Scott Main [Thu, 18 Oct 2012 19:25:19 +0000 (12:25 -0700)]
am 4a6b6948: am 07322102: revise code sample for callback interface

* commit '4a6b69488f9fd90bbe04a930ffad8999bc93e173':
  revise code sample for callback interface

11 years agoam 434cd38f: Update layoutlib for jb mr1. do not merge.
Xavier Ducrohet [Thu, 18 Oct 2012 19:23:28 +0000 (12:23 -0700)]
am 434cd38f: Update layoutlib for jb mr1. do not merge.

* commit '434cd38f96a4a87220a8218901622f31e567354a':
  Update layoutlib for jb mr1. do not merge.

11 years agoam 07322102: revise code sample for callback interface
Scott Main [Thu, 18 Oct 2012 19:18:31 +0000 (12:18 -0700)]
am 07322102: revise code sample for callback interface

* commit '07322102e5f1877bc2860d2c72eeeb41839d6bea':
  revise code sample for callback interface

11 years agoMagnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered.
Svetoslav Ganov [Thu, 18 Oct 2012 19:14:58 +0000 (12:14 -0700)]
Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered.

1. When magnifier, if a dialog that popped up is wider than the scree we pan to its upper
   left corner. We now show the upper right corner if the locale direction is RTL.

2. Keyguard dialogs are not centered since they are used as a sign to recompute the
   magnified area but an unnecessary else statement prevents such dialogs from being
   properly show via a pan.

bug:7374331

Change-Id: I285e46b822a29f0082c502cb642f9da32dabfe6a

11 years agoMerge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev
Christopher Tate [Thu, 18 Oct 2012 19:07:03 +0000 (12:07 -0700)]
Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev

11 years agoMerge "improve some docs for dreams" into jb-mr1-dev
Scott Main [Thu, 18 Oct 2012 18:37:30 +0000 (11:37 -0700)]
Merge "improve some docs for dreams" into jb-mr1-dev

11 years agoimprove some docs for dreams
Scott Main [Tue, 9 Oct 2012 05:30:29 +0000 (22:30 -0700)]
improve some docs for dreams

Change-Id: I7652f4366cdc8c40926d7961582663cc99ca0735

11 years agoMerge "Stop reloading wallpaper bitmap" into jb-mr1-dev
Chet Haase [Thu, 18 Oct 2012 18:18:14 +0000 (11:18 -0700)]
Merge "Stop reloading wallpaper bitmap" into jb-mr1-dev

11 years agoUpdate layoutlib for jb mr1. do not merge.
Xavier Ducrohet [Wed, 17 Oct 2012 02:56:03 +0000 (19:56 -0700)]
Update layoutlib for jb mr1. do not merge.

Status bar displayed on all devices.
Update logic for displaying nav bar to whether or not
device has soft button.

Update navigation buttons to new look.
Remove battery and signal from navigation bar.

(cherry picked from commit 891b703f7b1e0e396d16477cc66a286da7161b49)

Change-Id: Id7cc9ad4255d2c4d2e6461a565dfe2cc17e12e75

11 years agoMerge "LocationManager permissions cleanup" into jb-mr1-dev
Victoria Lease [Thu, 18 Oct 2012 18:02:51 +0000 (11:02 -0700)]
Merge "LocationManager permissions cleanup" into jb-mr1-dev

11 years agoMerge "Allow services to query the info for a dying user." into jb-mr1-dev
Amith Yamasani [Thu, 18 Oct 2012 17:48:20 +0000 (10:48 -0700)]
Merge "Allow services to query the info for a dying user." into jb-mr1-dev

11 years agoMerge "Fix glitch when using settings pulldown then switching to notifications."...
Daniel Sandler [Thu, 18 Oct 2012 17:24:46 +0000 (10:24 -0700)]
Merge "Fix glitch when using settings pulldown then switching to notifications." into jb-mr1-dev

11 years agoStop reloading wallpaper bitmap
Chet Haase [Thu, 18 Oct 2012 17:11:27 +0000 (10:11 -0700)]
Stop reloading wallpaper bitmap

Typo in ImageWallpaper made a dimension check incorrect.

Issue#7373200 pause when toggling between All Apps and Home screen; Home button stays illuminated for a long time

Change-Id: I82763ac8c9ed564eba904f552975ab20c8aef932

11 years agoWhen removing windows remove from resize list.
Craig Mautner [Thu, 18 Oct 2012 16:38:10 +0000 (09:38 -0700)]
When removing windows remove from resize list.

Windows remained in the resized list if they were removed during
rotations.

Bug: 7372289 fixed.
Change-Id: I41f949b7836b08b33d4d178e9aa016548328749a

11 years agoLocationManager permissions cleanup
Victoria Lease [Tue, 16 Oct 2012 23:08:48 +0000 (16:08 -0700)]
LocationManager permissions cleanup

This commit is the result of a comprehensive permissions review for
MR1 release. It addresses a number of deviations from spec and from
MR0's behavior, bringing MR1 into sync with both.

It also cleans up the concept of "location resolution permission",
representing it internally as an enumerated access level to reduce
reliance on cumbersome string manipulation. There's a function to
convert the enum int into a permission string where needed, too.

Additionally, this confines caller-identity-sensitive calls to the
hopefully-obviously-named "getCallerAllowedResolutionLevel()". This
should make it much easier to prove correctness with respect to
accidentally calling functions that depend upon the caller's identity
after identity has already been shed by Binder.clearCallingIdentity().

Change-Id: I446169aee8fb2fde26ac6d04b479b40253782acb

11 years agoMerge "Potential fix for bug 7352816" into jb-mr1-dev
Michael Jurka [Thu, 18 Oct 2012 15:48:39 +0000 (08:48 -0700)]
Merge "Potential fix for bug 7352816" into jb-mr1-dev

11 years agoFix glitch when using settings pulldown then switching to notifications.
Daniel Sandler [Thu, 18 Oct 2012 15:44:04 +0000 (11:44 -0400)]
Fix glitch when using settings pulldown then switching to notifications.

Bug: 7348917
Change-Id: I65b51bb161934300da9ca0ebf4b184886e3e81df

11 years agoMerge "Add missing layout params" into jb-mr1-dev
Daniel Sandler [Thu, 18 Oct 2012 13:35:47 +0000 (06:35 -0700)]
Merge "Add missing layout params" into jb-mr1-dev

11 years agoMerge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 07:08:17 +0000 (00:08 -0700)]
Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev

11 years agoMerge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 07:06:47 +0000 (00:06 -0700)]
Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev

11 years agoMerge "Defer more Account actions until user starting." into jb-mr1-dev
Jeff Sharkey [Thu, 18 Oct 2012 07:00:40 +0000 (00:00 -0700)]
Merge "Defer more Account actions until user starting." into jb-mr1-dev

11 years agoChanges to support updating location providers.
Jeff Hamilton [Fri, 5 Oct 2012 19:21:58 +0000 (14:21 -0500)]
Changes to support updating location providers.

This reverts commit 20de160ca32a8f2936a80ffd70551a22e2371d25.

Bug: 7242814
Change-Id: I9ec49a14feb835b6683186fc6da4a74ae19fbae2

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Thu, 18 Oct 2012 05:23:34 +0000 (22:23 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoAllow services to query the info for a dying user.
Amith Yamasani [Thu, 18 Oct 2012 04:20:14 +0000 (21:20 -0700)]
Allow services to query the info for a dying user.

This allows services watching for USER_REMOVED to fetch the serialNumber of a dying user.

Also fix an AIOOBE when building the userId array, typically on cleanup.

Bug: 7368826
Change-Id: I24e52278af8353b5744372127da4bf4fafc89baa

11 years agoDream when user activity times out while docked if appropriate.
Jeff Brown [Thu, 18 Oct 2012 03:30:25 +0000 (20:30 -0700)]
Dream when user activity times out while docked if appropriate.

If the user has requested that dreams start when docked and a user
activity timeout occurs, then start dreaming assuming all of the
other usual conditions are appropriate for dreaming (the device is
powered, etc.).

Previously dreams only started when the device was initial docked
but not if the device fell asleep while remaining docked.

Bug: 7281240
Change-Id: I72c3f854fd1ae8e6615f4fa6e4c4ecd8de37c84b

11 years agoMerge "Call requestFocus and ensure that screenOn is set." into jb-mr1-dev
Craig Mautner [Thu, 18 Oct 2012 03:25:11 +0000 (20:25 -0700)]
Merge "Call requestFocus and ensure that screenOn is set." into jb-mr1-dev

11 years agoMerge "You can only use the 2-finger shortcut when opening the panel." into jb-mr1-dev
Daniel Sandler [Thu, 18 Oct 2012 03:01:33 +0000 (20:01 -0700)]
Merge "You can only use the 2-finger shortcut when opening the panel." into jb-mr1-dev

11 years agoAdd missing layout params
Daniel Sandler [Thu, 18 Oct 2012 02:51:27 +0000 (22:51 -0400)]
Add missing layout params

Bug: 7370474
Change-Id: I632832be22c492f006d76bfa821fd9aa48569f67

11 years agoMerge "Take into account the texture layer's transform for clipping Bug #7370212...
Romain Guy [Thu, 18 Oct 2012 02:16:11 +0000 (19:16 -0700)]
Merge "Take into account the texture layer's transform for clipping Bug #7370212" into jb-mr1-dev

11 years agoMerge "Add a notification icon when connected to wireless display." into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 01:42:25 +0000 (18:42 -0700)]
Merge "Add a notification icon when connected to wireless display." into jb-mr1-dev

11 years agoAdd special mirroring modes for demonstration purposes.
Jeff Brown [Thu, 18 Oct 2012 01:32:34 +0000 (18:32 -0700)]
Add special mirroring modes for demonstration purposes.

Assume rotation of HDMI display is portait.
$ adb shell setprop persist.demo.hdmirotation portrait

Don't lock rotation while HDMI is plugged in.
$ adb shell setprop persist.demo.hdmirotationlock false

Hide secondary displays from apps but continue mirroring to them.
$ adb shell setprop persist.demo.singledisplay true

Bug: 7326281
Change-Id: I8f9a3b0bc19821a3a01043b0f516806dac82ce53

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 18 Oct 2012 01:38:36 +0000 (18:38 -0700)]
Import translations. DO NOT MERGE

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

11 years agoTake into account the texture layer's transform for clipping
Romain Guy [Thu, 18 Oct 2012 01:18:35 +0000 (18:18 -0700)]
Take into account the texture layer's transform for clipping
Bug #7370212

Change-Id: Ibdc3161306f54a1cfe66e08458f05ee01a13b1df

11 years agoMerge "Update layoutlib for jb mr1." into jb-mr1-dev
Xavier Ducrohet [Thu, 18 Oct 2012 00:18:19 +0000 (17:18 -0700)]
Merge "Update layoutlib for jb mr1." into jb-mr1-dev

11 years agoUpdate layoutlib for jb mr1.
Xavier Ducrohet [Wed, 17 Oct 2012 02:56:03 +0000 (19:56 -0700)]
Update layoutlib for jb mr1.

Status bar displayed on all devices.
Update logic for displaying nav bar to whether or not
device has soft button.

Update navigation buttons to new look.
Remove battery and signal from navigation bar.

Change-Id: I8241d71269a17126218a3062ba727e379a8e6c25

11 years agoMerge "Revert "This restores JB MR0 behavior where the framework throws an exception...
Justin Ho [Wed, 17 Oct 2012 22:55:15 +0000 (15:55 -0700)]
Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

11 years agoRevert "This restores JB MR0 behavior where the framework throws an exception for...
Justin Ho [Wed, 17 Oct 2012 22:54:20 +0000 (15:54 -0700)]
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."

This reverts commit f49d835dfe1bd21920ff8a48cbdfb9c1fd632fd9

Change-Id: If0093f23d6458e53619220fbf0aa5f844ad2c790

11 years agoMerge "This restores JB MR0 behavior where the framework throws an exception for...
Justin Ho [Wed, 17 Oct 2012 22:53:02 +0000 (15:53 -0700)]
Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

11 years agoThis restores JB MR0 behavior where the framework throws an exception for improper...
Justin Ho [Wed, 17 Oct 2012 22:50:48 +0000 (15:50 -0700)]
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.

This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11

Change-Id: I0fe25056cd54b8852b32ae4621e048d3f5c7d555

11 years agoAdd a notification icon when connected to wireless display.
Jeff Brown [Wed, 17 Oct 2012 22:15:12 +0000 (15:15 -0700)]
Add a notification icon when connected to wireless display.

Bug: 7350174
Change-Id: I18481e2a1445b0aa3340e5d9b02511394521e50e

11 years agorevise code sample for callback interface
Scott Main [Wed, 17 Oct 2012 17:42:54 +0000 (10:42 -0700)]
revise code sample for callback interface

Change-Id: I8e27e2579dcc5cb84a71c74769fb89bb639e16ba

11 years agoCall requestFocus and ensure that screenOn is set.
Craig Mautner [Wed, 17 Oct 2012 22:20:24 +0000 (15:20 -0700)]
Call requestFocus and ensure that screenOn is set.

When maybeCreateKeyguardLocked was called from methods other than
show(), the requestFocus() call on the new KeyguardHostView was
never made.

At boot time the screen on notification was not propagated to
KeyguardViewManager because the showListener callback was null.
This passes on the notification but does not make the callback
if it is null.

Bug: 7299119 fixed.
Change-Id: Iaf058954473dc63fe4864ab1f435db4463b1110e

11 years agoMerge "Append the test case name in the beginning of the test log." into jb-mr1-dev
Yu Shan Emily Lau [Wed, 17 Oct 2012 22:06:56 +0000 (15:06 -0700)]
Merge "Append the test case name in the beginning of the test log." into jb-mr1-dev

11 years agoDefer more Account actions until user starting.
Jeff Sharkey [Wed, 17 Oct 2012 21:16:28 +0000 (14:16 -0700)]
Defer more Account actions until user starting.

Instead of explicitly scanning OWNER accounts, move to using the
"user starting" call path for consistency.

Bug: 7358086
Change-Id: Ied3289a074aafa48259d828db1d68804912589b3

11 years agoMerge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 21:52:47 +0000 (14:52 -0700)]
Merge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev

11 years agoFix for previous commit on non-interesecting invalidations
Chet Haase [Wed, 17 Oct 2012 21:14:56 +0000 (14:14 -0700)]
Fix for previous commit on non-interesecting invalidations

An error in the logic meant that some valid invalidations weren't getting through,
causing Launcher (for one) to get stuck sometimes.

Change-Id: I180622623b19770cd61034a5bd7991a5e2fd0a64

11 years agoAppend the test case name in the beginning
Yu Shan Emily Lau [Wed, 17 Oct 2012 21:36:37 +0000 (14:36 -0700)]
Append the test case name in the beginning
of the test log.

Change-Id: I621286274d84bfff474f1cc1e01353b3fd66dc23

11 years agoMerge "Fix javadoc" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 21:36:18 +0000 (14:36 -0700)]
Merge "Fix javadoc" into jb-mr1-dev

11 years agoChange android.permission.SERIAL_PORT to signature|system.
Geremy Condra [Wed, 17 Oct 2012 21:06:31 +0000 (14:06 -0700)]
Change android.permission.SERIAL_PORT to signature|system.

Bug: 7367956
Change-Id: I0bc65936ba59c43c18d9a6ba52affff4c921f2fb

11 years agoMerge "Update Arabic fonts to remove Rial ligature" into jb-mr1-dev
Raph Levien [Wed, 17 Oct 2012 21:04:36 +0000 (14:04 -0700)]
Merge "Update Arabic fonts to remove Rial ligature" into jb-mr1-dev

11 years agoMerge "Show clear all when returning from flip quick settings." into jb-mr1-dev
Mike Cleron [Wed, 17 Oct 2012 20:46:18 +0000 (13:46 -0700)]
Merge "Show clear all when returning from flip quick settings." into jb-mr1-dev

11 years agoShow clear all when returning from flip quick settings.
Daniel Sandler [Wed, 17 Oct 2012 20:42:36 +0000 (16:42 -0400)]
Show clear all when returning from flip quick settings.

Bug: 7367906
Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9

11 years agoSanity-check erroneous backup agent instantiations
Christopher Tate [Tue, 16 Oct 2012 02:20:25 +0000 (19:20 -0700)]
Sanity-check erroneous backup agent instantiations

Two distinct changes:

Fix a bug seen in the wild where a newly-launched application will be
spuriously asked to instantiate a backup agent.  What was happening
there is that some Activity Manager state was being left stale in certain
circumstances, and then in combination with app uninstall / install, there
could be a case where uid reuse wound up looking like an app identity
match.

We now positively verify before instantiating the agent that the intended
backup target package is uid-compatible with the app process that the
instantiation was requested of.  The incomplete bookkeeping in the
Activity Manager has also been tightened up, and the Backup Manager is
more aggressive about cleaning up pending operations pertaining to
apps being uninstalled.

Bug 5874010

Change-Id: Ic389f4a96c9dcd0ba6b3962b579084033d8ae9f8

11 years agoYou can only use the 2-finger shortcut when opening the panel.
Daniel Sandler [Wed, 17 Oct 2012 19:39:28 +0000 (15:39 -0400)]
You can only use the 2-finger shortcut when opening the panel.

Bug: 7348917
Change-Id: I585c57f5eede72801fe1547d774c75256a0824b0

11 years agoMerge "Handle null BSSID" into jb-mr1-dev
Irfan Sheriff [Wed, 17 Oct 2012 19:48:38 +0000 (12:48 -0700)]
Merge "Handle null BSSID" into jb-mr1-dev

11 years agoMerge "Fix connectivity manager test for tablet with data connection, multi-user...
Xia Wang [Wed, 17 Oct 2012 19:39:57 +0000 (12:39 -0700)]
Merge "Fix connectivity manager test for tablet with data connection, multi-user support bug#7366674" into jb-mr1-dev

11 years agoMerge "More descriptive content description for quick settings toggle. Bug: 7362316...
Svetoslav Ganov [Wed, 17 Oct 2012 19:39:18 +0000 (12:39 -0700)]
Merge "More descriptive content description for quick settings toggle. Bug: 7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf" into jb-mr1-dev

11 years agoMerge "Skip drawing offscreen objects" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 19:36:23 +0000 (12:36 -0700)]
Merge "Skip drawing offscreen objects" into jb-mr1-dev

11 years agoMerge "Enable mipmapping, without a deadlock this time Bug #7353771" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 19:32:50 +0000 (12:32 -0700)]
Merge "Enable mipmapping, without a deadlock this time Bug #7353771" into jb-mr1-dev

11 years agoEnable mipmapping, without a deadlock this time
Romain Guy [Wed, 17 Oct 2012 19:14:11 +0000 (12:14 -0700)]
Enable mipmapping, without a deadlock this time
Bug #7353771

Change-Id: I89a08a58608e374f1c604a26ee0769d5850b2f7b