OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Release JNI local references as soon as possible."
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:17:44 +0000 (10:17 -0700)]
Merge "Release JNI local references as soon as possible."

11 years agoMerge "ProviderMap: remove hashmap when entire user specific entries are removed"
Amith Yamasani [Mon, 20 Aug 2012 17:16:36 +0000 (10:16 -0700)]
Merge "ProviderMap: remove hashmap when entire user specific entries are removed"

11 years agoRelease JNI local references as soon as possible.
Henrik B Andersson [Fri, 10 Feb 2012 12:17:40 +0000 (13:17 +0100)]
Release JNI local references as soon as possible.

The JNI layer has a fix amount (512) of jni references.
They should be released as soon as possible. In for
and while loops they can quickly reach the limit.

Change-Id: Id984345e1cc4f7aa6eb31a263b796c3da9edf773

11 years agoMerge "Fix for updating TCP buffer size when switching network type"
Robert Greenwalt [Fri, 17 Aug 2012 20:01:49 +0000 (13:01 -0700)]
Merge "Fix for updating TCP buffer size when switching network type"

11 years agoMerge "TabHost key handling corrected"
Jean-Baptiste Queru [Fri, 17 Aug 2012 17:02:49 +0000 (10:02 -0700)]
Merge "TabHost key handling corrected"

11 years agoFix for updating TCP buffer size when switching network type
Magnus Strandberg [Fri, 17 Aug 2012 09:36:55 +0000 (11:36 +0200)]
Fix for updating TCP buffer size when switching network type

When PDP connects in GSM network, the TCP buffer window size is
set to max 8760. If the phone swicthes to UMTS, the TCP buffer
size is not updated to UMTS, i.e. GPRS buffer size is still
used with limited data transfer spead as a result.
This fix makes sure the TCP buffer size is updated when
switching network type.

Change-Id: Iaa527c84f56cae108f4c7276bbed10552faaff6c

11 years agoMerge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 07:40:49 +0000 (00:40 -0700)]
Merge "Get rid of LOCAL_MODULE_TAGS := user"

11 years agoGet rid of LOCAL_MODULE_TAGS := user
Joe Onorato [Tue, 22 May 2012 21:16:41 +0000 (14:16 -0700)]
Get rid of LOCAL_MODULE_TAGS := user

Change-Id: I1c4e67f935a7c511cda9980f4475dfd0272617a5

11 years agoMerge changes Ieb566a2a,I953057cd
Kenny Root [Thu, 16 Aug 2012 23:06:29 +0000 (16:06 -0700)]
Merge changes Ieb566a2a,I953057cd

* changes:
  Use Libcore's stat instead of FileUtils#getFileStatus
  Use Libcore.os.stat instead of FileUtils

11 years agoUse Libcore's stat instead of FileUtils#getFileStatus
Kenny Root [Thu, 16 Aug 2012 18:38:04 +0000 (11:38 -0700)]
Use Libcore's stat instead of FileUtils#getFileStatus

Remove the last user of FileUtils#getFileStatus and move it to
Libcore.os.stat instead. Then we can remove the JNI code that does the
equivalent of a stat.

Change-Id: Ieb566a2a8a17c2dd0150724b4eb3ac1cc41c823d

11 years agoUse Libcore.os.stat instead of FileUtils
Kenny Root [Thu, 16 Aug 2012 18:10:58 +0000 (11:10 -0700)]
Use Libcore.os.stat instead of FileUtils

PackageManagerService just needed to know the owner for this file, so
just use stat instead so we can remove the old JNI code.

This is the last user of FileUtils#getPermissions so just remove the
FileUtils method as well.

Change-Id: I953057cd6b9de4410f33b6f22e4bddff02fe2988

11 years agoMerge "Fix Issue #35489: drm content corruption on GB"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:45:12 +0000 (14:45 -0700)]
Merge "Fix Issue #35489: drm content corruption on GB"

11 years agoMerge "Introduce a restorecon JNI binding."
Kenny Root [Thu, 16 Aug 2012 21:38:30 +0000 (14:38 -0700)]
Merge "Introduce a restorecon JNI binding."

