380 Commits

Author SHA1 Message Date
Joe Onorato
b41c0dc334 am 83cf383b: Close the global actions menu when the screen goes off.
Merge commit '83cf383bf462ecb53b4233fc3ae7f1202938d80b'

* commit '83cf383bf462ecb53b4233fc3ae7f1202938d80b':
  Close the global actions menu when the screen goes off.
2009-07-17 15:43:01 -07:00
Joe Onorato
78866b1e07 Close the global actions menu when the screen goes off.
Previously, the global actions menu was closed when the keyguard was shown, but
when the menu was shown from within the keyguard, it wasn't closed ever again
when the screen goes off.  That had the result that if your pocket managed to
bring up the dialog, the menu would likely never go away on its own, and
eventually do something awful like go into airplane mode.
2009-07-17 13:09:27 -04:00
Android (Google) Code Review
36c7b19264 Merge change 7362
* changes:
  Disable fallback screen that asks for usr/pwd if we have SAML accounts which require web login.
2009-07-15 13:15:08 -07:00
Ilia Tulchinsky
24cfa450fa Disable fallback screen that asks for usr/pwd if we have SAML accounts which require web login. 2009-07-14 20:53:39 -07:00
Karl Rosaen
6bc6a508f6 am 5785bc2d: Dismiss system windows when search is launched.
Merge commit '5785bc2dad36c7ad34a548865ba77c04c46ed097'

* commit '5785bc2dad36c7ad34a548865ba77c04c46ed097':
  Dismiss system windows when search is launched.
2009-07-14 15:06:42 -07:00
Karl Rosaen
32a9cd8f69 Dismiss system windows when search is launched. 2009-07-14 14:57:47 -07:00
Joe Onorato
bea76ea3d0 am 7db439ee: Fix bug 1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
Merge commit '7db439ee518b97881625f13ee738ecb891b573a8'

* commit '7db439ee518b97881625f13ee738ecb891b573a8':
  Fix bug 1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
2009-07-06 12:43:30 -07:00
Joe Onorato
f46d2db932 Fix bug 1317754 - "Idle screen displays "Charging (100%)" even when fully charged." 2009-07-06 15:02:38 -04:00
Dianne Hackborn
c3978f40b6 am ea85711f: Remove unnused variable.
Merge commit 'ea85711f1bba755e55439f7d1471067167cc15b3'

* commit 'ea85711f1bba755e55439f7d1471067167cc15b3':
  Remove unnused variable.
2009-06-29 20:20:05 -07:00
Dianne Hackborn
0a88e648b5 Remove unnused variable. 2009-06-26 18:19:32 -07:00
Karl Rosaen
61c2cb6f22 am ee09f4ad: Fix case where the lock screen information won\'t fit on screen.
Merge commit 'ee09f4ad02d04066e2ded84471e1940e91d458c8'

* commit 'ee09f4ad02d04066e2ded84471e1940e91d458c8':
  Fix case where the lock screen information won't fit on screen.
2009-06-24 13:12:24 -07:00
Android (Google) Code Review
4c72461b9a am 7baa113d: Merge change 5165 into donut
Merge commit '7baa113d5793e5cf9df15c8ffdac117672ee8af0'

* commit '7baa113d5793e5cf9df15c8ffdac117672ee8af0':
  When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
2009-06-24 13:12:23 -07:00
Karl Rosaen
3af5ee44a4 Fix case where the lock screen information won't fit on screen.
The case is in landscape, 'next alarm' showing, and the plmn is showing.
In this case, don't show the next alarm.
2009-06-23 18:21:46 -07:00
Android (Google) Code Review
ec5879f664 Merge change 5165 into donut
* changes:
  When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
2009-06-23 18:02:32 -07:00
Karl Rosaen
50645d4a09 When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
This is to make it clearer to users that they can still place an emergency call using the dialer
even with no SIM card.
2009-06-23 17:54:58 -07:00
Dianne Hackborn
918f24a8c0 am 72201963: Fix issue #1806217.
Merge commit '72201963350da86a5c200196364e18cbee70b3a5'

* commit '72201963350da86a5c200196364e18cbee70b3a5':
  Fix issue #1806217.
2009-06-23 13:08:38 -07:00
Dianne Hackborn
a7c176c341 Fix issue #1806217.
We were not clearing the background drawable if it had been set as a resource
reference.
2009-06-22 20:56:57 -07:00
Android (Google) Code Review
2850394cea am 09ac6a4e: Merge change 4484 into donut
Merge commit '09ac6a4ea898221dfc338003683bb3a34f2d30a8'

