7383 Commits

Author SHA1 Message Date
Dianne Hackborn
04d98fb638 am 67c5b125: Merge "Fix issue #5321282: Force Stop Button in Battery Screen Not disabled correctly"
* commit '67c5b1251178532726964c2e0f4229d079ff0a3e':
  Fix issue #5321282: Force Stop Button in Battery Screen Not disabled correctly
2011-09-23 12:58:33 -07:00
Dianne Hackborn
67c5b12511 Merge "Fix issue #5321282: Force Stop Button in Battery Screen Not disabled correctly" 2011-09-23 12:56:42 -07:00
Kenny Root
e327fe4611 am 3f816086: Merge "Less verbose message when dexopt non-APK"
* commit '3f8160868003eb2525e5a69ed6b0a1790a30cd1b':
  Less verbose message when dexopt non-APK
2011-09-23 12:51:17 -07:00
Kenny Root
fec5e75c96 Less verbose message when dexopt non-APK
The message when something is not an APK that is submitted for dexopt is
not extremely helpful. Make it more precise and remove the useless
traceback.

Change-Id: Ibb34b2b2c10ee28ea98662c3f6fd070529cf8c4f
2011-09-23 10:13:06 -07:00
Robert Greenwalt
097e5f3710 am 511ecc8c: am b849074c: Merge "Tell the resolver what protocols to use." into ics-factoryrom
* commit '511ecc8cf9f1b0660c4284f667cbc3807d2ebf82':
  Tell the resolver what protocols to use.
2011-09-22 23:44:49 -07:00
Robert Greenwalt
511ecc8cf9 am b849074c: Merge "Tell the resolver what protocols to use." into ics-factoryrom
* commit 'b849074cb58edc15b0764afdde0326c0b6d5b147':
  Tell the resolver what protocols to use.
2011-09-22 23:39:53 -07:00
Mathias Agopian
64fd7c7a10 am 0c92e4d7: Merge "don\'t clear the framebuffer when the framebuffer is not used"
* commit '0c92e4d7474be3acf08038073d0e3b26ea643884':
  don't clear the framebuffer when the framebuffer is not used
2011-09-22 21:04:22 -07:00
Mathias Agopian
7c1af6d31d am 9f12c8b4: Merge "fix dumpsys wording for h/w composer"
* commit '9f12c8b47bc5d7ba12de90df78c026d93da5231d':
  fix dumpsys wording for h/w composer
2011-09-22 21:02:27 -07:00
Mathias Agopian
0c92e4d747 Merge "don't clear the framebuffer when the framebuffer is not used" 2011-09-22 21:01:21 -07:00
Mathias Agopian
9f12c8b47b Merge "fix dumpsys wording for h/w composer" 2011-09-22 21:00:49 -07:00
Mathias Agopian
9fe96541c3 don't clear the framebuffer when the framebuffer is not used
when areas of the FB are undefined (transparent windows on top of
nothing), we clear those areas before composition.
however, it makes no sense to do this when the FB is not in use
(case where hwc handles all layers)

Bug: 5360529
Change-Id: If51bb669307e8419bbe1f3a89d1c88e0ec1f216c
2011-09-22 20:57:04 -07:00
Dianne Hackborn
80a7ac1063 Fix issue #5321282: Force Stop Button in Battery Screen Not disabled correctly
If the app had activities still finishing, when we checked whether it was
now stopped we would get told no.  Also some other improvements:

- Schedule an idle as part of the force stop, to get any finishing
  activities out of the stack soon rather than waiting for some activity
  to idle.
- Don't filter out stopped system apps.  This is dangerous because
  system apps may have no way for the user to explicitly launch them,
  so they could get put into a stopped state for which there is no way
  to get them out.  Also if the user really wants a system app to not
  run, the new disabling mechanism is more appropriate.