11 years agoMerge "Remove StatFs from AndroidRuntime JNI"
Kenny Root [Thu, 16 Aug 2012 21:37:30 +0000 (14:37 -0700)]
Merge "Remove StatFs from AndroidRuntime JNI"

11 years agoRemove StatFs from AndroidRuntime JNI
Kenny Root [Thu, 16 Aug 2012 21:31:31 +0000 (14:31 -0700)]
Remove StatFs from AndroidRuntime JNI

Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c

11 years agoMerge "Use libcore Posix class for StatFs implementation"
Kenny Root [Thu, 16 Aug 2012 20:37:25 +0000 (13:37 -0700)]
Merge "Use libcore Posix class for StatFs implementation"

11 years agoUse libcore Posix class for StatFs implementation
Kenny Root [Thu, 16 Aug 2012 17:43:47 +0000 (10:43 -0700)]
Use libcore Posix class for StatFs implementation

Remove some JNI and duplicated functionality and use libcore's Posix
class for the statfs function instead.

Change-Id: Ic1e161dc10c18c2c6ee81d895a0efd8910086dbf

11 years agoProviderMap: remove hashmap when entire user specific entries are removed
Vairavan Srinivasan [Thu, 16 Aug 2012 06:37:45 +0000 (23:37 -0700)]
ProviderMap: remove hashmap when entire user specific entries are removed

User specific entries in  mProvidersByNamePerUser and mProvidersByClassPerUser
isn't cleared when entire user specific providers are removed. Fix is to remove
the user specific hashmap in such cases.

Change-Id: I6edf211ced873e59f3b89ffceb9eceec13ea8f3f

11 years agoMerge "Keep keyguard from starting after finished call when screen is on"
Dianne Hackborn [Wed, 15 Aug 2012 01:50:59 +0000 (18:50 -0700)]
Merge "Keep keyguard from starting after finished call when screen is on"

11 years agoKeep keyguard from starting after finished call when screen is on
Daniel Hansson [Thu, 29 Mar 2012 09:02:05 +0000 (11:02 +0200)]
Keep keyguard from starting after finished call when screen is on

Previously keyguard would start after a call ended, even though
the screen was on, if the screen had not been turned off since
phone startup.

Change-Id: I03c18a0bb2a58760614645871f4703afb9a0677d

11 years agoMerge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity"
Mike Lockwood [Tue, 14 Aug 2012 02:59:38 +0000 (19:59 -0700)]
Merge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity"

11 years agoMerge "Fix interface name for tethering"
Wink Saville [Mon, 13 Aug 2012 22:37:08 +0000 (15:37 -0700)]
Merge "Fix interface name for tethering"

11 years agoFix interface name for tethering
Vishal Mahaveer [Tue, 27 Mar 2012 18:06:50 +0000 (13:06 -0500)]
Fix interface name for tethering

Fix the interface name used in stopTethering

Change-Id: I3a8fb80c3c6cd382e7641d1735bff85d8a938ee9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
11 years agoFix Issue #35489: drm content corruption on GB
git-you.kim72.gmail.com [Mon, 30 Jul 2012 08:06:41 +0000 (17:06 +0900)]
Fix Issue #35489: drm content corruption on GB

If rawContent is copied into mediaBuf, readBuf is copied to wrong address.
mediaBuf should be forwarded by readBytes.

Change-Id: I4fc9c1f7f4e3d5dfe3c7e5cd92261608f6b3e248
Signed-off-by: git-you.kim72.gmail.com <you.kim72@gmail.com>
11 years agoMerge "Update preloaded-classes for JB"
Kenny Root [Mon, 13 Aug 2012 18:42:06 +0000 (11:42 -0700)]
Merge "Update preloaded-classes for JB"

11 years agoMerge "Telephony: Signal Strength cleanup & LTE support"
Wink Saville [Mon, 13 Aug 2012 18:25:49 +0000 (11:25 -0700)]
Merge "Telephony: Signal Strength cleanup & LTE support"

11 years agoMerge "Added missing viewport meta tag to html resources"
Jean-Baptiste Queru [Mon, 13 Aug 2012 17:38:23 +0000 (10:38 -0700)]
Merge "Added missing viewport meta tag to html resources"

