summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't consider input restricted if keyguard is still disabled.Danny Baumann2012-06-151-1/+7
| | | | Change-Id: I00a351311d0933fe326bda33f5c988a6232cca16
* 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
* Merge "Status Bar Brightness Control Padding" into icsSteve Kondik2012-06-141-1/+12
|\
| * Status Bar Brightness Control Paddingnebkat2012-06-131-1/+12
| | | | | | | | | | | | | | Add a padding to the brightness control on both sides to make it easier to reach the min/max brightness. Change-Id: Ia42444321f82aaac97c0c442796dec551b1bcd65
* | Merge "LockscreenTarget : Switch to dp from px for insets" into icsSteve Kondik2012-06-143-14/+5
|\ \
| * | LockscreenTarget : Switch to dp from px for insetsDanesh Mondegarian2012-06-123-14/+5
| |/ | | | | | | | | | | Related to : http://review.cyanogenmod.com/#/c/17561/1 Change-Id: Iace302f95cc73fa18bb6348d7739123f5529a41e
* | Merge "Fix long click intent for Wimax notification pulldown / power widget" ↵Steve Kondik2012-06-141-1/+2
|\ \ | | | | | | | | | into ics
| * | Fix long click intent for Wimax notification pulldown / power widgetRobert Burns2012-06-101-1/+2
| |/ | | | | | | Change-Id: Ibc2ea21b136aa390a371fa997c07c7dae7d83676
* | Merge "PT-BR: Added missing translations" into icsSteve Kondik2012-06-142-1/+6
|\ \
| * | PT-BR: Added missing translationsGustavo2012-06-102-1/+6
| |/ | | | | | | Change-Id: Id9fb3dff7c3353d88013508e9dd573d17cf3e9fb
* | Merge "telephony: Smdk4210RIL: clean up processUnsolicited" into icsDaniel Hillenbrand2012-06-131-364/+21
|\ \
| * | telephony: Smdk4210RIL: clean up processUnsolicitedEthan Chen2012-05-311-364/+21
| | | | | | | | | | | | | | | | | | | | | | | | Remove full overload of processUnsolicited and have it work with the requests unknown by the RIL superclass. Pass everything else upwards, unmodified. Change-Id: I129120995c17b45c17dd50b77f281de352c20ae2
* | | finnish: weather translations and some other fixescodeworkx2012-06-131-2/+52
| | | | | | | | | | | | Change-Id: I02f8e5e4a80b5fad999140cd65ae9e745e13c028
* | | Merge "bootanimation: performance enhancements" into icsSteve Kondik2012-06-132-4/+54
|\ \ \
| * | | bootanimation: performance enhancementsEmilio López2012-06-132-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements two simple performance enhancements, which might benefit devices. They are completely opt-in by setting the following variables. * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation zip to memory; this is handy on devices where the storage might be slow. By preloading it, we get quick access to the zip file, and the animation doesn't stutter. * TARGET_BOOTANIMATION_TEXTURE_CACHE: allows maintainers to force texture cache on/off. Also fixes the sign warnings related to int / size_t comparison Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5
* | | | Update Spanish translationAlfredo2012-06-121-0/+2
|/ / / | | | | | | | | | Change-Id: Icf47a486a800f22c0fa837603f718d2893539e97
* | | Merge "Update Russian Translation-Some fixes-CM9" into icsDanny Baumann2012-06-121-1/+1
|\ \ \
| * | | Update Russian Translation-Some fixes-CM9pvolkov2012-06-101-1/+1
| | |/ | |/|
* | | Merge "Missing hungarian translation (Lock screen Weather - error messages)" ↵Danny Baumann2012-06-121-0/+3
|\ \ \ | | | | | | | | | | | | into ics
| * | | Missing hungarian translation (Lock screen Weather - error messages)syman2012-06-101-0/+3
| |/ / | | | | | | | | | Change-Id: I7b6b3b93f66285f45db2752c7bde1385d87ec416
* | | Previous fix was incorrect.Cuong2012-06-101-1/+11
|/ / | | | | | | | | | | | | Timestamp doesn't contain date info, therefore we need to construct it and adjust it if daylight savings applies. Change-Id: I931ff0f2ba93ab8172f2cbc69926aba1eab2778a
* | Merge "telephony: support for setting add. audioparams for incall audio" ↵codeworkx2012-06-102-0/+18
|\ \ | | | | | | | | | into ics
| * | telephony: support for setting add. audioparams for incall audiocodeworkx2012-06-092-0/+18
| | | | | | | | | | | | Change-Id: Ic6f72fba542e1421631826d9bcd86340064c942b
* | | Merge "ipconfig.txt: fix a possible error in parsing" into icsSteve Kondik2012-06-101-0/+4
|\ \ \
| * | | ipconfig.txt: fix a possible error in parsingTanguy Pruvot2012-06-091-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The format of /data/misc/wifi/ipconfig.txt is this one <version> <netA_key1><netA_value1><netA_key2><netA_value2>...<EOS> <netB_key1><netB_value1><netB_key2><netB_value2>...<EOS> On the defy, i had an error on boot regarding a missing "id" in NetworkStats, so i compared on another device... It appears that defy one format was : <version><EOS> <netA_key1><netA_value1><netA_key2><netA_value2>...<EOS> I dont know exactly what caused this format error, maybe because the quota and usage stats are enabled on it. Change-Id: I4cf70fe88688341b8eea007a08910acb6f4fcff7
* | | Merge "Update Russian Translation-Weather-No data-CM9" into icsSteve Kondik2012-06-101-0/+2
|\ \ \
| * | | Update Russian Translation-Weather-No data-CM9pvolkov2012-06-091-0/+2
| | | |
* | | | Merge "Input: Fix some Applications ANR issue in monkey test" into icsSteve Kondik2012-06-101-16/+23
|\ \ \ \
| * | | | Input: Fix some Applications ANR issue in monkey testZhenghua Wang2012-06-031-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue Description: When do monkey test on some applications, there is big probability get ANR issue. one example is as following: adb shell monkey -p com.google.android.street -v 500000 Root Cause: situation 1. InputDispatcher Thread calls findTouchedWindowTargetsLocked routine, there is a AMOTION_EVENT_ACTION_DOWN event and it can find a splittable touched window for this event , then mTouchState.split set to true. situation 2. WMS Thread calls setInputWindows routine and all TouchedWindows associated with mTouchState are removed , mTouchState.split status still keep true. situation 3. InputDispatcher Thread calls findTouchedWindowTargetsLocked routine, there is a AMOTION_EVENT_ACTION_POINTER_DOWN event and it can find found touched window, exit window loop in following code : if (windowInfo->visible) { if (! (flags & InputWindowInfo::FLAG_NOT_TOUCHABLE)) { isTouchModal = (flags & (InputWindowInfo::FLAG_NOT_FOCUSABLE | InputWindowInfo::FLAG_NOT_TOUCH_MODAL)) == 0; if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { if (! screenWasOff || (flags & InputWindowInfo::FLAG_TOUCHABLE_WHEN_WAKING)) { newTouchedWindowHandle = windowHandle; } break; // found touched window, exit window loop } } situation 4. The following code will have problem after situation 3 in below conditions: newTouchedWindowHandle doesn't support split , isSplit is true ( last time touched window is splittable ) mTempTouchState.getFirstForegroundWindowHandle will always return NULL due to situation 2 // Figure out whether splitting will be allowed for this window. if (newTouchedWindowHandle != NULL && newTouchedWindowHandle->getInfo()->supportsSplitTouch()) { // New window supports splitting. isSplit = true; } else if (isSplit) { // New window does not support splitting but we have already split events. // Assign the pointer to the first foreground window we find. // (May be NULL which is why we put this code block before the next check.) newTouchedWindowHandle = mTempTouchState.getFirstForegroundWindowHandle(); } The window says it does not want to support splitting, so the touches should go to one of the previously split windows except that there are none, which result to "goto Unresponsive" in findtouchedWindowTargetsLocked routine. This is not the correct behavior because the user did actually touch something. situation 5. InputDispatcher Thread will call dispatchOnce repeated to try to dispatch this AMOTION_EVENT_ACTION_POINTER_DOWN event, then ANR timeout ( 5000ms ) will be exceeded after several times "goto Unresponsive"in findtouchedWindowTargetsLocked routine. Solution: In situation 4 we should drop the touch. If the newly touched window was splittable then we wouldn't drop the touch. It's only when the newly touched window was not splittable where we will drop the touch. Change-Id: Iab2c06ce0597ac77eb886ccd9d84646c86723bdb Author: Jeffrey Brown <jeffbrown@android.com> Author: Erjun Ding <erjunx.ding@intel.com> Author: Zhenghua Wang <zhenghua.wang@intel.com> Author: Jack Ren <jack.ren@intel.com> Author: Bruce Beare <bruce.j.beare@intel.com> Conflicts: services/input/InputDispatcher.cpp
* | | | | Merge "Lockscreen weather German translation" into icsSteve Kondik2012-06-101-0/+2
|\ \ \ \ \
| * | | | | Lockscreen weather German translationelektroschmock2012-06-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch set 1 - Add strings introduced with http://review.cyanogenmod.com/#/c/16982/1 Patch set 2 - Append \u2026 Change-Id: Ia78748a3c03b26bbedd4e40c9ec690b98170cf84
* | | | | | Merge "Frameworks: tablet powerwidget management (1/2)" into icsSteve Kondik2012-06-109-62/+588
|\ \ \ \ \ \
| * | | | | | Frameworks: tablet powerwidget management (1/2)Jesus David2012-06-109-62/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Settings: http://review.cyanogenmod.com/#/c/16842/ Adds basic powerwidget management for tablet devices Allows to setup up to 6 different toggles, or remove all of them patchset 2: remove whitespaces and tabs patchset 3: remove some other tabs left patchset 4: some other tabs were hidden patchset 5: *changed strings for consistency with phone powerwidget *added license header on some files patchset 6: remove WIP tag Change-Id: I2e643401aaac0146857abe8c2d2dbc652d28e666
* | | | | | | Merge "Aligning native Parcel implementation to Java." into icsSteve Kondik2012-06-101-1/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Aligning native Parcel implementation to Java.Magnus Strandberg2012-06-081-1/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Java implementation of writing the RPC response header calculates the length of the header including the 4 bytes specifying the header length but the native implementation excludes the 4 bytes specifying the length from the header length. The native implementation has been aligned to the Java impl. Change-Id: I325bf272a63152d8fded4cf4e51a906b5a9bfe19
* | | | | | Merge "french: weather translation fixes" into icsSteve Kondik2012-06-101-7/+7
|\ \ \ \ \ \
| * | | | | | french: weather translation fixesTanguy Pruvot2012-06-081-7/+7
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: I228a7458f2b1cdf99f5eee85e0e248ff81255371
* | | | | | Merge "frameworks: Dutch translations" into icsSteve Kondik2012-06-102-69/+161
|\ \ \ \ \ \
| * | | | | | frameworks: Dutch translationsMarco Brohet2012-06-072-69/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I45418c4172c97f430efbf736af0c61854f99c956
* | | | | | | Merge changes I1bc6f74e,Iabd5ac29,I2b6daab0,I8db46d38,Icca3366a,I9191e4b2 ↵Steve Kondik2012-06-105-6/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ics * changes: Do not dispatch context selection events to non-visible fragments. Fix potential NPE when saving fragment state. Distance max set incorrectly Fix for too many binder calls in packagemanager Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode. Prevent empty overflow popup when there are no overflow items.
| * | | | | | | Do not dispatch context selection events to non-visible fragments.Jake Wharton2012-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When used in a `ViewPager`, fragments that are present on the adjacent, cached pages will receive context selection dispatches which, depending on your fragment contents, can be difficult to determine whether or not the event truly originated from your view. By using the visible hint we restrict dispatching to only those fragments which are marked as being visible. Since the fragment pager adapter updates this setting properly most implementations will be afforded this fix without any change required. If the user is implementing their own adapter they likely already understand the implications of these cached fragments and the reponsibility for updating the boolean falls to them. Mirrors support library change Ie6a72c1c82c2784774373670007b6f5948fe16da Change-Id: I1bc6f74e26660ef4a3c20419c077e37992412e94
| * | | | | | | Fix potential NPE when saving fragment state.Jake Wharton2012-06-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a fragment's saved view state is null and the user visible hint is true then the `result` bundle will have never been initialized to a value resulting in a `NullPointerException`. Mirrors support library change I8ba585bc6b9298841490d64bc22a8219cd261adb. Change-Id: Iabd5ac293d2ece3771da9ef257479eca0dcd523c
| * | | | | | | Distance max set incorrectlyAndreas Sandblad2012-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The distance max used in the MotionRange is calculated incorrectly. Looks like a copy-and-paste error. Change-Id: I2b6daab088df0fb69e05682b67ca33524ff35987
| * | | | | | | Fix for too many binder calls in packagemanagerHenrik Engström2012-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The packagemanager uses a ParceledListSlice to send back its lists of installed packages and apps. The list slice has a method append which, in addition to adding the item to the list, also returns true if the list has passed a size limit (about 1/4 of the total possible IPC parcel size) to let the caller know that he should send the slice. However, when used by the pm, it has an extra ! that makes it send whenever it ISN'T over this limit instead (and conversely, not send if it is under). This causes a lot more calls than needed since it sends tiny one item slices instead of larger ones. This patch removes the extra ! making it behave correctly. Change-Id: I8db46d380a25406b55f3214aee1505e81949acc5
| * | | | | | | Issue: Foreground activity performs [Resume] and [Pause] when any process ↵p134512012-06-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | died in sleep mode. Step to Reproduce 1) Turn off device’s screen. (Sleep mode) 2) Kill any process. A. Engineer Version: kill [PID] B. User Version: am force-stop [Package Name] 3) Foreground activity proceed [Resume] and [Pause] consecutively. Reason: Since ICS version, activity goes to stopped status when screen turns off. stopIfSleepingLocked( ) makes activity to stopped status but, pauseIfSleepingLocked( ) was used in GB and, activity keep paused status and, this problem did not occur. This change give effect to resuming activity when any process was killed. Because, resume is proceed without exception for activity status. The exception only filtered for [ActivityState.PAUSED] in sleep or shutdown mode. and, resume complete flow when activity status was [ActivityState.STOPPED]. Solution for this issue: We think that exception’s condition have to change if stopped activity status is intended in sleep mode. According to activity life cycle, activity can not resume from stop status. Also check [ActivityState.STOPPING]. :) Change-Id: Icca3366ac30ffa3b18f6e2393e4d7309089ef26a
| * | | | | | | Prevent empty overflow popup when there are no overflow items.Jake Wharton2012-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a device with a hardware menu key, an empty overflow window can be displayed if there are no items in said overflow menu. This leads to the next user touch being swallowed in the action of dismissing the invisible window. Change-Id: I9191e4b2e1ed4888e4bc7261e8b3f095a272a9b5
* | | | | | | | Merge "Fix off-by-one error when filtering application UIDs" into icsSteve Kondik2012-06-101-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Fix off-by-one error when filtering application UIDsMagnus Eriksson2012-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A filtering check in writeLPr() mistakenly includes the first application UID (10000) with the result that the package with UID 10000 is missing from packages.list. This patch fix the error. Change-Id: I3651beb346290db8e09317391b95a77aed1946b6 Signed-off-by: Magnus Eriksson <eriksson.mag@gmail.com>
* | | | | | | | Merge "Add NT_MODE's for NETWORK_MODE's 8 and 10" into icsSteve Kondik2012-06-101-0/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Add NT_MODE's for NETWORK_MODE's 8 and 10dhacker292012-06-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as defined in RILConstants.java The RIL in newer motorola phones is set to 10 as default. Signed-off-by: dhacker29 <davidhackerdvm@gmail.com> Change-Id: Ic80a9d984be40a5f921204e8997943b44c52d421