* commit '09ac6a4ea898221dfc338003683bb3a34f2d30a8':
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 15:39:09 -07:00
Mitsuru Oshima
bdbbe68f0b am 525258d2: Pick the right rotation based on window\'s width/height.
Merge commit '525258d21cf9570461507f3668e24668e18c9f99'

* commit '525258d21cf9570461507f3668e24668e18c9f99':
  Pick the right rotation based on window's width/height.
2009-06-17 15:38:02 -07:00
Android (Google) Code Review
2350643115 Merge change 4484 into donut
* changes:
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 10:58:10 -07:00
Romain Guy
d0ffc10947 Fixes #1414069. Display recent activities with two lines of text. 2009-06-17 10:39:48 -07:00
Mitsuru Oshima
831d0d9c40 Pick the right rotation based on window's width/height. 2009-06-16 19:27:23 -07:00
Bjorn Bringert
8160c8edce am 6e09858c: Don\'t enforce that search dialog is a singleton.
Merge commit '6e09858c0bd13a321ed716b670b361e62b1536e4'

* commit '6e09858c0bd13a321ed716b670b361e62b1536e4':
  Don't enforce that search dialog is a singleton.
2009-06-12 08:26:19 -07:00
Bjorn Bringert
a163bdcf5c Don't enforce that search dialog is a singleton.
There was code in PhoneWindowManager from last time when
the search dialog was a system dialog that caused an exception
if the search was added to the window manager twice.
Generally there should only be one search bar, but because
window manager calls are asynchronous and don't execute in order,
we can't be sure that a call to stopSearch() has removed the search
dialog before a subsequent call to startSearch() tries to add it again.

SearchManagerTest.testSearchManagerFastInvocations() crashed the system
process before this change.
2009-06-08 23:20:15 +01:00
Mike Reed
f4cd7a3187 respect FEATURE_OPENGL (at least while we test it) 2009-06-02 15:31:45 -04:00
Dianne Hackborn
efb0212d9c am 540d7de2: Implement support for new second-level media window type.
Merge commit '540d7de241b39b28480bf4b1bf6870307935fd8b'

* commit '540d7de241b39b28480bf4b1bf6870307935fd8b':
  Implement support for new second-level media window type.
2009-05-21 17:56:32 -07:00
Dianne Hackborn
5cb8d79f8a Implement support for new second-level media window type. 2009-05-21 17:34:15 -07:00
Dianne Hackborn
8c9e41a31f am a56b1c78: Fix issue #1737531: Don\'t allow applications to prevent the user from leaving them
Merge commit 'a56b1c78713257bc0e138ddf73f7c72e917e7d0d'

* commit 'a56b1c78713257bc0e138ddf73f7c72e917e7d0d':
  Fix issue #1737531: Don't allow applications to prevent the user from leaving them
2009-05-20 08:54:47 -07:00
Dianne Hackborn
256dd3ba3c Fix issue #1737531: Don't allow applications to prevent the user from leaving them 2009-05-19 18:51:21 -07:00
Suchi Amalapurapu
8ae60437a1 am 1615d63b: If a window specifies flag to show even when screen is locked, the keyguard is hidden and conversely if the keyguard has been hidden its shown. this lets the window manager to hide or unhide the keyguard based on activities that specify if they want to be displayed inspite of the keyguard being shown or not.
Merge commit '1615d63b8fd58d1e8d19207ffb0aeccf09840021'

* commit '1615d63b8fd58d1e8d19207ffb0aeccf09840021':
  If a window specifies flag to show even when screen is locked, the keyguard is hidden and conversely if the keyguard has been hidden
2009-05-18 13:44:38 -07:00
Suchi Amalapurapu
9cdc90365f If a window specifies flag to show even when screen is locked, the keyguard is hidden and conversely if the keyguard has been hidden
its shown. this lets the window manager to hide or unhide the keyguard based on activities that specify if they want to be displayed
inspite of the keyguard being shown or not.
2009-05-18 10:47:44 -07:00
Android (Google) Code Review
49a864dcbd am 60fd09d1: Merge change 702 into donut
Merge commit '60fd09d1cdbae80a96b1c089f033e6629b250a94'

* commit '60fd09d1cdbae80a96b1c089f033e6629b250a94':
  Accessibility feature - event population and firing
2009-05-14 18:26:24 -07:00
Android (Google) Code Review
1fa006840e Merge change 702 into donut
* changes:
  Accessibility feature - event population and firing
2009-05-14 18:24:56 -07:00
svetoslavganov
491293ef23 Accessibility feature - event population and firing 2009-05-14 17:47:57 -07:00
Marco Nelissen
c8958a05f5 am 099941d: Fix typos
Merge commit '099941d5519b48b5d2a394304cbca042788732bf'