11 years agoMerge "mediacodec: Don't crash if trying to open a codec that does not exist"
Jean-Baptiste Queru [Mon, 13 Aug 2012 16:30:11 +0000 (09:30 -0700)]
Merge "mediacodec: Don't crash if trying to open a codec that does not exist"

11 years agoMerge "Remove useless TestRunner"
Kenny Root [Mon, 13 Aug 2012 16:01:35 +0000 (09:01 -0700)]
Merge "Remove useless TestRunner"

11 years agomediacodec: Don't crash if trying to open a codec that does not exist
Martin Storsjo [Fri, 13 Jul 2012 10:01:06 +0000 (13:01 +0300)]
mediacodec: Don't crash if trying to open a codec that does not exist

Change-Id: If75e3156517993629f50622a84a9ac573fced815

11 years agoUpdate preloaded-classes for JB
SangWook Han [Sun, 12 Aug 2012 10:46:51 +0000 (19:46 +0900)]
Update preloaded-classes for JB

Change-Id: Id127308529d581c94bd2e911b637931156ce82c1

11 years agoTelephony: Signal Strength cleanup & LTE support
Uma Maheswari Ramalingam [Tue, 10 Jul 2012 20:54:10 +0000 (13:54 -0700)]
Telephony: Signal Strength cleanup & LTE support

Make signal strength parsing common for all modes

Add Support to calculate LTE
level for UI signal bar display

Update the lowest of Evdo/ CDMA dbm value
in phone status instead of using only CDMA dbm

Change-Id: I41bce658c536dc30558224c8ca76d6d70afb78ee

11 years agoRemove useless TestRunner
Kenny Root [Fri, 10 Aug 2012 19:39:15 +0000 (12:39 -0700)]
Remove useless TestRunner

InstrumentationTestRunner can enumerate the test cases to run without a
special TestRunner.

Change-Id: I5a49413440ef191f28a21034a318d9a9e3f8174b

11 years agoMerge "StorageManager: fix issue that GREF has increased to 2011 in system server...
Jean-Baptiste Queru [Fri, 10 Aug 2012 16:04:05 +0000 (09:04 -0700)]
Merge "StorageManager: fix issue that GREF has increased to 2011 in system server with intel stress test."

11 years agoMerge "MtpStorage: correct the size of reserve space for MTP"
Jean-Baptiste Queru [Fri, 10 Aug 2012 16:03:41 +0000 (09:03 -0700)]
Merge "MtpStorage: correct the size of reserve space for MTP"

11 years agoMerge "Telephony: Dynamically instantiate IccCard"
Wink Saville [Wed, 8 Aug 2012 23:36:34 +0000 (16:36 -0700)]
Merge "Telephony: Dynamically instantiate IccCard"

11 years agoMerge "Return early when checking divider before child zero."
Jean-Baptiste Queru [Wed, 8 Aug 2012 20:20:07 +0000 (13:20 -0700)]
Merge "Return early when checking divider before child zero."

11 years agoMerge "Fix SurfaceView notifies on invalid surfaces."
Jean-Baptiste Queru [Wed, 8 Aug 2012 20:19:59 +0000 (13:19 -0700)]
Merge "Fix SurfaceView notifies on invalid surfaces."

11 years agoMerge "Add shortcut to avoid potential divide by zero in some case"
Jean-Baptiste Queru [Wed, 8 Aug 2012 20:17:25 +0000 (13:17 -0700)]
Merge "Add shortcut to avoid potential divide by zero in some case"

11 years agoMerge "Fix wrong count return for getPhoneSignalStrengthCount"
Jean-Baptiste Queru [Wed, 8 Aug 2012 19:59:05 +0000 (12:59 -0700)]
Merge "Fix wrong count return for getPhoneSignalStrengthCount"

11 years agoMerge "StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)"
Jean-Baptiste Queru [Wed, 8 Aug 2012 19:06:26 +0000 (12:06 -0700)]
Merge "StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)"

11 years agoMerge "mediacodec: Don't suggest calling getOutputFormat() immediately"
Jean-Baptiste Queru [Wed, 8 Aug 2012 19:06:02 +0000 (12:06 -0700)]
Merge "mediacodec: Don't suggest calling getOutputFormat() immediately"

