9611 Commits

Author SHA1 Message Date
Craig Mautner
e184c05b55 am d672b241: Merge "Fix power manager issues." into jb-dev
* commit 'd672b241f6720201e3b8f613363d71e4291b8597':
  Fix power manager issues.
2012-06-02 11:26:07 -07:00
Craig Mautner
d672b241f6 Merge "Fix power manager issues." into jb-dev 2012-06-02 11:24:29 -07:00
Daniel Sandler
0d3619860b am 90c31f8b: am 01827ce9: Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev
* commit '90c31f8b769b3e2f24441754c403cc07ca9e936d':
  Be more discriminating when canceling notifications on changing packages.
2012-06-02 08:20:49 -07:00
Svetoslav Ganov
97018140fe am b6001195: am 6acca244: Merge "Cannot double tap and hold outside of the input focused window." into jb-dev
* commit 'b6001195f38725cf151933a69633ac404949881d':
  Cannot double tap and hold outside of the input focused window.
2012-06-02 08:20:41 -07:00
Jeff Brown
271bc78a2c am 8363fb73: am 40ba4dad: Merge "Add a thread to handle the radio shutdown." into jb-dev
* commit '8363fb73b568d506645602c6489ce955cddde10d':
  Add a thread to handle the radio shutdown.
2012-06-02 08:20:24 -07:00
Dianne Hackborn
84375876fc Work on issue #6579997: Mariner entrance animation
Add a new variation of ActivityOptions that allows you to
supply custom animation resources and get a callback when the
animation starts.

Use this in SearchPanelView to determine when to start hiding
the search panel instead of having a fixed delay.

Fix some issues in the activity manager where we would cancel
the options in cases where we should actually keep them to give
to the window manager for a transition.  (Basically when the
activity being started is not actually ending up launched, but
just results in a shift in the activity stack.)

Note that this is not quite what the design calls for -- the
entire search UI is waiting and then disappearing when the
animation starts, instead of the ring first disappearing while
waiting for the time to fade out the circle.

Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f
2012-06-01 19:13:55 -07:00
Daniel Sandler
90c31f8b76 am 01827ce9: Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev
* commit '01827ce9f2d5f4441c7f7b0211d2739824320daf':
  Be more discriminating when canceling notifications on changing packages.
2012-06-01 19:01:53 -07:00
Svetoslav Ganov
b6001195f3 am 6acca244: Merge "Cannot double tap and hold outside of the input focused window." into jb-dev
* commit '6acca2442572a28b7d9428e5e2fc2aa4271e29f9':
  Cannot double tap and hold outside of the input focused window.
2012-06-01 19:01:40 -07:00
Jeff Brown
8363fb73b5 am 40ba4dad: Merge "Add a thread to handle the radio shutdown." into jb-dev
* commit '40ba4dad4c56b8a7fbae4a93a6e5385993301ad4':
  Add a thread to handle the radio shutdown.
2012-06-01 19:00:49 -07:00
Craig Mautner
d29568cf5f Fix power manager issues.
1. If a new brightness animation is started while an unrelated one is
ongoing complete the old animation immediately. Unrelated means that
the old and new animations apply to different devices (button,
keyboard, or screen).

2. Do not interpret turning off the keyboard or button lights as
turning off the screen in isScreenTurningOffLocked().

Fixes bug 6519847.

Change-Id: I53a20951036bcdb793daeff84a9ebeed44be01fc
2012-06-01 16:02:47 -07:00
Daniel Sandler
01827ce9f2 Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev 2012-06-01 14:31:05 -07:00
Svetoslav Ganov
6acca24425 Merge "Cannot double tap and hold outside of the input focused window." into jb-dev 2012-06-01 14:19:05 -07:00
Svetoslav Ganov
238099c0db Cannot double tap and hold outside of the input focused window.
1. The long press routine was using the coordintates of the
   accessibility focused item in the input focused window.
   As a result double tap and hold did not work in a window
   that does not take input focus such as the system bar.
   Now the routine is using the last touch explored location
   if it cannot find accessibility focus in the last touched
   window.

bug:6584438

Change-Id: Ifd43adb20a066f389a9d4bd5716dd7ad834dd574
2012-06-01 13:59:28 -07:00
Daniel Sandler
26ece57dad Be more discriminating when canceling notifications on changing packages.
Specifically: don't do it if the package is enabled at the
time the PACKAGE_CHANGED broadcast is sent. (We only want to
cancel notifications when packages enter the disabled
state.)