Change-Id: I34003f21dac29e2ca0f66a23b88c710de41bab99
2011-09-22 18:32:52 -07:00
Robert Greenwalt
b849074cb5 Merge "Tell the resolver what protocols to use." into ics-factoryrom 2011-09-22 16:57:43 -07:00
Robert Greenwalt
d90c611a59 Tell the resolver what protocols to use.
Stop guessing based on the connectivity of the default route and use the correct
v4/v6 proto for your pid.

bug:5284168
Change-Id: Ife82a8d8e54c0ace2bc9e8a624b11d29a4e285e2
2011-09-22 16:43:15 -07:00
Jason Simmons
8e64fca6f1 resolved conflicts for merge of fb49cd95 to ics-aah
Change-Id: I55cfbddf87914bbdb74998b1676b245182f3a6fd
2011-09-22 16:36:14 -07:00
Mathias Agopian
c4f5d5a0df fix dumpsys wording for h/w composer
Change-Id: Iaa1094964f2fb83da491e23b9309f7690079c17e
2011-09-22 16:26:39 -07:00
Dianne Hackborn
fb49cd9539 Merge "Fix issue #5355844: PowerManager does not call screenTurningOn after boot." 2011-09-22 15:06:23 -07:00
Dianne Hackborn
400110902e Fix issue #5355844: PowerManager does not call screenTurningOn after boot.
Be more explicit about initialization -- power manager never sends
screen update when first initializing, phone window manager retreives
current screen state and applies that itself when initializing.

Change-Id: I8294ed36d700e186c1637754df8c8183721c15dd
2011-09-22 13:37:48 -07:00
Wink Saville
7945cabb7f am 94097b44: am 904fb9d7: Merge "Notify people of empty proxies too." into ics-factoryrom
* commit '94097b44b86f15d2581af5f3df21b5afcab27d01':
  Notify people of empty proxies too.
2011-09-22 10:55:32 -07:00
Wink Saville
94097b44b8 am 904fb9d7: Merge "Notify people of empty proxies too." into ics-factoryrom
* commit '904fb9d79cc72879e4c6767c219ec78feda8e62b':
  Notify people of empty proxies too.
2011-09-22 10:53:40 -07:00
Wink Saville
904fb9d79c Merge "Notify people of empty proxies too." into ics-factoryrom 2011-09-22 10:52:25 -07:00
Jeff Brown
088663e846 am a829e166: Merge "Handle orientation changes more systematically. Bug: 4981385"
* commit 'a829e16681903e6a41901145195f88bf9d952f88':
  Handle orientation changes more systematically. Bug: 4981385
2011-09-21 21:11:37 -07:00
Jeff Brown
a829e16681 Merge "Handle orientation changes more systematically. Bug: 4981385" 2011-09-21 21:09:10 -07:00
Jeff Brown
01a98ddbdf Handle orientation changes more systematically.
Bug: 4981385

Simplify the orientation changing code path in the
WindowManager.  Instead of the policy calling setRotation()
when the sensor determined orientation changes, it calls
updateRotation(), which figures everything out.  For the most
part, the rotation actually passed to setRotation() was
more or less ignored and just added confusion, particularly
when handling deferred orientation changes.

Ensure that 180 degree rotations are disallowed even when
the application specifies SCREEN_ORIENTATION_SENSOR_*.
These rotations are only enabled when docked upside-down for
some reason or when the application specifies
SCREEN_ORIENTATION_FULL_SENSOR.

Ensure that special modes like HDMI connected, lid switch,
dock and rotation lock all cause the sensor to be ignored
even when the application asks for sensor-based orientation
changes.  The sensor is not relevant in these modes because
some external factor (or the user) is determining the
preferred rotation.

Currently, applications can still override the preferred
rotation even when there are special modes in play that
might say otherwise.  We could tweak this so that some
special modes trump application choices completely
(resulting in a letter-boxed application, perhaps).
I tested this sort of tweak (not included in the patch)
and it seems to work fine, including transitions between
applications with varying orientation.

Delete dead code related to animFlags.