11 years agoMerge "Normalize output from aapt d xmltree"
Jean-Baptiste Queru [Wed, 8 Aug 2012 18:21:28 +0000 (11:21 -0700)]
Merge "Normalize output from aapt d xmltree"

11 years agoMerge "Fix cursor memory leak"
Jean-Baptiste Queru [Wed, 8 Aug 2012 17:44:50 +0000 (10:44 -0700)]
Merge "Fix cursor memory leak"

11 years agoMerge "Adds missing Bluetooth as network type."
Jean-Baptiste Queru [Wed, 8 Aug 2012 17:43:20 +0000 (10:43 -0700)]
Merge "Adds missing Bluetooth as network type."

11 years agoTelephony: Dynamically instantiate IccCard
Alex Yakavenka [Wed, 8 Aug 2012 17:30:11 +0000 (10:30 -0700)]
Telephony: Dynamically instantiate IccCard

Add required constant for Dct

Change-Id: I61cafee25cb40fe7de606a78566f93dfee523c73

11 years agoMerge "Fewer warnings in aidl generated code."
Elliott Hughes [Tue, 7 Aug 2012 19:19:22 +0000 (12:19 -0700)]
Merge "Fewer warnings in aidl generated code."

11 years agoFewer warnings in aidl generated code.
Elliott Hughes [Tue, 7 Aug 2012 17:34:02 +0000 (10:34 -0700)]
Fewer warnings in aidl generated code.

Bug: http://code.google.com/p/android/issues/detail?id=19196
Change-Id: If054e60c19dc73fe32f55d0fa1054309565a6de6

11 years agoMtpStorage: correct the size of reserve space for MTP
bo huang [Mon, 6 Aug 2012 05:16:57 +0000 (13:16 +0800)]
MtpStorage: correct the size of reserve space for MTP

According to description in frameworks/base/core/res/res/xml/storage_list.xml,
"mtpReserve: (integer) number of megabytes of storage MTP should reserve for free storage".
Mtpstorage class use it directly and doesn't change it to correct size in megabyes.
Mtp initor can not get correct storage information from android.

Change-Id: Icf59eb1eb478e67ea5990be96a9decb41aa55504
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Signed-off-by: Jack Ren<jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
11 years agoStorageManager: fix issue that GREF has increased to 2011 in system server with intel...
Chuanxia Dong [Tue, 29 May 2012 04:28:24 +0000 (12:28 +0800)]
StorageManager: fix issue that GREF has increased to 2011 in system server with intel stress test.

Issue description:
When run ICS stress test, always meet GREF issue. one of contributor is MountService$MountServiceBinderListener.
log info
19:21:11.609   222 24316 W dalvikvm:        24 of com.android.server.am.ActivityManagerService$AppDeathRecipient (24 unique instances)
19:21:11.609   222 24316 W dalvikvm:       479 of com.android.server.MountService$MountServiceBinderListener (479 unique instances)
19:21:11.619   222 24316 W dalvikvm:         7 of com.android.server.accessibility.AccessibilityManagerService$6 (7 unique instances)
Note: PID 222 is system server.

Issue alaysis:
Everyone can call getSystemService(Context.STORAGE_SERVICE) to get service.
When other service get StorageManager, StorageManager will new MountServiceBinderLister and
register a listener in MountService, which won't be unregistered. It's easy to generate a lot of
instance of unused MountService$MountServiceBinderListener in system server.

Issue fix:
So change the policy to be:
1. Doesn't new MountServiceBinderLister in construction.
2. when other service needs to register listener in StorageManager,
StorageManager will register listener with MountService.
3. When other service needs to unregister listener in StorageManager,
if there is no more other listeners in StorageManager, StorageManager
will unregister listener in MountService.

Change-Id: Iaaf889f44a1a5f62b9f65b3ab1b486c9b7dcaf7f
Author: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
11 years agoMerge "Telephony: Move AdnRecord.aidl into opt/telephony"
Wink Saville [Sat, 4 Aug 2012 14:54:35 +0000 (07:54 -0700)]
Merge "Telephony: Move AdnRecord.aidl into opt/telephony"

11 years agoMerge "show 3G icon for CDMA/1xRTT"
Wink Saville [Sat, 4 Aug 2012 14:51:26 +0000 (07:51 -0700)]
Merge "show 3G icon for CDMA/1xRTT"

