OSDN Git Service

android-x86/frameworks-policies-base.git
14 years agoMidWindow.java: remove noisy debug messages donut-x86
Chih-Wei Huang [Mon, 15 Mar 2010 07:15:34 +0000 (15:15 +0800)]
MidWindow.java: remove noisy debug messages

14 years agoadd unmute function android-x86-1.6
Chih-Wei Huang [Wed, 11 Nov 2009 05:28:21 +0000 (13:28 +0800)]
add unmute function

14 years agoadd volume mute hotkey
Yi Sun [Tue, 10 Nov 2009 03:24:52 +0000 (19:24 -0800)]
add volume mute hotkey

14 years agouse keycode for the wifi and sleep hot keys.
Yi Sun [Mon, 9 Nov 2009 22:18:09 +0000 (14:18 -0800)]
use keycode for the wifi and sleep hot keys.

14 years agoadd eeepc hotkey support for wifi and sleep keys
Yi Sun [Thu, 5 Nov 2009 17:53:00 +0000 (09:53 -0800)]
add eeepc hotkey support for wifi and sleep keys

14 years agofixed typo
Yi Sun [Tue, 20 Oct 2009 02:47:44 +0000 (19:47 -0700)]
fixed typo

14 years agoCheck in code for Kelly2.Blue
Yi Sun [Mon, 19 Oct 2009 18:49:24 +0000 (11:49 -0700)]
Check in code for Kelly2.Blue
add options to allow user to enable/disable the soft keyboard
Author: Kelly2.Blue@gmail.com

14 years agoCommit for Kelly2.Blue <Kelly2.Blue@gmail>
Yi Sun [Fri, 16 Oct 2009 22:28:24 +0000 (15:28 -0700)]
Commit for Kelly2.Blue <Kelly2.Blue@gmail>

Fixed the soft keyboard issue.

14 years agoadd permission check for input method view
Yi Sun [Wed, 14 Oct 2009 16:41:12 +0000 (09:41 -0700)]
add permission check for input method view

14 years agoadd reboot item to power button dialog
Yi Sun [Thu, 24 Sep 2009 23:37:39 +0000 (16:37 -0700)]
add reboot item to power button dialog

14 years agoenabled power button dialog. Mainly ported from phone police
Yi Sun [Tue, 4 Aug 2009 19:54:20 +0000 (12:54 -0700)]
enabled power button dialog. Mainly ported from phone police

14 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:46 +0000 (07:45 -0700)]
merge from donut

14 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut

14 years agoFix issue #1999179: search -> click result -> press home = search dialog is shown...
Dianne Hackborn [Wed, 29 Jul 2009 00:51:07 +0000 (17:51 -0700)]
Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden

Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.

14 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master

14 years agohave "search" as the reason when dismissing system dialogs for search.
Karl Rosaen [Mon, 20 Jul 2009 21:00:29 +0000 (14:00 -0700)]
have "search" as the reason when dismissing system dialogs for search.

this way search can't dismiss itself.  can't use the constant because it is
in policy.  would rather leave it this way instead of moving constants for
system dialog dismissal to framework.

14 years agoClose the global actions menu when the screen goes off.
Joe Onorato [Fri, 17 Jul 2009 17:09:27 +0000 (13:09 -0400)]
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.

14 years agoDismiss system windows when search is launched.
Karl Rosaen [Tue, 14 Jul 2009 21:56:53 +0000 (14:56 -0700)]
Dismiss system windows when search is launched.

14 years agoFix bug 1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
Joe Onorato [Mon, 6 Jul 2009 18:58:50 +0000 (14:58 -0400)]
Fix bug 1317754 - "Idle screen displays "Charging (100%)" even when fully charged."

14 years agoRemove unnused variable.
Dianne Hackborn [Sat, 27 Jun 2009 01:19:32 +0000 (18:19 -0700)]
Remove unnused variable.

14 years agoFix case where the lock screen information won't fit on screen.
Karl Rosaen [Wed, 24 Jun 2009 00:54:58 +0000 (17:54 -0700)]
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.

14 years agoMerge change 5165 into donut
Android (Google) Code Review [Wed, 24 Jun 2009 01:02:32 +0000 (18:02 -0700)]
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".