Handle pausing/resuming orientation changes more precisely.
Ensure that a deferred orientation change is performed when
a drag completes, even if endDragLw() is not called because the
drag was aborted before the drop happened.  We pause
the orientation change in register() and resume in unregister()
because those methods appear to always be called as needed.

Change-Id: If0a31de3d057251e581fdee64819f2b19e676e9a
2011-09-21 19:26:15 -07:00
Kenny Root
d5ebd5694f am 0d3647dc: am 9c711282: Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom
* commit '0d3647dc00849872ec5e18cce8ffe0e6ae02dd47':
  Unhide new PackageManager APIs for API 14
2011-09-21 19:10:58 -07:00
Kenny Root
0d3647dc00 am 9c711282: Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom
* commit '9c711282ad234e104c34eb4408d85fc1bb149ded':
  Unhide new PackageManager APIs for API 14
2011-09-21 18:56:52 -07:00
Dianne Hackborn
0a4300b79f am 04ef5b8d: Merge "Fix issue #5253941: ICS ignoring provider\'s android:process flag"
* commit '04ef5b8dd7262ee90b56df9c992f103695d0a21c':
  Fix issue #5253941: ICS ignoring provider's android:process flag
2011-09-21 17:33:16 -07:00
Jason Simmons
ce0305c91e resolved conflicts for merge of 6bba4afa to ics-aah
Change-Id: I3eb41abb3908b0067744df7f84630e6bc483828c
2011-09-21 17:09:28 -07:00
Robert Greenwalt
0e09082559 Notify people of empty proxies too.
We were telling people when the proxy changed, except if it was changed to null.
bug:5263946

Change-Id: I83416dac8fe992168a8aafd5676f9faee4e484d0
2011-09-21 16:37:34 -07:00
Kenny Root
9c711282ad Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom 2011-09-21 16:35:52 -07:00
Dianne Hackborn
04ef5b8dd7 Merge "Fix issue #5253941: ICS ignoring provider's android:process flag" 2011-09-21 16:19:45 -07:00
Dianne Hackborn
6bba4afaa4 Merge "Improvements to power manager turning on screen." 2011-09-21 16:18:38 -07:00
Dianne Hackborn
2a6bcda03b Fix issue #5253941: ICS ignoring provider's android:process flag
Provider was not being removed from the class map because it was using
the wrong key.  D'oh.

Also a little cleanup.

Change-Id: I318e8b1a265318ac1474e0a7f14f27f89f357505
2011-09-21 15:07:05 -07:00
Wink Saville
0db163c9aa am d30f7372: am 4aa8d943: Merge "Reduce connectivity logging" into ics-factoryrom
* commit 'd30f73725bf6f7b668244a0e51245a85005c3e9f':
  Reduce connectivity logging
2011-09-21 14:16:10 -07:00
Wink Saville
d30f73725b am 4aa8d943: Merge "Reduce connectivity logging" into ics-factoryrom
* commit '4aa8d943a970008915b703758743b107927d96fa':
  Reduce connectivity logging
2011-09-21 14:14:28 -07:00
Wink Saville
4aa8d943a9 Merge "Reduce connectivity logging" into ics-factoryrom 2011-09-21 14:12:42 -07:00
Dianne Hackborn
beae3bd6d3 Improvements to power manager turning on screen.
The keyguard/window manager recently got a facility to report when it is
okay to turn the screen on, when it knows the lock screen is displayed.

The power manager was using this wrong, just using it to drive the
flags given to the input system.  Duh.

This change now uses the information to determine when to turn the screen
brightness up from 0.  For an OLED screen, this is the time when the
user can actually see anything on the screen.

For LCD screens this may not be optimal, because the LCD may start running
before its backlight is turned on, so if you look carefully you may see
stuff before it is lit up.  On the other hand, it is good to turn on the
display as early as possible (before waiting for the keyguard) because it
can take a little bit of time to get that and the touch screen going.  By
only waiting on the display brightness, we allow turning on the screen
in the kernel to proceed in parallel with ensuring the keyguard is displayed.