11 years agoTelephony: Move AdnRecord.aidl into opt/telephony
Alex Yakavenka [Fri, 3 Aug 2012 17:42:41 +0000 (10:42 -0700)]
Telephony: Move AdnRecord.aidl into opt/telephony

Change-Id: Ib22f3e777f1cd39fb6da5b907bcec57c2c66ce3a

11 years agoshow 3G icon for CDMA/1xRTT
Madan Ankapura [Fri, 3 Aug 2012 02:10:22 +0000 (19:10 -0700)]
show 3G icon for CDMA/1xRTT

when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
11 years agoMerge "Change KeyStore to use Modified UTF-8 to match NativeCrypto"
Brian Carlstrom [Wed, 1 Aug 2012 23:30:53 +0000 (16:30 -0700)]
Merge "Change KeyStore to use Modified UTF-8 to match NativeCrypto"

11 years agoChange KeyStore to use Modified UTF-8 to match NativeCrypto
Brian Carlstrom [Tue, 31 Jul 2012 01:44:29 +0000 (18:44 -0700)]
Change KeyStore to use Modified UTF-8 to match NativeCrypto

Bug: http://code.google.com/p/android/issues/detail?id=35141
Bug: 6869713

Change-Id: I61cb309786960072148ef97ea5afedb33dc45f4e

11 years agoMerge "Improve test key names to reproduce public issue"
Brian Carlstrom [Wed, 1 Aug 2012 22:06:35 +0000 (15:06 -0700)]
Merge "Improve test key names to reproduce public issue"

11 years agoMerge "Telephony: Add HSPAP to getTcpBufferSizesPropName"
Robert Greenwalt [Wed, 1 Aug 2012 18:01:21 +0000 (11:01 -0700)]
Merge "Telephony: Add HSPAP to getTcpBufferSizesPropName"

11 years agoMerge " Fix preload classname for phone policy."
Adam Powell [Mon, 30 Jul 2012 17:46:11 +0000 (10:46 -0700)]
Merge " Fix preload classname for phone policy."

11 years agoFix SurfaceView notifies on invalid surfaces.
Andreas Röhl [Mon, 2 Jul 2012 11:06:26 +0000 (13:06 +0200)]
Fix SurfaceView notifies on invalid surfaces.

SurfaceView notifies registered callbacks on invalid
Surfaces.

Change-Id: Iddc9a5cd073fb73a0e7e9b9ca64ff4fac0777ca7

12 years agoReturn early when checking divider before child zero.
Jake Wharton [Sun, 29 Jul 2012 04:31:51 +0000 (21:31 -0700)]
Return early when checking divider before child zero.

Previously the `getChildAt` method would be called with an index of -1 which
would lead to an exception being thrown and caught. This is unnecessary since
we know there will never be a divider before the first child. It also avoids
additional object creation since this method can be invoked quite frequently.

Change-Id: Iab44520d5d52f96a829a009cdd1201696edbf9a4

12 years agoImprove test key names to reproduce public issue
Brian Carlstrom [Wed, 18 Jul 2012 06:40:49 +0000 (23:40 -0700)]
Improve test key names to reproduce public issue

Also fixes other unrelated test failures.

Bug: http://code.google.com/p/android/issues/detail?id=34577
Bug: 6837950

(cherry-picked from f4019af04a1fc4b16aa5972cbcbba703caa5d78d)

Change-Id: I5b32b5ccac80f04a4d0fd6b21b8caa11e42995a7

12 years agoMerge "Corrected typo when checking InputStream methods"
Romain Guy [Fri, 27 Jul 2012 20:58:11 +0000 (13:58 -0700)]
Merge "Corrected typo when checking InputStream methods"

12 years agoCorrected typo when checking InputStream methods
Edward Savage-Jones [Tue, 3 May 2011 11:33:20 +0000 (13:33 +0200)]
Corrected typo when checking InputStream methods

Corrected a small typo where Java InputStream methods are
incorrectly checked when creating a JNI InputStream adaptor.

Change-Id: I5f14897e0d5ddceb4b2af6be46769713f0487624

