summaryrefslogtreecommitdiffstats
path: root/policy
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Don't consider input restricted if keyguard is still disabled." into icsDanny Baumann2012-06-301-1/+7
|\
| * Don't consider input restricted if keyguard is still disabled.Danny Baumann2012-06-151-1/+7
| | | | | | | | Change-Id: I00a351311d0933fe326bda33f5c988a6232cca16
* | Merge "Don't let apps disable the SIM PIN entry screen." into icsDanny Baumann2012-06-301-16/+16
|\ \ | |/
| * Don't let apps disable the SIM PIN entry screen.Danny Baumann2012-06-151-16/+16
| | | | | | | | | | | | | | | | | | As the user (who controls the app behaviour after all) likely doesn't see the PIN screen as a lock screen (he likely wants telephony) and the PIN screen is not shown on a timer-driven basis, it should be treated specially. Change-Id: I6b029124311f93fb3ba57efbff85bd64aadfb81a
* | framework: customizable kill app via back key timeoutDaniel Bateman2012-06-231-1/+4
| | | | | | | | | | | | | | Allows the time it takes for the back key to kill an app to be customized via overlay. Change-Id: Iaa43f81ee448ae7a7663254a830011a0bca5e60f
* | Merge "Long-press back kill app cleanup" into icsDaniel Hillenbrand2012-06-191-6/+6
|\ \
| * | Long-press back kill app cleanupnebkat2012-06-141-6/+6
| |/ | | | | | | Change-Id: Ida791dca1fbfdc2beccf6ff727b67df56f1956a4
* | Change background selection for lockscreen to be moreisimobile2012-06-141-4/+26
|/ | | | | | consistant on Tablets (2/2) Change-Id: Ia1a703ce213fa7698a2fb8e1679eefccd521962b
* LockscreenTarget : Switch to dp from px for insetsDanesh Mondegarian2012-06-121-2/+1
| | | | | | Related to : http://review.cyanogenmod.com/#/c/17561/1 Change-Id: Iace302f95cc73fa18bb6348d7739123f5529a41e
* Framework : Lockscreen background customization (1/2)Danesh M2012-06-093-2/+29
| | | | | | | | | | | | Allow user to customize lockscreen background (port from cm7) Part 2 : http://review.cyanogenmod.com/#/c/16914/ Part 3 : Minor edits Part 4 : Fix crash on tablets. Added nullcheck to ViewGroup Layout Part 5 : Add missing id to layout Part 6 : Reordering/renaming of setBackground Change-Id: I3f904486b8c7bcfcb63f54937810f6ee9c1721ef
* Merge "Lock screen weather: Simplified 'no-data' layout & refresh indicator" ↵Steve Kondik2012-06-081-38/+38
|\ | | | | | | into ics
| * Lock screen weather: Simplified 'no-data' layout & refresh indicatorDavid van Tonder2012-06-021-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit simplifies the no-data layout of the lock screen weather by replacing confused Cid, adding "No data" text and hiding the temperatures on the right. It also adds a simple "Refreshing" indicator when the user taps on the weather panel to refresh. Screenshots: Change-Id: Ide0bf3134add99ea0b27b90a36f063c37dddb90b http://dl.dropbox.com/u/50993944/Screenshot_2012-06-02-08-56-36.png http://dl.dropbox.com/u/50993944/Screenshot_2012-06-02-09-51-47.png
* | Long-press menu key to search, configurable per devicePhil Tunstall2012-06-041-19/+74
|/ | | | | | | Patch Set 3: Changed config value on which this depends to store the presence of all hardware 'face' keys on a device as a bit field. Change-Id: I3a24b148e21197cfbc46683557291956e44b5feb
* LockScreen Weather : Align City/Condition/Time textDanesh M2012-05-311-1/+1
| | | | | | | | | | | | Align the text inside the view to the right in addition to aligning itself to its parent. Patchset 2 : Single line + marquee Patchset 3 : Single line/marquee weather condition : Add to setSelected array to allow marquee to work Patchset 4 : Rebased Change-Id: I52fd44cb5bfaf78c4946bf155c6ff771b5151e80
* LockscreenWeather : Reset screen time out for manual syncDanesh M2012-05-301-0/+1
| | | | | | | | Reset screen timeout when panel is pressed to signal a sync. Patchset 2 - Move poke to outside if statement Change-Id: Ib7085e14344aeab2d2bf48a0ea3d6c2d46465a38
* Merge "Framework: Lock screen Calendar (Part 2 of 2)" into icsSteve Kondik2012-05-311-9/+76
|\
| * Framework: Lock screen Calendar (Part 2 of 2)David van Tonder2012-05-291-9/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the framework side support for displaying the next Calendar event on the lock screen. Note: Calendar will not display on a Phone in landscape mode, there is just not enough space for it. Patch set 2 - Different attempt at layout for phone + NPE checking Patch set 3 - NPE fix and centered layout (tablets) Patch set 4 - New layouts and cleanup Patch set 5 - Tablet portrait layout tweak Patch set 6 - Whitespace cleanup Patch set 7 - Query and display logic cleanup Patch set 8 - Use Time.TIMEZONE_UTC - Remove duplicate cursor cleanup Patch set 9 - Fix query logic to return proper event date Change-Id: Ib3dd33d7224cff8345ec3868b9097584697601c5
* | Merge "Bind VolUp+VolDown to toggle the ringer" into icsRicardo Cerqueira2012-05-301-11/+76
|\ \ | |/ |/|
| * Bind VolUp+VolDown to toggle the ringerRicardo Cerqueira2012-05-281-11/+76
| | | | | | | | | | | | | | | | | | | | Add a keyboard chord to toggle the state of the ringer, respecting the user's vibration settings. This is using the pre-existing debouncing variables and logic from the screenshot chord, and renamed some variables to make them a bit more generic Change-Id: Ia30364eb28a41642c245fa2222be46fb1a781a90
* | LockscreenWeather : Fix manual syncDanesh Mondegarian2012-05-291-1/+4
| | | | | | | | | | | | | | | | Add a check to avoid logic fail for manual updates Patchset 2 - Address first boot for manual sync Change-Id: Id28fda707da5bab57ddc0b0a07c2939a0607aa44
* | Lockscreen weather: option to invert low/high temp display (1/2)Rick C2012-05-281-1/+3
|/ | | | Change-Id: Ie693e3ab0b52d3034b516635c45dba4730b61160
* Merge "Change APP_SWITCH key event to open Android 4.0 recent apps switcher" ↵Steve Kondik2012-05-281-1/+14
|\ | | | | | | into ics
| * Change APP_SWITCH key event to open Android 4.0 recent apps switcherPhil Tunstall2012-05-241-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch it opens the old Gingerbread-style recent apps. Thanks to XDA forum member evilisto for demonstrating how to make this change: http://forum.xda-developers.com/showthread.php?t=1450138 Patch Set 2: Fixed commit dependencies Patch Set 3: Open app switcher when key is released rather than when it is first pressed, to conform with the behaviour of other keys. Change-Id: Iea04c3015b773b5f375a01a9ee30c5130de13dff
* | Merge "Make 'Power button instantly locks' toggle work (1/2 framework)" into icsSteve Kondik2012-05-281-1/+1
|\ \
| * | Make 'Power button instantly locks' toggle work (1/2 framework)Nico Kaiser2012-05-231-1/+1
| |/ | | | | | | | | | | | | | | | | If your device is secure (uses password/PIN/pattern) then the AOSP timeout settings are used. But the 'Power button instantly locks' toggle is ignored. 'lockImmediately' in KeyguardViewMediator is always set to true. This fix together with a settings fix switches to the the AOSP handling of this setting. Change-Id: Ic7ce8003f1b16a4feaa60ec81082c7ddfce23105
* | Keyguard: Turn lock-before-unlock into a user-configurable settingRicardo Cerqueira2012-05-271-1/+9
| | | | | | | | | | | | | | Showing the unsecured lock screen (Slider/widget screen) before the security screen is now a secure Setting (still defaulting to off) Change-Id: I0a11f82ffe074d289129b2b972ffc0135eea81ed
* | Framework: Lock screen weather (Part 2 of 2)David van Tonder2012-05-261-7/+291
|/ | | | | | | | | | | | | | | | | | | | | This commit adds the framework side support for displaying the current weather forecast on the lock screen. Special thanks to Devatwork for his help with the update code, Blunden for his help with the weather images and the AOKP team for the original Yahoo! Weather parsing code. Patch set 2 - Whitespace cleanup Patch set 3 - Default show location, timestamp and metric to on Patch set 4 - Adds AOKP copyright to util classes Patch set 5 - Fixes derp introduced by Ps4 Patch set 6 - Fixes (incl music control widget size) Patch set 7 - Minor tweak to the music control widget size Patch set 8 - Better 'error' message on startup Patch set 9 - Even better start up message and Cid image Patch set 10 - German translation Change-Id: Ib12951f163d4fe04cbfa2e4ae9fc59058b71f47e
* GlobalActions: Fix themeing of the ShutdownThreadRicardo Cerqueira2012-05-201-1/+1
| | | | | | | Apply the correct UI context so the reboot dialog is properly themed Change-Id: I115c81538ab9c27223b2090279f877d5b68d6dd3
* Dispatch keys to a device specific key handlerAlexander Hofbauer2012-05-181-0/+39
| | | | | | | | Injects a device key handler into the input path to handle additional keys (as found on some docks with a hardware keyboard). Configurable via overlay settings config_deviceKeyHandlerLib and config_deviceKeyHandlerClass.
* This reverts two wrong patch sets fix attempts.Alexander Hofbauer2012-05-181-45/+0
| | | | | | | | | | | | | | | | | | | Trying to fix my stupid mistakes. Reverted commits: *) 5e2284869bc6b53d6de786d6b5846e9b79383f04: Fix InputReader test *) 8f2303e5b3b2c1e40c52bfb4028a663e503d132e: add missing file for "Iec99d52f: Load a device specific key handler" *) 2ee7ed47a844f168db074c95e4fc93e9745618c0: InputManager: Add system setting to define keyboard locales *) cf02764d48eadacdb9114225e043835143c4ed07: Load a device specific key handler Change-Id: Ibdaa8d52054c830a4e3659bf356cc2df71342eb3
* Load a device specific key handlerAlexander Hofbauer2012-05-151-0/+45
| | | | | | | Configurable via overlay settings config_deviceKeyHandlerLib and config_deviceKeyHandlerClass. Change-Id: Iec99d52f4a665e59cd13939af62f9b5b3becd375
* SimUnlockScreen: Explicitly register themeChange receiverRicardo Cerqueira2012-05-141-3/+5
| | | | | | | | The unlock activity changed a bit in ICS, so we need to register the receiver explicitly instead of relying on onResume() to be called in order to set it up Change-Id: I9ac9463f249b37466f8daf99d34b85c15b06d43f
* Allow theming of framework UI elements.Danny Baumann2012-05-135-7/+109
| | | | | | | | | | | | | | | | | As the theme engine works by replacing resources while loading the APK, framework UI couldn't be themed so far. Workaround that by manually creating a com.android.systemui package context and using that for showing the UI. This attempt is a bit hacky, but should be safe as a) systemui should always be present b) if it isn't, we fall back to no theming Change-Id: I644e2e8d7d4abf07bae639b606197d691f16adac Applying theming to more framework items. All dialogs and notifications should be covered now. Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b
* LockScreen: Android runtime error when package is not foundMarian Triebe2012-05-101-0/+3
| | | | Change-Id: I98fa13608b5d9830e9038cdbd037394951896f47
* Lockscreen : Customizable shortcutsDanesh M2012-05-061-18/+171
| | | | | | | | | | | | | | | | | | | | | | | | Allow users to choose lockscreen shortcuts / icons : Phone - 1-5 targets Tablets - 1-8 targets Patchset 2 : Fix default target reading Patchset 3 : Switch to resolveActivityInfo Patchset 4 : Case check for empty target Patchset 5 : Add index check for targetDescriptions : Minor cleanup Patchset 6 : Custom icons : The RSS, Browser, Facebook, Twitter and Podcasts images are derivative works by DvTonder made from the from the WPZOOM Developer Icon Pack, licensed under Creative Commons Attribution-NonCommercial-ShareAlike, (c) WPZOOM Patchset 7 : Fix variable reference Patchset 8 : Change storing method (dynamically get drawable id) Patchset 9 : Randomz... Patchset 10 : Icon pack support (Template found at : https://github.com/Danesh/CmIconPicker) : Removed stock messaging icon, use ours instead. Patchset 11 : Code cleanup Change-Id: I93c842a78fff3517002f7be08555db5b585f6eb8
* Merge branch 'themes-4.0' into 'ics'Ricardo Cerqueira2012-05-051-5/+7
|\ | | | | | | Change-Id: Idc363f8140be2d252bee2aeba46c944032fb0ae9
| * Merge remote-tracking branch 'tmo/themes-2.3.1_r1' into themes-4.0Ricardo Cerqueira2012-05-041-5/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adapt to ICS API changes * Remove part of idmap due to conflicts * Restructure statusbar code * Fix issues with PowerWidget on phones to avoid the CM7 hackish restart of SystemUI * Add reinflation to properly redo status icons on tablets Conflicts: core/java/android/app/ActivityManager.java core/java/android/app/ActivityThread.java core/java/android/app/ContextImpl.java core/java/android/content/pm/ApplicationInfo.java core/java/android/content/pm/IPackageManager.aidl core/java/android/content/pm/PackageParser.java core/java/android/content/res/AssetManager.java core/java/android/content/res/CompatibilityInfo.java core/java/android/content/res/Configuration.java core/java/android/content/res/Resources.java core/java/com/android/internal/os/ZygoteInit.java core/jni/AndroidRuntime.cpp core/jni/android_util_AssetManager.cpp core/res/AndroidManifest.xml data/etc/platform.xml include/utils/AssetManager.h include/utils/ResourceTypes.h libs/utils/Android.mk libs/utils/AssetManager.cpp libs/utils/ResourceTypes.cpp media/java/android/media/RingtoneManager.java packages/SystemUI/res/layout/status_bar.xml packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java packages/SystemUI/src/com/android/systemui/statusbar/StatusBarView.java packages/SystemUI/src/com/android/systemui/statusbar/TrackingView.java policy/src/com/android/internal/policy/impl/PhoneWindowManager.java services/java/com/android/server/PackageManagerService.java services/java/com/android/server/SystemServer.java services/java/com/android/server/am/ActivityManagerService.java test-runner/src/android/test/mock/MockPackageManager.java Change-Id: Icabcd2c7b07dcbf174789b34f960360b87d7f27a
| | * Always create a package-specific context in the PhoneWindowManager.Josh Guilfoyle2010-12-231-9/+7
| | | | | | | | | | | | This is necessary to support dynamic theming.
* | | Framework: Slide lock delay support (Part 1 of 2)David van Tonder2012-04-281-12/+35
|/ / | | | | | | | | | | | | This commit adds the framework support for the Slide lock delay settings while retaining the security integrity of AOSP. Change-Id: Ib023025535c022213dc13de82b0ffae9a53d9ef5
* | AudioManager: Handle KEYCODE_VOLUME_MUTEAlexander Hofbauer2012-04-102-17/+28
| | | | | | | | | | | | Implements muting in KeyguardViewBase and PhoneWindowManager too. Change-Id: I732ac5c918ed66ebd9376ccad7bcc0cf88cad778
* | Merge "Quick unlock : Fix bug" into icsSteve Kondik2012-04-011-12/+2
|\ \
| * | Quick unlock : Fix bugDanesh M2012-03-281-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is an issue where users whose passwords are greater than 8 chars and have quick unlock enabled will be unable to unlock their lockscreen. This is due to the logic evaluating anything beyond 3chars as a password attempt. This change modifies the quick unlock behavior so that when typing the password, each character is considered an attempt, however if incorrect, is not reported as a failed attempt. Only when the user presses enter is it considered an "explicit" attempt and a failed attempt is reported. Patchset 2 : Rename runnable to better reflect its purpose Patchset 3 : Switch to new behavior Patchset 4 : Fix padding Change-Id: Ida6289c77f6724cb42e8d3b82593f29afe3d6d1b
* | | Merge branch 'ics-mr1-release' of ↵Steve Kondik2012-03-296-31/+80
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into aosp Conflicts: core/res/res/values-de/strings.xml core/res/res/values-el/strings.xml core/res/res/values-nl/strings.xml core/res/res/values-pt/strings.xml core/res/res/values-ru/strings.xml core/res/res/values-tr/strings.xml core/res/res/values-zh-rCN/strings.xml core/res/res/values/config.xml data/fonts/Roboto-Bold.ttf data/fonts/Roboto-BoldItalic.ttf data/fonts/Roboto-Italic.ttf data/fonts/Roboto-Regular.ttf packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java policy/src/com/android/internal/policy/impl/PhoneWindowManager.java Change-Id: I376757e52555fe45860f404da5fd2293ea45ddce
| * | Fix 5960562: Show emergency button on PukUnlock screenJim Miller2012-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where the device doesn't show the emergency button on the SIM PUK unlock screen. The problem was introduced in I3127bfd5 where we allowed the button to be conditionally shown. Change-Id: I3e2aae2bce89399a2564c3f8a726a8db99cdec86
| * | Fix issue #6037252: Screen shifts after all apps are upgradedDianne Hackborn2012-02-211-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Two things: (1) make sure the boot message is always positioned within the entire unrestricted display, and (2) allow the dim background to go on top of the nav bar when being used for the boot message (this latter is really a hack that should be more generally fixed in the future). Change-Id: I7261b044eb802a39cadff931b50a679ff18781d6
| * | Fix issue #5906017: Missing menu entries in portrait when in compatibility modeDianne Hackborn2012-01-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a bug only when the status bar was hidden, the screen space for the nav bar would not be correctly removed for all frames used in layout computation. This code really $*#&^!! needs to be cleaned up, the whole "status bar is the system bar when on a tablet so it should take space from apps, but status bar doesn't do that on phones but on phones there is a nav bar that does the same thing" thing is whacked. Proof that evolution DOESN'T WORK!!!!!!!!!! Change-Id: I24e4994328480820cb638e7a40aa0b65b7ae2003
| * | Fix issue #5823276 again: home repaints after full-screen app is exitedDianne Hackborn2012-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't consider a window as a candidate for the top fullscreen window if it is not going to be a candiate for layout. This fix does not include the change to ignore app tokens that are hidden. This causes problems in some dialogs that stay hidden until their app is ready to display, but need to perform a series of relayouts during that time to get to the right size. Dropping this part of the change still (mostly?) seems to allow us to avoid the bad states. Change-Id: Ic052cb1499d3287f47e9ffeac5cd2470ee5a308c
| * | DO NOT MERGE Revert "Fix issue #5823276: home repaints after full-screen app ↵Justin Ho2012-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | is exited" This reverts commit 01b02a734d2988c22b00f5df6346ad03d8bf52b6. Change-Id: I848c01fc44eb9a51ead1116b2647ed838ec1825f
| * | Merge "Fix 5863053: Add method to lock screen immediately." into ics-mr1Jim Miller2012-01-181-0/+6
| |\ \
| | * | Fix 5863053: Add method to lock screen immediately.Jim Miller2012-01-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where the device fails to lock when DevicePolicyManagerService requests the device to be locked and the screen was off because the user hit the power button. The change allows DPMS to directly invoke screen lock, bypasssing the screen state. Change-Id: Iecdda6fc61e9c519119de495be23c69c3b983921