14 years agoWhen the sim is missing, show "press menu to unlock or place emergency call" on lock...
Karl Rosaen [Wed, 24 Jun 2009 00:54:58 +0000 (17:54 -0700)]
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.

14 years agoFix issue #1806217.
Dianne Hackborn [Tue, 23 Jun 2009 03:56:57 +0000 (20:56 -0700)]
Fix issue #1806217.

We were not clearing the background drawable if it had been set as a resource
reference.

14 years agoMerge change 4484 into donut
Android (Google) Code Review [Wed, 17 Jun 2009 17:58:10 +0000 (10:58 -0700)]
Merge change 4484 into donut

* changes:
  Fixes #1414069. Display recent activities with two lines of text.

14 years agoFixes #1414069. Display recent activities with two lines of text.
Romain Guy [Wed, 17 Jun 2009 17:39:48 +0000 (10:39 -0700)]
Fixes #1414069. Display recent activities with two lines of text.

14 years agoPick the right rotation based on window's width/height.
Mitsuru Oshima [Wed, 17 Jun 2009 01:27:18 +0000 (18:27 -0700)]
Pick the right rotation based on window's width/height.

14 years agoDon't enforce that search dialog is a singleton.
Bjorn Bringert [Mon, 8 Jun 2009 22:20:15 +0000 (23:20 +0100)]
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.

14 years agoImplement support for new second-level media window type.
Dianne Hackborn [Fri, 22 May 2009 00:34:15 +0000 (17:34 -0700)]
Implement support for new second-level media window type.

14 years agoFix issue #1737531: Don't allow applications to prevent the user from leaving them
Dianne Hackborn [Wed, 20 May 2009 01:51:21 +0000 (18:51 -0700)]
Fix issue #1737531: Don't allow applications to prevent the user from leaving them

14 years agoIf a window specifies flag to show even when screen is locked, the keyguard is hidden...
Suchi Amalapurapu [Fri, 15 May 2009 01:01:07 +0000 (18:01 -0700)]
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.

14 years agoMerge change 702 into donut
Android (Google) Code Review [Fri, 15 May 2009 01:24:56 +0000 (18:24 -0700)]
Merge change 702 into donut

* changes:
  Accessibility feature - event population and firing

14 years agoAccessibility feature - event population and firing
svetoslavganov [Wed, 29 Apr 2009 02:17:02 +0000 (19:17 -0700)]
Accessibility feature - event population and firing

14 years agoFix typos
Marco Nelissen [Tue, 12 May 2009 21:15:17 +0000 (14:15 -0700)]
Fix typos

14 years agoImprove the rendering speed of the lock screen by reporting the appropriate opacity...
Romain Guy [Mon, 11 May 2009 22:28:49 +0000 (15:28 -0700)]
Improve the rendering speed of the lock screen by reporting the appropriate opacity for the background wallpaper.

14 years agoSwitch to new improves shutdown class that is now in framework.
Dianne Hackborn [Thu, 7 May 2009 22:55:42 +0000 (15:55 -0700)]
Switch to new improves shutdown class that is now in framework.

15 years agomerge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:58 +0000 (17:56 -0700)]
merge cupcake into donut

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Wed, 15 Apr 2009 01:18:15 +0000 (18:18 -0700)]
Merge commit 'korg/cupcake'

15 years agoAI 145778: Manual merge changes 145382-145384 from cupcake.
Andy Stadler [Fri, 10 Apr 2009 23:24:49 +0000 (16:24 -0700)]
AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778

15 years agoAI 145382: API review: change new media keycode names to avoid ambiguity.
Dianne Hackborn [Thu, 9 Apr 2009 19:31:16 +0000 (12:31 -0700)]
AI 145382: API review: change new media keycode names to avoid ambiguity.
  Updates the key maps.  During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...!  So this is now changed to match.
  BUG=1779435

Automated import of CL 145382

15 years agoAI 144185: Integrate cdma into the main code base.
Wink Saville [Thu, 2 Apr 2009 08:37:02 +0000 (01:37 -0700)]
AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185

15 years agoAI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
Dianne Hackborn [Wed, 1 Apr 2009 01:00:37 +0000 (18:00 -0700)]
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