Bug: 6589355
Change-Id: Iba754cef27e2bdff35a13e403a867933c996f562
2012-06-01 16:26:46 -04:00
Jeff Brown
40ba4dad4c Merge "Add a thread to handle the radio shutdown." into jb-dev 2012-06-01 12:47:07 -07:00
Dianne Hackborn
c3d808b3c0 am c3895253: am d53710ce: Merge "Extend process observer to be usable for media routing." into jb-dev
* commit 'c3895253bb833611df8c8f62347ede70153eb5b9':
  Extend process observer to be usable for media routing.
2012-05-31 19:11:26 -07:00
Dianne Hackborn
c3895253bb am d53710ce: Merge "Extend process observer to be usable for media routing." into jb-dev
* commit 'd53710ce644e7f1df417a8fe42ec26233a751b2e':
  Extend process observer to be usable for media routing.
2012-05-31 19:07:03 -07:00
Jeff Brown
f2ba13210e Clamp the minimum screen brightness.
Change-Id: Ief16f2b429f67cfb50877d24281401d7d4fcc4db
2012-05-31 19:00:01 -07:00
Dianne Hackborn
a93c2c117d Extend process observer to be usable for media routing.
It now has a new callback to report changes in the "importance"
of processes.  Rewrote the dispatching code to be a bit more
efficient now that we are sending more reports.

Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
2012-05-31 18:58:34 -07:00
Jeff Brown
b8203719bd Add a thread to handle the radio shutdown.
Protect the ShutdownThread from possible hangs in the telephony,
Bluetooth or NFC stack while turning off the radios.

Bug: 6585958
Change-Id: I6b448c854c5a0efb0eedd90437853ef2571e785b
2012-05-31 18:37:34 -07:00
Dianne Hackborn
d2cf399e5d am ce2907b1: am f0e96de8: Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev
* commit 'ce2907b1b6bf58cae681f1f009e4b308174c9a1e':
  Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
2012-05-31 18:06:07 -07:00
Dianne Hackborn
ce2907b1b6 am f0e96de8: Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev
* commit 'f0e96de863a06bbee2aaf2aeb0f586e2a434aa62':
  Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
2012-05-31 17:41:47 -07:00
Dianne Hackborn
f0e96de863 Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev 2012-05-31 17:38:42 -07:00
Dianne Hackborn
a3a041d55b Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
Don't count an activity as a system dialog to be closed, if it is the
one that asked to have system dialogs closed.

Change-Id: I60bb194adde78dc3ac0a4d9b0c1dfbabd105e594
2012-05-31 16:18:21 -07:00
Craig Mautner
b138995f6c am 41efed0e: am 35c60c94: Merge "Use Surface layer for Surface operation." into jb-dev
* commit '41efed0ecc07e1d79ee9112c8f64325fbceab44c':
  Use Surface layer for Surface operation.
2012-05-31 15:43:52 -07:00
Craig Mautner
41efed0ecc am 35c60c94: Merge "Use Surface layer for Surface operation." into jb-dev
* commit '35c60c944a9350d6240673e157fe06a97fb24180':
  Use Surface layer for Surface operation.
2012-05-31 15:38:51 -07:00
Craig Mautner
35c60c944a Merge "Use Surface layer for Surface operation." into jb-dev 2012-05-31 15:35:56 -07:00
Craig Mautner
881656831c Use Surface layer for Surface operation.
Previous fix exposed an existing bug where we were using mAnimLayer to
determine the highest Surface layer. This fix uses mSurfaceLayer to set
the layer limits for making the screenshot.

Fixes bug 6586168.

Change-Id: Iaa3b43867aef795ca617ff4b8076428dfc91eaf2
2012-05-31 14:25:31 -07:00
Craig Mautner
225fef5e3e am c3dfaf8d: am a13b4da6: Merge "Fix initial brightness state after startup." into jb-dev
* commit 'c3dfaf8d587d3ea4ffd62377ec6041ad70fc152a':
  Fix initial brightness state after startup.
2012-05-31 13:13:23 -07:00
Craig Mautner
c3dfaf8d58 am a13b4da6: Merge "Fix initial brightness state after startup." into jb-dev
* commit 'a13b4da68d8df0977c8dec5001de7c9ecea71d9e':
  Fix initial brightness state after startup.
2012-05-31 13:09:48 -07:00
Craig Mautner
a13b4da68d Merge "Fix initial brightness state after startup." into jb-dev 2012-05-31 13:07:03 -07:00
Craig Mautner
af01fe0215 Fix initial brightness state after startup.
Setting of mInitialAnimation member was assuming that currentValue
member would only be 0 at boot. It also gets set to 0 when the
sensor goes dark. This fix removes mInitialValue reliance on
currentValue.

Fixes bug 6444319.