12 years agoTelephony: Add HSPAP to getTcpBufferSizesPropName
Naveen Kalla [Sat, 31 Mar 2012 17:09:49 +0000 (10:09 -0700)]
Telephony: Add HSPAP to getTcpBufferSizesPropName

When device is camped on HSPAP TCP Buffer sizes need to be configured
properly to support higher data rates. Without this change, default TCP
buffer sizes will be used and throughput will be low.

Change-Id: Ica5884b35851a32e57c82c63b148df5be580ae83

12 years agoIntroduce a restorecon JNI binding.
rpcraig [Thu, 5 Jul 2012 10:41:43 +0000 (06:41 -0400)]
Introduce a restorecon JNI binding.

Label the vmdl.*\.tmp files and the final .apk file differently.
Modify the WallpaperManagerService to restorecon the wallpaper file.

Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Change-Id: Idfc056e9ec0508d7e11100626a7114f341f1af70

12 years agoAdd shortcut to avoid potential divide by zero in some case
Chen YANG [Wed, 25 Jul 2012 05:27:40 +0000 (13:27 +0800)]
Add shortcut to avoid potential divide by zero in some case

Change-Id: If4b34c95402daf8ebcc28736edfb2012553aa57c

12 years agoMerge "s/LOG/ALOG/ in HAVE_SELINUX blocks"
Nick Kralevich [Thu, 19 Jul 2012 23:25:41 +0000 (16:25 -0700)]
Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks"

12 years agoMerge "Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony"
Jake Hamby [Thu, 19 Jul 2012 22:30:02 +0000 (15:30 -0700)]
Merge "Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony"

12 years agoMove SmsUsageMonitorShortCodeTest to frameworks/opt/telephony
Naveen Kalla [Wed, 18 Jul 2012 21:51:11 +0000 (14:51 -0700)]
Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony

This test was missed out while migrating telephony to frameworks/opt.

Change-Id: I75d5bfef81352ebb916b3a4b3e482550478b797b

12 years agoCreate telephony-common and mms-common - DO NOT MERGE
Wink Saville [Tue, 10 Jul 2012 19:37:54 +0000 (12:37 -0700)]
Create telephony-common and mms-common - DO NOT MERGE

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
  frameworks/base/core/java/com/google/android/mms
to:
   frameworks/opt/mms

telephony-common was created by moving some of
   frameworks/base/telephony
to:
   frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad

12 years agoFix wrong count return for getPhoneSignalStrengthCount
Catherine Liu [Tue, 17 Jul 2012 19:12:56 +0000 (14:12 -0500)]
Fix wrong count return for getPhoneSignalStrengthCount

Test report for the time spent in each signal strength bin, along
with the number of times that bin was entered showed the result
as Bin=3 Time=3211926000 Count=0. With a non-zero Time, the Count
value 0 was wrong.

The cause of the problem was that getPhoneSignalStrengthCount() used
mPhoneDataConnectionsTimer, instead of mPhoneSignalStrengthsTimer,
to get the count.

Change-Id: I55ac1125abfcfdc105605d76d1c706ac315b90cc

12 years agoMerge "Don't talk about Froyo as if it's still in the future."
Elliott Hughes [Mon, 16 Jul 2012 22:40:25 +0000 (15:40 -0700)]
Merge "Don't talk about Froyo as if it's still in the future."

12 years agoDon't talk about Froyo as if it's still in the future.
Elliott Hughes [Mon, 16 Jul 2012 22:30:53 +0000 (15:30 -0700)]
Don't talk about Froyo as if it's still in the future.

Change-Id: I40c26a7a27459f7e8dd51c9f03fa860dee3a3a02

12 years agoMerge "Fix wrong condition."
Romain Guy [Mon, 16 Jul 2012 07:57:42 +0000 (00:57 -0700)]
Merge "Fix wrong condition."

12 years agoFix wrong condition.
SeongJae Park [Sat, 14 Jul 2012 05:18:51 +0000 (14:18 +0900)]
Fix wrong condition.

Should check width and height, not width and width.

Change-Id: Ie84d3605b2a7a0f4776adb876608ea92f56817c4

12 years agomediacodec: Don't suggest calling getOutputFormat() immediately
Martin Storsjo [Fri, 13 Jul 2012 09:57:13 +0000 (12:57 +0300)]
mediacodec: Don't suggest calling getOutputFormat() immediately