* commit '099941d5519b48b5d2a394304cbca042788732bf':
  Fix typos
2009-05-12 14:18:24 -07:00
Marco Nelissen
24d1056ec4 Fix typos 2009-05-12 14:15:17 -07:00
Romain Guy
44ddd18bea am e41d819: Improve the rendering speed of the lock screen by reporting
Merge commit 'e41d81948e1f8e89c19ae30037b260ae3b2adea2'

* commit 'e41d81948e1f8e89c19ae30037b260ae3b2adea2':
  Improve the rendering speed of the lock screen by reporting the appropriate opacity for the background wallpaper.
2009-05-11 15:37:41 -07:00
Romain Guy
9593e0a007 Improve the rendering speed of the lock screen by reporting the appropriate opacity for the background wallpaper. 2009-05-11 15:28:49 -07:00
Dianne Hackborn
94ea053213 am cbaa463: Switch to new improves shutdown class that is now in framewo
Merge commit 'cbaa463dd167ad9a1f0f4e1eba65bb3f0285db95'

* commit 'cbaa463dd167ad9a1f0f4e1eba65bb3f0285db95':
  Switch to new improves shutdown class that is now in framework.
2009-05-08 13:04:07 -07:00
Dianne Hackborn
b7e787fd40 Switch to new improves shutdown class that is now in framework. 2009-05-08 12:59:43 -07:00
Dianne Hackborn
1096ea5657 AI 145994: Integrate #145778 from Donut.
Automated import of CL 145994
2009-04-13 16:11:59 -07:00
Andy Stadler
8b89d69a37 AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
2009-04-10 16:24:49 -07:00
Fred Quintana
f29d580185 AI 145177: phase two of the AccountManager
- added an AccountManagerActivity, a base Activity that can be
  used by activities that are launched by AccountAuthenticator
  intents. This makes it easy for an Activity to send a result
  using an AccountAuthenticatorResponse
  - added debug strings to the AccountAuthenticatorCache
  - improved the API for the AccountAuthenticatorResponse and
  made it Parcelable so that it can be passed to an Activity
  via an Intent
  - changed the AccountManager to use Futures for the
  asynchronous calls and to notify the user via a callback
  when the request is complete
  - changed the AccountManager to convert any errors that are
  returned into Exceptions
  - added constants for the error codes that are passed across
  the IAccountManagerResponse and
  IAccountAuthenticatorResponse interfaces
  - added a dump() method to the AccountManagerService so that
  it can display the list of active sessions and registered
  authenticators
  - added an way to interrogate the AccountManagerService for
  the list of registered authenticators
  - removed more methods from the GoogleLoginServiceHelper and
  GoogleLoginServiceBlockingHelper and changed the callers to
  use the AccountManager

Automated import of CL 145177
2009-04-08 19:14:54 -07:00
Wink Saville
76c65a6688 AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.
Automated import of CL 144245
2009-04-02 11:00:56 -07:00
Wink Saville
37c124c3fa AI 144185: Integrate cdma into the main code base.
Automated import of CL 144185
2009-04-02 01:37:02 -07:00
Dianne Hackborn
86d07f551a AI 143901: am: CL 143899 am: CL 143896 Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden.  To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big...  actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
  #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix.  This involved a few things to clean up hiding/showing the status bar:
  - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window.  This required tweaking the layout API so the policy can request a second layout pass if needed.
  - When doing layout, we are now much more aggressive about skipping the layout of windows.  Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen.  The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
  Original author: hackbod
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143901
2009-03-31 18:00:53 -07:00
Dianne Hackborn
0ecadf71e0 AI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden.  To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big...  actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
  #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix.  This involved a few things to clean up hiding/showing the status bar:
  - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window.  This required tweaking the layout API so the policy can request a second layout pass if needed.
  - When doing layout, we are now much more aggressive about skipping the layout of windows.  Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen.  The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143899
2009-03-31 18:00:37 -07:00
Dianne Hackborn
ae585e83a7 AI 143414: am: CL 143413 Fix issue #1742588 (Crash phone while switching between keyboard settings and Gmail)
Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143414
2009-03-27 20:56:50 -07:00
Dianne Hackborn
42259f8ce6 AI 143415: am: CL 143414 am: CL 143413 Fix issue #1742588 (Crash phone while switching between keyboard settings and Gmail)
Original author: hackbod
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143415
2009-03-27 20:07:28 -07:00
Dianne Hackborn
9ac7cf83f0 AI 143323: am: CL 143173 am: CL 142879 Fix issue #1732012 (Only show screen rotation animation when triggered by sensor) -- set the new surface flag as appropriate.
Original author: hackbod
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143323
2009-03-27 18:13:59 -07:00