Change-Id: I7ee4ce19fd4efd5b51872b855af6263f53cd6c30
2011-09-21 13:15:02 -07:00
Wink Saville
c9acde9aa6 Reduce connectivity logging
Change-Id: I5d45b8fbcd01e42df7f2b1cf02fb5b226128abb8
2011-09-21 11:05:43 -07:00
Mathias Agopian
6db5b55f7c Merge changes I3f0e01b0,I946cbc78,I9d3ad801 into ics-factoryrom
* changes:
  fix transition from full overlays to fb
  rename mInvalidRegion to mSwapRegion
  improve hwc dumpsys
2011-09-20 18:26:05 -07:00
Amith Yamasani
1bcdd1f2dc am fb528820: am 9fdba999: Merge "If "Pulse notification light" is off, don\'t flash the LED even once." into ics-factoryrom
* commit 'fb528820c7adeb6390ba80ddbe5ae306f3dbd52e':
  If "Pulse notification light" is off, don't flash the LED even once.
2011-09-20 18:09:15 -07:00
Amith Yamasani
fb528820c7 am 9fdba999: Merge "If "Pulse notification light" is off, don\'t flash the LED even once." into ics-factoryrom
* commit '9fdba9997df17d2ae6d7ddc44513f67f12f81c88':
  If "Pulse notification light" is off, don't flash the LED even once.
2011-09-20 18:07:50 -07:00
Svetoslav Ganov
947f58e31d am 4a03e91a: Merge "System not checking if enabled services are installed when disabling accessibility."
* commit '4a03e91aa0d1033261290d11b00ca5a269bb92f6':
  System not checking if enabled services are installed when disabling accessibility.
2011-09-20 18:02:31 -07:00
Svetoslav Ganov
4a03e91aa0 Merge "System not checking if enabled services are installed when disabling accessibility." 2011-09-20 18:00:26 -07:00
Mathias Agopian
661a1bf033 fix transition from full overlays to fb
we need to clear the whole framebuffer in that situation because
we can't trust the content of the FB when partial (fb preserving)
updates are used.

Bug: 5318492

Change-Id: I3f0e01b0fb665a34e44d88ad9f0f54a5d990060b
2011-09-20 17:57:55 -07:00
Mathias Agopian
bdb20c506a am a1d27907: Merge "fix transition from full overlays to fb"
* commit 'a1d2790747d092ae9bd4db64ecde2d9d975d9996':
  fix transition from full overlays to fb
2011-09-20 17:57:27 -07:00
Mathias Agopian
97911723a3 rename mInvalidRegion to mSwapRegion
Change-Id: I946cbc782c0c84645843ea44c3d8b04a0a2fe658
2011-09-20 17:57:27 -07:00
Mathias Agopian
b8c4fcbb3e am 940647ac: Merge "rename mInvalidRegion to mSwapRegion"
* commit '940647ac8940f480f69f8ba34bcf85e8f504fbaf':
  rename mInvalidRegion to mSwapRegion
2011-09-20 17:57:25 -07:00
Mathias Agopian
53bbe76433 am b165ad8b: Merge "improve hwc dumpsys"
* commit 'b165ad8be0eec97a5b6e398158ea7e06a0fec730':
  improve hwc dumpsys
2011-09-20 17:57:23 -07:00
Mathias Agopian
951c12efd6 improve hwc dumpsys
we now log the buffer's format

Change-Id: I9d3ad8018e884240a153de3baefb6331cb014d0f
2011-09-20 17:57:15 -07:00
Mathias Agopian
88cde07df0 fix transition from full overlays to fb
we need to clear the whole framebuffer in that situation because
we can't trust the content of the FB when partial (fb preserving)
updates are used.

Bug: 5318492

Change-Id: I3f0e01b0fb665a34e44d88ad9f0f54a5d990060b
2011-09-20 17:53:33 -07:00