15 years agoAI 143896: Fix issue #1748954 and #1737952:
Dianne Hackborn [Wed, 1 Apr 2009 00:58:46 +0000 (17:58 -0700)]
AI 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.
  BUG=1748954,1737952

Automated import of CL 143896

15 years agoAI 143414: am: CL 143413 Fix issue #1742588 (Crash phone while switching between...
Dianne Hackborn [Sat, 28 Mar 2009 03:56:50 +0000 (20:56 -0700)]
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

15 years agoAI 143413: Fix issue #1742588 (Crash phone while switching between keyboard settings...
Dianne Hackborn [Sat, 28 Mar 2009 01:51:15 +0000 (18:51 -0700)]
AI 143413: Fix issue #1742588 (Crash phone while switching between keyboard settings and Gmail)
  BUG=1742588

Automated import of CL 143413

15 years agoAI 143173: am: CL 142879 Fix issue #1732012 (Only show screen rotation animation...
Dianne Hackborn [Fri, 27 Mar 2009 23:16:03 +0000 (16:16 -0700)]
AI 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/...

Automated import of CL 143173

15 years agoAI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail)...
Dianne Hackborn [Fri, 27 Mar 2009 23:04:08 +0000 (16:04 -0700)]
AI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode).  We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
  Also do most of the work for issue #1732012 (Only show screen rotation animation when triggered by sensor).  This just needs to be hooked up to the surface flinger API when that appears.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143169

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:31:11 +0000 (15:31 -0700)]
Merge commit 'korg/cupcake'

15 years agoAutomated import from //branches/cupcake/...@142879,142879
Dianne Hackborn [Thu, 26 Mar 2009 07:04:52 +0000 (00:04 -0700)]
Automated import from //branches/cupcake/...@142879,142879

15 years agoAutomated import from //branches/cupcake/...@142870,142870
Dianne Hackborn [Thu, 26 Mar 2009 05:39:21 +0000 (22:39 -0700)]
Automated import from //branches/cupcake/...@142870,142870

15 years agoAutomated import from //branches/donutburger/...@142361,142361
Karl Rosaen [Wed, 25 Mar 2009 05:35:17 +0000 (22:35 -0700)]
Automated import from //branches/donutburger/...@142361,142361

15 years agoAutomated import from //branches/donutburger/...@142291,142291
Suchi Amalapurapu [Wed, 25 Mar 2009 05:24:47 +0000 (22:24 -0700)]
Automated import from //branches/donutburger/...@142291,142291

15 years agoAutomated import from //branches/donutburger/...@141746,141746
Dianne Hackborn [Wed, 25 Mar 2009 03:50:09 +0000 (20:50 -0700)]
Automated import from //branches/donutburger/...@141746,141746

15 years agoAutomated import from //branches/cupcake/...@142360,142360
Karl Rosaen [Wed, 25 Mar 2009 02:31:39 +0000 (19:31 -0700)]
Automated import from //branches/cupcake/...@142360,142360

15 years agoAutomated import from //branches/cupcake/...@142231,142231
Suchi Amalapurapu [Wed, 25 Mar 2009 02:18:40 +0000 (19:18 -0700)]
Automated import from //branches/cupcake/...@142231,142231

15 years agoAutomated import from //branches/donutburger/...@140911,140911
Karl Rosaen [Wed, 25 Mar 2009 01:55:19 +0000 (18:55 -0700)]
Automated import from //branches/donutburger/...@140911,140911

15 years agoAutomated import from //branches/cupcake/...@141745,141745
Dianne Hackborn [Wed, 25 Mar 2009 01:18:49 +0000 (18:18 -0700)]
Automated import from //branches/cupcake/...@141745,141745

15 years agoauto import from //branches/cupcake_rel/...@141571
The Android Open Source Project [Fri, 20 Mar 2009 06:08:56 +0000 (23:08 -0700)]
auto import from //branches/cupcake_rel/...@141571

15 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:47 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373

15 years agoMerge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:08:44 +0000 (16:08 -0700)]
Merge commit 'remotes/korg/cupcake' into merge

15 years agoauto import from //branches/cupcake_rel/...@138607
The Android Open Source Project [Fri, 13 Mar 2009 20:04:23 +0000 (13:04 -0700)]
auto import from //branches/cupcake_rel/...@138607

