summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Fixed white screen on Nexus S CameraService with liboverlay disabled.PaulK2012-07-091-5/+1
|
* Previous fix was incorrect.Cuong2012-06-111-1/+11
| | | | | | | Timestamp doesn't contain date info, therefore we need to construct it and adjust it if daylight savings applies. Change-Id: Ic6b5b3e2d773f637a99a80ef0998ee4f9989a8eb
* fixed external BT gps date/time issue reported by Jason LynchCuong2012-06-071-11/+1
| | | | Change-Id: I466f623a9f6066228d0749be0b3afeec91502197
* Send out a MOBILE_DATA_CHANGED intent.Danny Baumann2012-06-071-0/+7
| | | | The settings app widget expects that to be done for working properly.
* Applying theming to more framework items.Danny Baumann2012-05-024-4/+73
| | | | | | All dialogs and notifications should be covered now. Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b
* Allow theming of framework UI elements.Danny Baumann2012-03-315-13/+98
| | | | | | | | | | | 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
* Revert "Fix wrong 'USB debugging connected' notify color"rmcc@arcee-kang12012-03-301-8/+1
| | | | This reverts commit e952e69b3177d3324696901a644160d4b24423be.
* Fix wrong 'USB debugging connected' notify colorAdrianoC2012-03-301-1/+8
| | | | Change-Id: I8ad4ce8652325e2e10dd529a934c8928ee0b149c
* Merge "Fix battery charging detection in NotificationManagerService" into ↵Ricardo Cerqueira2012-03-031-4/+10
|\ | | | | | | gingerbread
| * Fix battery charging detection in NotificationManagerServiceDavid Morgan2012-02-131-4/+10
| | | | | | | | | | | | | | | | | | Battery charging should be detected via the status intent extra instead of merely checking to see if the phone is plugged. See r.cyanogenmod.com/7986 Change-Id: I39f6caf6183a866d6061b07e0f62c21a4df71aef
* | Implement basic framework for fingerprint lockscreenTodd Gurzick2012-02-261-16/+48
| | | | | | | | | | | | Uses reflection not to depend on proprietary jars Change-Id: I321d3f8e7dbbee4c504864f1defed954bc22053b
* | Fix screen hang after dismissing a landscape alarm.Dianne Hackborn2012-02-205-89/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash commit of 3 ICS commits backported to gingerbread: - Always unfreeze display. Commit 161dc80ea754d987a905bc5814872168d581040d AOSP-Change-Id: I7a0f3be49fe723fe59cf6268861bc5fe7f49bc62 - Fix issue #3330037: Unnecessary orientations appear... ...when the device's physical orientation is portrait. We now hold off on computing app token orientation while preparing to open or close app tokens. Also clean up a few other little issues. Commit 94cb2ebfc3e789384a4c32b24ac1522cdcb3ae79 AOSP-Change-Id: Iae125a975c7706fb4d068c872fd172e69854ff15 Fix issue #5508024: Rotation jank seen in live wallpapers Fix a few places where we would unfreeze the screen too early. Now that we are no longer relying on surface flinger freezing, we can't depend on it keeping the screen frozen until surfaces get drawn. Commit 3ec891ae8067dd7afac5c0b5a8af0b726f4a4726 AOSP-Change-Id: Icb03bf30c9599a5e2016817bfa5ca6458adc7249 Change-Id: I8e716c71bb135d198fc5e9802ed13628461f11a9
* | Fix display freeze happening when changing device orientation whileDanny Baumann2012-02-151-12/+10
|/ | | | | | | | | | | | | | | | screen is off. In that case, we inhibited the rotation animation and freezed the screen directly. When turning on the screen again, we forgot to unfreeze the screen, though. How to reproduce issue: - Start application using orientation sensor (e.g. messaging) - Put phone to landscape - Switch off screen - Put phone to portrait - Switch on screen - Result: Some seconds of delay until turning on screen again
* Merge "Fix mDeskModeKeepsScreenOn logic" into gingerbreadRicardo Cerqueira2012-02-111-1/+2
|\
| * Fix mDeskModeKeepsScreenOn logicEmilio López2012-02-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | If mDeskModeKeepsScreenOn was set to 1, the screen still timeouted because mCurUiMode != Configuration.UI_MODE_TYPE_DESK. Given that mCurUiMode is a bitmask field also consisting of UI_MODE_NIGHT_MASK, fix this check so the behaviour is corrected. See core/java/android/content/res/Configuration.java for the explanation on uiMode's values Change-Id: Ic7a0fd375dd4700eacb48974e20ad387732fc1d5
* | Unfreeze display even if screen is offRicardo Cerqueira2012-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | Change Idce8fc0049758e50aaf9bc3f93aff45758ed30c1 made it possible for an animation to start and never complete, thus keeping the display frozen. So... disregard screen state when calling unfreeze. If mScreenRotationAnimation isn't null, let it go all the way. Change-Id: Ibf4b31508855398e8d20626bf169656e2a3d2aa9
* | Don't animate rotations when screen is offRicardo Cerqueira2012-02-051-3/+3
|/ | | | | | | | | | | | | | | | Avoid error loops like these: W/WindowManager( 1744): Animation repeat aborted after too many iterations W/WindowManager( 1744): Layout repeat skipped after too many iterations W/WindowManager( 1744): Layout repeat skipped after too many iterations W/WindowManager( 1744): Layout repeat skipped after too many iterations W/WindowManager( 1744): Animation repeat aborted after too many iterations W/WindowManager( 1744): Layout repeat skipped after too many iterations which happened mostly when the screen was turned off while a landscape app was active. Change-Id: Idce8fc0049758e50aaf9bc3f93aff45758ed30c1
* Ability to debug over Network (framework part)Tanguy Pruvot2012-01-312-20/+68
| | | | | | | | | | | | | | Allow also the notification for ADB in tcp/ip mode Add a new notification message when this mode is enabled. translated: en,fr,de,es,ja,zh Note: This function can work without the Setting Part, its an official feature of adb. But require this change in your device init.rc : http://review.cyanogenmod.com/6034 Settings Part : http://review.cyanogenmod.com/7141 Change-Id: I875a5ba5db10c949be2372db0e13768fe9cb3c1f
* Let maintainers disable the new rotation animationEmilio López2012-01-311-1/+1
| | | | | | | | | On some old phones (zeppelin, morrison, motus, hero?) the new ICS rotation animation doesn't perform well. This patch adds a boolean property, "persist.sys.rotationanimation", to give device maintainers and advanced users the ability to enable/disable it. Change-Id: I6b88eb8ec410f83c6566c07108daae442b59f79c
* Fixes FC on boot when lockscreen disabledDaniel Bateman2012-01-291-0/+7
| | | | Change-Id: I54b1221bb7bdbad5cbbd43a49defe169c6a32a71
* Rotation animation, fix for devices with ro.sf.hwrotation set to something ↵kallt_kaffe2012-01-261-2/+3
| | | | | | | | | | other than 0. Tested on ZTE V9 which has ro.sf.hwrotation set to 270. See http://review.cyanogenmod.com/#change,11974 for more info about the animation and the issues experienced on rotated displays. Change-Id: Ia0d08434d6c1fd8ee6aab46c2c53950e2298436d
* Support screenshot / renderScreenToTexture under OpenGL ES 1.0Won-Kyu Park2012-01-242-5/+262
| | | | | | | | | | current implemented screenshot / renderScreenToTexture() of SurfaceFlinger use FrameBuffer Object(FBO) in the OpenGL ES 1.1/2.0 extention directly use framebuffer device /dev/graphics/fb0 to emulate FBO. Change-Id: Ide2b51abf4e42363efeeea7cb9b1e95a3b6b5c5d
* Backport ICS rotation animations to gingerbreadDianne Hackborn2012-01-222-6/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Require ICS transitions patch: http://review.cyanogenmod.com/11938 This is a combination of 3 AOSP commits, adapted for gingerbread, i've hidden new public constants to keep current API intact. these 3 commits are from Dianne Hackborn <hackbod@google.com> : - Change rotation freeze to all be implemented in window manager. Lots of work for no visible change in behavior, but now we can do some fancier stuff... Also allow rotation in all 4 directions. Conflicts: policy/src/com/android/internal/policy/impl/PhoneWindowManager.java services/java/com/android/server/WindowManagerService.java AOSP-Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461 - Implement rotation animations. This introduces a small new feature for ScaleAnimation allowing the scaling factor to be expressed as a percentage of the object (which is the same as the existing float interpretation), a percentage of the container, or a fixed dimension. Maybe not useful for anything else, but I needed it for this. Also fix a bug in how transformation matrices were propagated from the Animation to Surface Flinger, so that rotate and skew animations will actually work. :p AOSP-Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d - Don't leak. AOSP-Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6 Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
* Support for BT GPS donglesCuong Bui2012-01-074-8/+1909
| | | | | | see http://iloki.nl and http://code.google.com/p/android/issues/detail?id=9057 Change-Id: I2e6e6071f5d4ae553f12f3aa4989d085820d787d
* Camera: Support CAF Gingerbread ReleaseGiulio Cervera2012-01-053-43/+213
| | | | | | | | | | enabled with: BOARD_CAMERA_USE_GETBUFFERINFO := true BOARD_USE_CAF_LIBCAMERA := true BOARD_USE_CAF_LIBCAMERA_GB_REL := true Change-Id: I5f0bdef1a1f8d81e346245c2b9053fe984097276
* OMAP4: Adding HDMI Support in the frameworkRicky Bhatia2011-12-132-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon hpd_enabled events, the HDMI Observer will trigger the AudioService to reroute the audio to HDMI. Change-Id: Iaae18e99f0344c2c4214bbadf49acc98957a94e7 WHY: Keep isolated from Google's master list of Intents OMAP4: Update HDMIObserver to new uevent message HDMI driver doesn't use switch-class to inform userspace about HDMI plug/unplug events anymore. Standard uevent actions (add, remove) are now received upon cable plug/unplug. HDMIObserver has been updated to handle new uevent message. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> Patch set 2: Cherry-pick on current tree. No changes made. Taking verifications, approvals and build test from patch set 1. Signed-off-by: Jean Johnson <jean-johnson@ti.com> Change-Id: I449e0d42cbdf3fcca0e4620c82872a27db73cd7e UI Cloning support on HDMI and LCD Description# System server is modified for launching the Ui cloning service. This service would be listening to HDMI attach/detach events from HDMI Observer. On attach event it clones the UI to HDTV and on detach event, it would disable the UI Cloning. And this patch also fixes the hdmi detection by HDMI observer during bootup. Currently HDMI Obsrever is relying on UEvent from the kernel for HDMI attach/detach events. But if the HDTV is connected before booting the platform, the event is lost by the time HDMI observer is initialized during boot sequence. This is fixed by modying the HDMIObserver init to read the current display2 status, whether enabled or disabled. Since HDMI HPD event will enable the display2 device in kernel, this status read is reliable and handles the hdmi pre-attach event correctly. Change-Id: I48a63df27796cbb4791fc6bfe98b51dea489d84 Signed-off-by: Sunita Nadampalli <sunitan@ti.com> OMAP4: Fixing the copyright on HDMIObserver This is a TI-owned file, derived from HeadsetObserver.java. Applying the copyright as our other files have. Signed-off-by: Ricky Bhatia <a0866433@ti.com> This patch was created from http://review.omapzoom.org/#change,11236 patch set 2. That patch suffers from an "Internal Server Error". I'm taking the validations and approvals from that patch. Signed-off-by: Jean Johnson <jean-johnson@ti.com> Change-Id: I8582517d6ff579cd616ca98f85cd748e91065e08 HDMI Observer and VideoView changes to hide custom classes from export Description# HDMI Observer and VideoView java files are modified to shield the new classes under @hide annotation. This is required to not to expose these classes to applications. Signed-off-by: Sunita Nadampalli <sunitan@ti.com> Patch Set 2: Simple cherry-pick on current tree. No changes made. Taking verifications, approvals and build test from patch set 1. Signed-off-by: Jean Johnson <jean-johnson@ti.com> Change-Id: Id3e33fcd6d95c2a4a625d034fe3c6ae2e93bd406
* Merge "Make button brightness override actually work." into gingerbreadSteve Kondik2011-12-041-2/+15
|\
| * Make button brightness override actually work.Danny Baumann2011-11-211-2/+15
| | | | | | | | | | | | Previously, an application could set a button brightness override, but the value which was set was only ever used for determining whether there is an override and was never set to the light device.
* | Revert "frameworks/base: surfaceflinger: Use vertical quads for 90/270 ↵Steve Kondik2011-11-303-338/+1
| | | | | | | | | | | | orientation" This reverts commit f7382855f1d3c5d9dbd3e5191f7336e47736ef04.
* | Revert "frameworks/base: surfaceflinger: Increase min texture width limit"Steve Kondik2011-11-302-4/+2
|/ | | | This reverts commit 8c556d9f4d2e561fb2ab730498dafc94b0e8679c.
* platform/frameworks/base: Call stopRecording first then start beepSignalSrinivasan Kannan2011-11-131-1/+2
| | | | | | | - Prioritize stopRecording call to avoid recording stop beep from being recorded onto file. Change-Id: I8a36c8511b94a8de3d3ce4b67213d07154b9a88c
* Camera: Initialize the camera shutter sounds asynchronously.Kiran Kumar H N2011-11-132-1/+21
| | | | | | | | | As part of the camera initialization, the shutter sounds(for both snapshot and recording) are loaded. This takes around 70ms. Since the launch is not dependent on this, the sounds can be loaded asynchronously. Hence moving them to a seperate thread. Change-Id: Id0309febf0742cadc3bcca71b0f19064547b6bda
* Merge "Remove redundant compositionComplete for every threadLoop iteration" ↵Steve Kondik2011-11-141-2/+0
|\ | | | | | | into gingerbread
| * Remove redundant compositionComplete for every threadLoop iterationKobi Cohen Arazi2011-11-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | hw.compositionComplete is invoking glFinish which in turn might need to unnecessary talk with GPU and hurt power perfs. Change-Id: If232a1d8ee5d00dc3a019501e78cd5034a04c3c6 Conflicts: services/surfaceflinger/SurfaceFlinger.cpp
* | Merge "Monitor device storage directly in /data/data" into gingerbreadSteve Kondik2011-11-141-3/+3
|\ \
| * | Monitor device storage directly in /data/dataJosh Stone2011-10-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DeviceStorageMonitorService watches over /data, and when things get full, starts deleting app cached files. The app caches are actually under /data/data, which on DINC is its own mount. This means the monitor did not notice when app cache grew too big, as it only saw the size of /data proper. This patch makes the monitor look at /data/data instead. For DINC, this means it can properly manage app cache, but it won't notice if the upper /data partition is getting full. That's not as common as /data/data filling up though. For the Samsung devices that mount a /datadata and then symlink to /data/data, it should also work, as statfs dereferences links first. For all other devices with only /data, reading statfs on /data/data still yields the total/free sizes of the /data partition. Change-Id: I8bf2c173ac27240dd28e2e3f46eac9f197042380
* | | Merge "Bluetooth: Remove a debug Log.e()" into gingerbreadSteve Kondik2011-11-141-2/+1
|\ \ \
| * | | Bluetooth: Remove a debug Log.e()Tanguy Pruvot2011-11-101-2/+1
| | |/ | |/|
* | | Merge "Revert "frameworks/base: AudioPolicyManager fixes"" into gingerbreadSteve Kondik2011-11-141-16/+8
|\ \ \
| * | | Revert "frameworks/base: AudioPolicyManager fixes"Danny Baumann2011-11-011-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 76816eea961e26c402bffedd0672fd99870a7d7f. There is no clear advantage associated with this change (probably it's only useful for CAF's own libaudio), and it has at least one disadvantage: It breaks call recording on Motorola's libaudio, which doesn't like getting fed with a channels value like CHANNEL_IN_MONO | CHANNEL_IN_VOICE_UPLINK.
* | | | Fix if defined macro that caused failure in picking up stub audio flagsAjay Dudani2011-11-131-1/+1
| | | | | | | | | | | | | | | | Change-Id: I68d1b44864ee39cbe2b52e4250e83e2d52544827
* | | | Implement hack to enable audio thru docks on Motorola phonesEmilio López2011-11-142-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to pass a routing parameter to io 1 while sending the DockState parameter to io 0 simultaneously. This is required to enable the correct audio routing when docking/undocking and allows audio on docks to work when combined with the DockAudio package. Change-Id: I443f6a44c9f222773b830e17aa6779882d8f9300
* | | | Merge "Config option to completly disable Electron Beam animation" into ↵Giulio Cervera2011-11-141-8/+11
|\ \ \ \ | | | | | | | | | | | | | | | gingerbread
| * | | | Config option to completly disable Electron Beam animationGiulio Cervera2011-11-031-8/+11
| |/ / / | | | | | | | | | | | | Change-Id: Ia9c5049d8154f6c14037880481caef7073d7016f
* | | | ConnectivityService: update network settings when RAT changesRicardo Cerqueira2011-11-121-1/+6
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | For radio subtype changes (GPRS/EDGE/UMTS/HSPA/etc on GSM), refresh the network settings. This causes the values from net.buffersize.<newtech> to be applied in cases where a connectivity tech change does not imply an actual reconnection, and applies the proper buffersizes (as configured) for the new technology type Change-Id: I7834d5cab5a7c9cfbebdcce81820238579d45177
* | | libcameraservice: Support FFCs with reversed rotation logicRicardo Cerqueira2011-11-072-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Double mirroring, how does it work? :( This also does a revert of change I795b216228da46ee98efc8540ada1780d00b18d8, ("libcameraservice: Add exceptions to handle the FFC on the LGE star") since it serves the same purpose in a better (and generic) way. Change-Id: I2bcc770ad51bd185103956e80d1a13d5c81c5edd
* | | audioflinger: Add support for the LGE star's FM radioRicardo Cerqueira2011-11-072-1/+25
|/ / | | | | | | | | | | | | | | Unlike qcom, FM isn't enabled by setting a magic output device, but by setting a specific FM audio mode. So set that mode instead of using the qcom logic of output routing. Change-Id: Ie5851b33aa9260dee6183be894a600db7a98350c
* | Quiet Hours Haptic Feedback (1/2)Danesh M2011-10-281-1/+29
| | | | | | | | | | | | | | | | Part 2 : http://review.cyanogenmod.com/#change,9429 Allow haptic feedback to be controlled via quiet hours Change-Id: Ic168185e09246fa104a98e77413a6e929bf4e930
* | Allow LED setting by category (Framework) (1/2)Pawit Pornkitprasan2011-10-281-3/+27
| | | | | | | | Change-Id: Ib8c08f40d54317164adee694554598b281f98a09
* | frameworks/base: surfaceflinger: Increase min texture width limitOmprakash Dhyade2011-10-282-2/+4
| | | | | | | | | | | | | | | | | | | | Increase minimum texture width limit to 480 and it should be multiple of 16 for vertical stripes optimization. (cherry picked from commit 624055c0927097e7db1ebc6fe025f6c66b9bca01) Change-Id: I24d1396842590c0c39b64b80420148e26efe1772