Change-Id: I27069f1b44f1f727533d34bbecad2e5aeaa7aab8
2012-05-31 10:03:32 -07:00
John Spurlock
b84814b279 am 60dbc3c0: am e857632a: Merge "Dock: Renable desk-dock apps" into jb-dev
* commit '60dbc3c05c644ae057c4946f1229387e60be8cb3':
  Dock: Renable desk-dock apps
2012-05-31 08:53:10 -07:00
John Spurlock
60dbc3c05c am e857632a: Merge "Dock: Renable desk-dock apps" into jb-dev
* commit 'e857632abd994bd1e4a649afb4231f3a97763828':
  Dock: Renable desk-dock apps
2012-05-31 08:49:24 -07:00
John Spurlock
e857632abd Merge "Dock: Renable desk-dock apps" into jb-dev 2012-05-31 08:44:47 -07:00
Eric Laurent
846890957d am c383b407: am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'c383b407ad24474b87de68f93ea95de495f6d2c1':
  Send device connection intents from AudioService
2012-05-31 08:29:29 -07:00
Eric Laurent
c383b407ad am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'cee7203f9ac3e54f39b5f528e014f2d3583f60dc':
  Send device connection intents from AudioService
2012-05-31 08:25:33 -07:00
Eric Laurent
cee7203f9a Merge "Send device connection intents from AudioService" into jb-dev 2012-05-31 08:22:50 -07:00
Mathias Agopian
414a57d51e am 1a7d90c4: am 7f651969: Merge "fix a potential buffer overflow in sensorservice" into jb-dev
* commit '1a7d90c42ad682c8f5c6afc8c4975396380918d5':
  fix a potential buffer overflow in sensorservice
2012-05-30 19:21:34 -07:00
Mathias Agopian
1a7d90c42a am 7f651969: Merge "fix a potential buffer overflow in sensorservice" into jb-dev
* commit '7f6519691fdd8062a090de74cfc5d2a906f9e5f6':
  fix a potential buffer overflow in sensorservice
2012-05-30 19:16:47 -07:00
Svetoslav Ganov
2d9f96bf45 am 191e7c5a: am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev
* commit '191e7c5a4959e4c16154ade5d1ceb277ef31021e':
  Ask to enable touch exploration only the first time it enables the feature.
2012-05-30 19:13:29 -07:00
Mathias Agopian
7f6519691f Merge "fix a potential buffer overflow in sensorservice" into jb-dev 2012-05-30 19:11:33 -07:00
Svetoslav Ganov
191e7c5a49 am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev
* commit '758534ed50d1d2c643999bd7eb3f909b0834e393':
  Ask to enable touch exploration only the first time it enables the feature.
2012-05-30 19:08:52 -07:00
Svetoslav Ganov
758534ed50 Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev 2012-05-30 19:06:23 -07:00
Svetoslav Ganov
9a4c5cd191 Ask to enable touch exploration only the first time it enables the feature.
1. Now we are asking the user to grant permission to the service to enable
   touch exploration only the first time this service is enabled. If the
   service was uninstalled and then later installed we ask the user again.
   This avoids the scenario in which rebooting the device or upgrading an
   accessibility service leaves the device in a state in which the user
   cannot interact with.

bug:6582088

Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
2012-05-30 18:41:08 -07:00
Mathias Agopian
acd31516c6 fix a potential buffer overflow in sensorservice
Bug: 6580560
Change-Id: Icf6cafbca09174515a964a7cd69d8cc589ad52de
2012-05-30 18:08:30 -07:00
Dianne Hackborn
8b3b8fc4aa am d89e3b77: am efc620a8: Merge "Add time stamp to content provider connection." into jb-dev
* commit 'd89e3b77fe3192caae079d295e954517fe1843de':
  Add time stamp to content provider connection.
2012-05-30 17:27:11 -07:00
Dianne Hackborn
d89e3b77fe am efc620a8: Merge "Add time stamp to content provider connection." into jb-dev
* commit 'efc620a8b905fbe0903b8bac6ecfe91fda6f03be':
  Add time stamp to content provider connection.
2012-05-30 17:23:20 -07:00
Dianne Hackborn
efc620a8b9 Merge "Add time stamp to content provider connection." into jb-dev 2012-05-30 17:20:28 -07:00
Dianne Hackborn
d9137ca87e Add time stamp to content provider connection.
For help in tracking down memory use issues, seeing how long
a connection has been held that is keeping other processes around.

Let's call this for issue #6577613: Unbelievably sluggish nexus-S

Change-Id: Ia3d016c5ed9d2155eea18ec884047e1e1d8a0ad5
2012-05-30 15:29:36 -07:00