Calling getOutputFormat() at this point currently crashes in
native code. (After a fix to the native code, this gives an
IllegalStateException instead.)

Change-Id: Ia45c4820bb3d9ed435a0aeef1ff8c230524f2e1f

12 years agoStrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)
Qi Wang [Fri, 13 Jul 2012 01:26:03 +0000 (09:26 +0800)]
StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)

12 years agos/LOG/ALOG/ in HAVE_SELINUX blocks
Joshua Brindle [Tue, 10 Jul 2012 14:22:36 +0000 (10:22 -0400)]
s/LOG/ALOG/ in HAVE_SELINUX blocks

The latest push changed LOG(E|V) to ALOG(E|V) but it was not updated in HAVE_SELINUX blocks.

Change-Id: I626588589dd00775ba29f2a256ac29e481598dc3
Signed-off-by: Joshua Brindle <jbrindle@tresys.com>
12 years agoAdds missing Bluetooth as network type.
Håkan3 Johansson [Wed, 8 Feb 2012 20:13:35 +0000 (21:13 +0100)]
Adds missing Bluetooth as network type.

The network connection type for Bluetooth is added so
that it is possible to use Bluetooth as Hotspot during
download from the Internet.

Change-Id: If8e8a3f69821beef742bc91d7a292a091861b48b

12 years agoFix cursor memory leak
Catherine Liu [Mon, 11 Jun 2012 21:38:17 +0000 (16:38 -0500)]
Fix cursor memory leak

In current code, if an application opens a cursor to access a
provider, and doesn't close that cursor, later, when this cursor
is garbage collected, it won't get closed. This will cause a memory
leak in the provider. The leaked memory can only be reclaimed when
the application with the leaked cursor was dead.

The solution is, close the cursor when it's garbage collected.

Change-Id: I786915c46d4672b6b1b37414b3bc1ff8cea2e00b

12 years agoNormalize output from aapt d xmltree
Shachar Shemesh [Sun, 8 Jul 2012 03:37:48 +0000 (06:37 +0300)]
Normalize output from aapt d xmltree

When using aapt dump xmltree to dump an XML which has a content element with newlines, the output contains a
newline. This makes it very difficult, sometimes impossible, to understand what is part of the content, and
what is the meta-data.

We now pass XML content through the same normalizer used for other tags.

Change-Id: I327321520fac563eb32aecaf796f2473866697fc

12 years agoam dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."
Romain Guy [Sat, 7 Jul 2012 06:52:55 +0000 (23:52 -0700)]
am dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."

* commit 'dc99555d61d50820b398096bb774ee56b2500476':
  Pass SearchView suggestion cursor exception to Log.

12 years agoMerge "Pass SearchView suggestion cursor exception to Log."
Romain Guy [Sat, 7 Jul 2012 06:18:18 +0000 (23:18 -0700)]
Merge "Pass SearchView suggestion cursor exception to Log."

12 years agoPass SearchView suggestion cursor exception to Log.
Jake Wharton [Sat, 7 Jul 2012 06:15:44 +0000 (23:15 -0700)]
Pass SearchView suggestion cursor exception to Log.

When an error in fetching a column occurs in your suggestions cursor
adapter this will ensure the stacktrace is logged to provide more
context about what failed.

Change-Id: Iafe4918caebb9b0fb712b758b2d3ace329fd2512

12 years agoam 15796e52: Merge "docs: add largeHeap attribute to app manifest doc external issue...
Scott Main [Wed, 4 Jul 2012 02:41:56 +0000 (19:41 -0700)]
am 15796e52: Merge "docs: add largeHeap attribute to app manifest doc external issue 33967" into jb-dev

* commit '15796e52df1626ae27a6a88c6e905fd3b80868c9':
  docs: add largeHeap attribute to app manifest doc external issue 33967

12 years agoMerge "docs: add largeHeap attribute to app manifest doc external issue 33967" into...
Scott Main [Wed, 4 Jul 2012 02:39:26 +0000 (19:39 -0700)]
Merge "docs: add largeHeap attribute to app manifest doc external issue 33967" into jb-dev