15 years agoauto import from //branches/cupcake/...@137873
The Android Open Source Project [Wed, 11 Mar 2009 19:11:58 +0000 (12:11 -0700)]
auto import from //branches/cupcake/...@137873

15 years agoauto import from //branches/cupcake/...@137197
The Android Open Source Project [Mon, 9 Mar 2009 18:52:14 +0000 (11:52 -0700)]
auto import from //branches/cupcake/...@137197

15 years agoauto import from //depot/cupcake/@136745
The Android Open Source Project [Fri, 6 Mar 2009 04:00:44 +0000 (20:00 -0800)]
auto import from //depot/cupcake/@136745

15 years agoauto import from //depot/cupcake/@136594
The Android Open Source Project [Thu, 5 Mar 2009 22:34:37 +0000 (14:34 -0800)]
auto import from //depot/cupcake/@136594

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:32:13 +0000 (19:32 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:48 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:04:28 +0000 (14:04 -0800)]
auto import from //depot/cupcake/@132589

15 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:37 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055

15 years agoauto import from //branches/cupcake/...@132569
The Android Open Source Project [Fri, 20 Feb 2009 15:38:32 +0000 (07:38 -0800)]
auto import from //branches/cupcake/...@132569

15 years agoauto import from //branches/cupcake/...@132276
The Android Open Source Project [Thu, 19 Feb 2009 18:57:35 +0000 (10:57 -0800)]
auto import from //branches/cupcake/...@132276

15 years agoauto import from //branches/cupcake/...@131421
The Android Open Source Project [Fri, 13 Feb 2009 20:57:52 +0000 (12:57 -0800)]
auto import from //branches/cupcake/...@131421

15 years agoauto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 10 Feb 2009 23:44:04 +0000 (15:44 -0800)]
auto import from //branches/cupcake/...@130745

15 years agoMerge branch 'cupcake'
The Android Open Source Project [Thu, 22 Jan 2009 08:16:10 +0000 (00:16 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@127436
The Android Open Source Project [Thu, 22 Jan 2009 08:13:43 +0000 (00:13 -0800)]
auto import from //branches/cupcake/...@127436

15 years agoRevert "Optional provisioning"
Jean-Baptiste Queru [Wed, 21 Jan 2009 22:53:23 +0000 (14:53 -0800)]
Revert "Optional provisioning"

This reverts commit a9f4ccea6d0463345206a4306fdae9376932eb79.

15 years agoMerge branch 'master' of git://android.git.kernel.org/platform/frameworks/policies...
The Android Open Source Project [Fri, 16 Jan 2009 22:41:08 +0000 (14:41 -0800)]
Merge branch 'master' of git://android.git./platform/frameworks/policies/base

15 years agoMerge branch 'cupcake'
android-build SharedAccount [Fri, 16 Jan 2009 00:16:04 +0000 (16:16 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@126645
The Android Open Source Project [Fri, 16 Jan 2009 00:12:12 +0000 (16:12 -0800)]
auto import from //branches/cupcake/...@126645

15 years agoOptional provisioning
Jean-Baptiste Queru [Thu, 15 Jan 2009 22:33:27 +0000 (14:33 -0800)]
Optional provisioning

This introduces an ro.requires_provisioning property, which defaults to false,
such that by default the platform doesn't require any setup application to
set a run-time "provisioned" bit and allows all behaviors right away (home key,
lock screen, etc...).

15 years agoMerge commit 'remotes/korg/cupcake'
Jean-Baptiste Queru [Fri, 19 Dec 2008 16:05:35 +0000 (08:05 -0800)]
Merge commit 'remotes/korg/cupcake'

Conflicts:
phone/com/android/internal/policy/impl/PhoneWindowManager.java

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:05:50 +0000 (18:05 -0800)]
Code drop from //branches/cupcake/...@124589

15 years agoFix the lock screen bypass issue reported in http://forum.xda-developers.com/showthre...
Rich Cannings [Tue, 11 Nov 2008 06:12:25 +0000 (15:12 +0900)]
Fix the lock screen bypass issue reported in forum.xda-developers.com/showthread.php?t=436767.

15 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution