summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-13Merge "Added dropbox broadcast notification"tools_r9tools_r8froyo-plus-aospJean-Baptiste Queru
2010-12-09Merge "Fix for phone app crash in Icc Card."Wink Saville
2010-12-08Merge "frameworks/base/telephony: Release wakelock on RIL request send error"Wink Saville
2010-12-08Fix for phone app crash in Icc Card.Uma Maheswari Ramalingam
- Check for active phone in ICC handler before processing messages. - Boundary check for gsm/cdma subscription app index while retrieving the ICC Card App. Change-Id: I3d54447e8d48e3482763e78eeb2a737a34cec321
2010-12-08frameworks/base/telephony: Release wakelock on RIL request send errorAnshul Jain
Android telephony does not release the partial wakelock right away if there is an error in sending the RIL request. The wake lock is released only after EVENT_WAKE_LOCK_TIMEOUT occurs that prevents the phone to go in power collpase. The change is to release the wake lock as soon as the error in send is detected. Also, change RIL#send not not send a request if there is no connection to vendor RIL, as the request will always fail. Change-Id: Ia39a4b9ac12f4064e301a65abfd26409d49babe1
2010-12-08Added dropbox broadcast notificationHakan Still
To monitor the dropbox an application have to either poll the dropbox and keep track of all entries or observ the /data/system/dropbox directory. The later requires that the application runs as system-user. This commit adds that a broadcast intent is sent when something is written to the dropbox and an application can just listen on this intent and then reads the entry with help of the DropboxManager class. The application have to hold the permission android.permission.READ_LOGS to get the intent. Change-Id: I1f77f206a243df69f4ed5306078c47f7bf6181ec
2010-12-07Merge "Telephony: Add support to read 3GPP2 sms from CSIM/RUIM"Wink Saville
2010-12-07Merge "Strings for NI position request are moved to resources"Jean-Baptiste Queru
2010-12-06Merge "Changing connect and response timeout."Jean-Baptiste Queru
2010-12-06Merge "NumberPicker: Set formatter local value to US."Jean-Baptiste Queru
2010-12-06NumberPicker: Set formatter local value to US.Chen Libao
As the Arabic language formatter would make number "1,2,3" to Arabic language word means one,two,three, NumberPicker won't like to show any thing other than numbers, add local settings to US, make the number 1,2,3 Change-Id: If2d161ac4133f6c9c6e1ec284d6d2fbf01855fa0
2010-12-06Changing connect and response timeout.Henrik Baard
In bad network conditions and where switches often occur between 2G and 3G the timeout of 20s is too short. Setting this timeout to 60 seconds will improve functionality in bad conditions while it will not affect functionality in good networks. This change also aligns the timeouts with the timeouts used by the Browser (Connection.java). Change-Id: I0fbe3cbfe734f8d55a41bfa5d8ab6b332a19f912
2010-12-03Strings for NI position request are moved to resourcesHakan Gustavsson
The strings used by the framework for network initiated position requests are now string resources that can be properly localized. Change-Id: If1cba89adb1bfcb9c8fdb59b9c5aa1107b11279e
2010-12-02Merge "Preserve flags field of event passed to injectKeyEvent()"Jean-Baptiste Queru
2010-12-02Preserve flags field of event passed to injectKeyEvent()Mike Playle
This patch allows users of WindowManagerService.injectKeyEvent() to set flags on the key event being injected. In particular this allows long presses (FLAG_LONG_PRESS) to be injected into the window manager.
2010-12-01Merge "Fix crash by "adb shell pm list permissions -f|-s""Jean-Baptiste Queru
2010-12-01Merge "Fix HTTP redirect missing statuscode 303 and 307"Jean-Baptiste Queru
2010-11-30Fix crash by "adb shell pm list permissions -f|-s"Ali Utku Selen
pm command makes the assumption that every permission should contain android:description and android:label attributes while they are not mandatory. If a permission does not contain these two attributes, we get "android.content.res. Resources$NotFoundException: String resource ID #0x0" followed by a NPE when using -f or -s options. With the following change, users will get "null" in output for respective fields. Change-Id: I4e7f407592fa071abdab1d979775f46ec27dc9d2
2010-11-29Fix HTTP redirect missing statuscode 303 and 307Per Osbäck
Change-Id: I1c5f3a9f348a05d0558b31f912e10a59382eb24c
2010-11-23Merge "frameworks/base: Destroy the overlay even if there is an error"Jean-Baptiste Queru
2010-11-22Merge "Notify the playback status to DRM agents before the playback starts"Gloria Wang
2010-11-22Merge "Update of DRM Framework."Gloria Wang
2010-11-22Merge "Enabling cell broadcast (SMS-CB) support in the platform."Jean-Baptiste Queru
2010-11-22frameworks/base: Destroy the overlay even if there is an errorNaomi Luis
Allow the overlay object to be destroyed whenever the destroy is invoked. Currently the destroy call returns if there is an error encountered, which results in open data and control channels. Change-Id: I1f2ef4ebb5fb1dcabf05ab50b5bbf6e5e240a63a
2010-11-22Merge "SearchDialog: Fix for NullpointerException while using Suggestions in ↵Jean-Baptiste Queru
Browser"
2010-11-22Notify the playback status to DRM agents before the playback startsGloria Wang
Change-Id: I288eae2d35ab175c720bb0dd9f69e3e08ada9b8a
2010-11-22SearchDialog: Fix for NullpointerException while using Suggestions inDeepika Sai Amuri
Browser Change-Id: Ic208ae51e4f7678363ea6d7de9db97707713bf6d
2010-11-19Merge "StagefrightMediaScanner: Call endFile() for MIDI and OGG files."Jean-Baptiste Queru
2010-11-19Merge "Added noop unregisterReceiver to complement existing noop ↵Jean-Baptiste Queru
registerReceiver."
2010-11-19Merge "Improve performance when getting styled string."Brad Fitzpatrick
2010-11-19Enabling cell broadcast (SMS-CB) support in the platform.Henrik Hall
Adding a simple API enabling applications to control SMS-CB reception. Implementing parsing, assembly and dispatching of SMS-CB messages over GSM. Change-Id: Iee841605a45a3af60c7602af175056afb03a38da
2010-11-19Update of DRM Framework.Takeshi Aimi
-Access permission handling Introduce an internal function which allows the desired process to access decryption flow. This new function is just for reference and each OEM manufacturer should implement/replace with their solutions. -New API, getMetadata() This API is for retrieving media metadata from container-based DRM, such as OMA forward-lock content. This API asks DRM agent to retrieve media metadata hiddein inside of DRM special container. -New API, acquireRights() This API wraps acquireDrmInfo() and processDrmInfo(). If DRM agent has valid implementation of both APIs, Application can acquire DrmRights only by calling this API. -Bug fix in event loop of OnInfoListener. Separate OnInfo event loop from mail thread loop so as to avoid the issue that message is not dispatched when mail thread is busy. Changes are made by SEMC and Sony. Change-Id: I04ee3e0988152a71e221f2256d83253749a29da0
2010-11-19StagefrightMediaScanner: Call endFile() for MIDI and OGG files.Hiroshi Takekawa
addStringTag() caches non-ascii metadata strings for later processing, and then endFile() will be called at the end of processFile() to convert non-ascii strings from locale's charset to utf-8 if required. Stagefright's processFile() failed to call endFile() when the processing file is a MIDI file or an OGG file. This patch fixes this problem to populate metadata correctly. Reviewed by: Brad Fitzpatrick, Marco Nelissen. Change-Id: I072e79d81dce1fec63297d2b5d2b870a72e5b66e
2010-11-18Improve performance when getting styled string.Peter Eliasson
The style used in the composing text for input methods takes a long time to create. This is experienced as a lag when composing the first word. The bottleneck lies in the 10 calls to nativeIndexOfString which does a linear search through thousands of strings. Change-Id: I3184b2be3673d384cca19e9a70ad94b4d3085576
2010-11-17Merge "build failed with g++ v. 4.4.5 err msg: ↵Jean-Baptiste Queru
frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char*"
2010-11-17Merge "Release reference when putting RILRequest back into the pool."Jean-Baptiste Queru
2010-11-17Merge "Prevent system crash when OOM in Binder thread."Jean-Baptiste Queru
2010-11-17Merge "Fix build (broken documentation link)"Jean-Baptiste Queru
2010-11-17Fix build (broken documentation link)Jean-Baptiste Queru
Change-Id: Ic36f81bbd9f112bd79f9177a407593e8c8f7f0ed
2010-11-17Merge "Framebuffer: Support variable number of framebuffers in the UI"Jean-Baptiste Queru
2010-11-17Merge "Reorder lock acquision vs try."Jean-Baptiste Queru
2010-11-18build failed with g++ v. 4.4.5Matthias Bady
err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char* Change-Id: I6442ee642aebfbfc2f977bab40016cfedc7789ac
2010-11-17Merge "Added buildQuery and buildUnionSubQuery methods without misleading ↵Jean-Baptiste Queru
selectionArgs parameter."
2010-11-16Merge "DropBox: Read until the end of stream has been reached"Brad Fitzpatrick
2010-11-16DropBox: Read until the end of stream has been reachedChristian Lindeberg
Read the requested length or until the end of the input stream has actually been reached. Change-Id: I01bc0b81eca0225209bdd288dde6a778a19d1e2c
2010-11-12Added buildQuery and buildUnionSubQuery methods without misleading ↵Jonas Schwertfeger
selectionArgs parameter. The signatures of the existing buildQuery and buildUnionSubQuery methods include a selectionArgs parameter that is not actually being used in the method implementations. This parameter leads to the misconception that SQL paramter substitution is carried out by these methods. I added new variants of these methods without that parameter and deprecated the old variants. Change-Id: I1bf770d5c777649e9aac36d93aa93bd65bbcc2a3
2010-11-11Merge "Adding pan behavior on preference dialog."Amith Yamasani
2010-11-10Merge "Without SD card the shutdown sequence was delayed"Brad Fitzpatrick
2010-11-09Without SD card the shutdown sequence was delayedJohan Alfven
If the memory card is not inserted (or removed) from the phone the shut down process is very long. It takes almost 24 seconds. For the phone with memory card the averige is 5-6 seconds Make sure to send onShutDownComplete even if an SD card is not mounted and no unmount is done. Change-Id: I0e79b82e294a971f5e7144cdd3cc16b7ff414b9c
2010-11-05Prevent system crash when OOM in Binder thread.Mattias Petersson
When handling large images during an update of a widget, we can run out of memory in the Binder thread. This will cause an OutOfMemoryError to be thrown. When an Error is thrown in the Binder thread, the entire system will crash. This was fixed by catching this OutOfMemoryError and instead throw a RuntimeException to keep the system alive. Change-Id: If27199676c6f8aef23fb249be1197ca5dfe0fe99