12 years agoam e469e74f: docs: new sitemap text file
Scott Main [Wed, 4 Jul 2012 02:32:42 +0000 (19:32 -0700)]
am e469e74f: docs: new sitemap text file

* commit 'e469e74fd339efcfe88b56780f4380b0d1dd2ce8':
  docs: new sitemap text file

12 years agodocs: new sitemap text file
Scott Main [Wed, 4 Jul 2012 02:28:15 +0000 (19:28 -0700)]
docs: new sitemap text file

Change-Id: Ia28407054216997126873bb855d55c9caeeb05b4

12 years agodocs: add largeHeap attribute to app manifest doc
Scott Main [Tue, 3 Jul 2012 03:05:54 +0000 (20:05 -0700)]
docs: add largeHeap attribute to app manifest doc
external issue 33967

Change-Id: I69e5d3da78098842c4710708f4d389637dd0fe6b

12 years agoam fd516987: docs: misc bugs from external tracker
Scott Main [Wed, 4 Jul 2012 01:15:19 +0000 (18:15 -0700)]
am fd516987: docs: misc bugs from external tracker

* commit 'fd516987de29a48425da5ee5aace5be40adcc674':
  docs: misc bugs from external tracker

12 years agodocs: misc bugs from external tracker
Scott Main [Tue, 3 Jul 2012 23:25:52 +0000 (16:25 -0700)]
docs: misc bugs from external tracker

Change-Id: I02d0d82c220401ac3a1ca180e8331a0f6dcd9e50

12 years agoam 099fd80f: docs: add throws notice for isPlaying per external issue 33610
Scott Main [Wed, 4 Jul 2012 00:39:25 +0000 (17:39 -0700)]
am 099fd80f: docs: add throws notice for isPlaying per external issue 33610

* commit '099fd80f984b8493de58bdda8ea05563261b0af2':
  docs: add throws notice for isPlaying per external issue 33610

12 years agodocs: add throws notice for isPlaying
Scott Main [Tue, 3 Jul 2012 23:32:11 +0000 (16:32 -0700)]
docs: add throws notice for isPlaying
per external issue 33610

Change-Id: Ibd778cb4ecc5f1717fa007ac069a7b3660ec4794

12 years agoam 4c633ea6: Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev
Joe Malin [Tue, 3 Jul 2012 22:15:59 +0000 (15:15 -0700)]
am 4c633ea6: Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev

* commit '4c633ea6f28711d168f690f7443c9523451bdbab':
  DOC CHANGE: AOSP33968 Typo

12 years agoMerge "DOC CHANGE: AOSP33968 Typo" into jb-dev
Joe Malin [Tue, 3 Jul 2012 22:12:46 +0000 (15:12 -0700)]
Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev

12 years agoDOC CHANGE: AOSP33968 Typo
Joe Malin [Tue, 3 Jul 2012 21:19:20 +0000 (14:19 -0700)]
DOC CHANGE: AOSP33968 Typo

Change-Id: I05de2666db6074c84caf540658aad96e6a4805d5

12 years agoam 8d5efa6a: Merge "DOC CHANGE: AOSP 33831 - Typo" into jb-dev
Joe Malin [Tue, 3 Jul 2012 21:27:28 +0000 (14:27 -0700)]
am 8d5efa6a: Merge "DOC CHANGE: AOSP 33831 - Typo" into jb-dev

* commit '8d5efa6a8c68f53198b35d01ce64857ae1bf7946':
  DOC CHANGE: AOSP 33831 - Typo

12 years agoMerge "DOC CHANGE: AOSP 33831 - Typo" into jb-dev
Joe Malin [Tue, 3 Jul 2012 21:24:26 +0000 (14:24 -0700)]
Merge "DOC CHANGE: AOSP 33831 - Typo" into jb-dev

12 years agoam 8ab2dfb2: Merge "docs: fix urls on homepage for offline docs" into jb-dev
Scott Main [Tue, 3 Jul 2012 21:12:27 +0000 (14:12 -0700)]
am 8ab2dfb2: Merge "docs: fix urls on homepage for offline docs" into jb-dev

* commit '8ab2dfb293133fa0033a1df9bcf7efb926b421d0':
  docs: fix urls on homepage for offline docs