OSDN Git Service
Dianne Hackborn [Tue, 21 Aug 2012 22:12:45 +0000 (15:12 -0700)]
Merge "ActivityThread: Avoid creating duplicate handlers and reuse mH"
Jean-Baptiste Queru [Tue, 21 Aug 2012 20:09:18 +0000 (13:09 -0700)]
Merge "Tests/RS: Add RS context check for RsBalls setAccel()"
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:29:51 +0000 (14:29 -0700)]
Merge "To avoid the JNI memory leaks in video editor codes"
Jean-Baptiste Queru [Mon, 20 Aug 2012 21:28:32 +0000 (14:28 -0700)]
Merge "Switch widget: Fix ON/OFF option update error"
Kenny Root [Mon, 20 Aug 2012 19:32:14 +0000 (12:32 -0700)]
Merge "Use Libcore.os.umask for setting umask"
Kenny Root [Fri, 17 Aug 2012 15:45:55 +0000 (08:45 -0700)]
Use Libcore.os.umask for setting umask
Libcore.os now provides a umask method call, so just use that since it's
available.
Change-Id: I8826fa40bcab3d61a424ff98a8050d3e44f7ec34
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:17:44 +0000 (10:17 -0700)]
Merge "Release JNI local references as soon as possible."
Amith Yamasani [Mon, 20 Aug 2012 17:16:36 +0000 (10:16 -0700)]
Merge "ProviderMap: remove hashmap when entire user specific entries are removed"
Vairavan Srinivasan [Sun, 19 Aug 2012 01:36:03 +0000 (18:36 -0700)]
ActivityThread: Avoid creating duplicate handlers and reuse mH
sMainThreadHandler is used for notification of changes in
SharedPreferences and refers to a new instance of Handler instead
of the existing instance, mH, of the ActivityThread. Fix to reuse
existing handlers associated with main looper.
Change-Id: I794a5802a9eacdb188bd0619db5e70e3ae89a07d
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
Robert Greenwalt [Fri, 17 Aug 2012 20:01:49 +0000 (13:01 -0700)]
Merge "Fix for updating TCP buffer size when switching network type"
Jean-Baptiste Queru [Fri, 17 Aug 2012 17:02:49 +0000 (10:02 -0700)]
Merge "TabHost key handling corrected"
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
Joe Onorato [Fri, 17 Aug 2012 07:40:49 +0000 (00:40 -0700)]
Merge "Get 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
wfeng6 [Mon, 25 Jun 2012 10:48:49 +0000 (18:48 +0800)]
To avoid the JNI memory leaks in video editor codes
There is a protential memory leak in video editor JNI codes.
When importing so many video clips, the number of local reference
will exceed 512, which will cause the Dalvik virtual machine
crash. The patch will free each local reference when it's no
longer used to avoid memory leaks.
Change-Id: Iecd986c83f05a1103641746d6d43eef0a9c5ee40
Author: Wei Feng <wei.feng@intel.com>
Signed-off-by: Wei Feng <wei.feng@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 40786
Yong Chen [Fri, 20 Jul 2012 02:35:36 +0000 (10:35 +0800)]
Tests/RS: Add RS context check for RsBalls setAccel()
mRS could be null when lock and unlock screen by pressing power key
several times, it causes RsBalls crash. Add null pointer check to fix.
Change-Id: If37dee8609420daaff17772d5194cad5531f98e6
Author: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 31271
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
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
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
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:45:12 +0000 (14:45 -0700)]
Merge "Fix Issue #35489: drm content corruption on GB"
Kenny Root [Thu, 16 Aug 2012 21:38:30 +0000 (14:38 -0700)]
Merge "Introduce a restorecon JNI binding."
Kenny Root [Thu, 16 Aug 2012 21:37:30 +0000 (14:37 -0700)]
Merge "Remove 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
Kenny Root [Thu, 16 Aug 2012 20:37:25 +0000 (13:37 -0700)]
Merge "Use 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
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
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"
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
Mike Lockwood [Tue, 14 Aug 2012 02:59:38 +0000 (19:59 -0700)]
Merge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity"
Wink Saville [Mon, 13 Aug 2012 22:37:08 +0000 (15:37 -0700)]
Merge "Fix 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>
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>
Kenny Root [Mon, 13 Aug 2012 18:42:06 +0000 (11:42 -0700)]
Merge "Update preloaded-classes for JB"
Wink Saville [Mon, 13 Aug 2012 18:25:49 +0000 (11:25 -0700)]
Merge "Telephony: Signal Strength cleanup & LTE support"
Jean-Baptiste Queru [Mon, 13 Aug 2012 17:38:23 +0000 (10:38 -0700)]
Merge "Added missing viewport meta tag to html resources"
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"
Kenny Root [Mon, 13 Aug 2012 16:01:35 +0000 (09:01 -0700)]
Merge "Remove useless TestRunner"
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
SangWook Han [Sun, 12 Aug 2012 10:46:51 +0000 (19:46 +0900)]
Update preloaded-classes for JB
Change-Id: Id127308529d581c94bd2e911b637931156ce82c1
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
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
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."
Jean-Baptiste Queru [Fri, 10 Aug 2012 16:03:41 +0000 (09:03 -0700)]
Merge "MtpStorage: correct the size of reserve space for MTP"
Wink Saville [Wed, 8 Aug 2012 23:36:34 +0000 (16:36 -0700)]
Merge "Telephony: Dynamically instantiate IccCard"
Jean-Baptiste Queru [Wed, 8 Aug 2012 20:20:07 +0000 (13:20 -0700)]
Merge "Return early when checking divider before child zero."
Jean-Baptiste Queru [Wed, 8 Aug 2012 20:19:59 +0000 (13:19 -0700)]
Merge "Fix SurfaceView notifies on invalid surfaces."
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"
Jean-Baptiste Queru [Wed, 8 Aug 2012 19:59:05 +0000 (12:59 -0700)]
Merge "Fix wrong count return for getPhoneSignalStrengthCount"
Jean-Baptiste Queru [Wed, 8 Aug 2012 19:06:26 +0000 (12:06 -0700)]
Merge "StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)"
Jean-Baptiste Queru [Wed, 8 Aug 2012 19:06:02 +0000 (12:06 -0700)]
Merge "mediacodec: Don't suggest calling getOutputFormat() immediately"
Jean-Baptiste Queru [Wed, 8 Aug 2012 18:21:28 +0000 (11:21 -0700)]
Merge "Normalize output from aapt d xmltree"
Jean-Baptiste Queru [Wed, 8 Aug 2012 17:44:50 +0000 (10:44 -0700)]
Merge "Fix cursor memory leak"
Jean-Baptiste Queru [Wed, 8 Aug 2012 17:43:20 +0000 (10:43 -0700)]
Merge "Adds missing Bluetooth as network type."
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
Elliott Hughes [Tue, 7 Aug 2012 19:19:22 +0000 (12:19 -0700)]
Merge "Fewer 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
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>
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>
Wink Saville [Sat, 4 Aug 2012 14:54:35 +0000 (07:54 -0700)]
Merge "Telephony: Move AdnRecord.aidl into opt/telephony"
Wink Saville [Sat, 4 Aug 2012 14:51:26 +0000 (07:51 -0700)]
Merge "show 3G icon for CDMA/1xRTT"
Alex Yakavenka [Fri, 3 Aug 2012 17:42:41 +0000 (10:42 -0700)]
Telephony: Move AdnRecord.aidl into opt/telephony
Change-Id: Ib22f3e777f1cd39fb6da5b907bcec57c2c66ce3a
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>
Brian Carlstrom [Wed, 1 Aug 2012 23:30:53 +0000 (16:30 -0700)]
Merge "Change 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
Brian Carlstrom [Wed, 1 Aug 2012 22:06:35 +0000 (15:06 -0700)]
Merge "Improve test key names to reproduce public issue"
Robert Greenwalt [Wed, 1 Aug 2012 18:01:21 +0000 (11:01 -0700)]
Merge "Telephony: Add HSPAP to getTcpBufferSizesPropName"
Adam Powell [Mon, 30 Jul 2012 17:46:11 +0000 (10:46 -0700)]
Merge " Fix preload classname for phone policy."
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
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
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
Romain Guy [Fri, 27 Jul 2012 20:58:11 +0000 (13:58 -0700)]
Merge "Corrected 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
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
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
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
Nick Kralevich [Thu, 19 Jul 2012 23:25:41 +0000 (16:25 -0700)]
Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks"
Jake Hamby [Thu, 19 Jul 2012 22:30:02 +0000 (15:30 -0700)]
Merge "Move 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
Yu Haonong [Thu, 12 Jul 2012 04:49:54 +0000 (12:49 +0800)]
Switch widget: Fix ON/OFF option update error
When calling setChecked() from a listener which is invoked by
the Switch toggle, setChecked() will be called recursively,
causing the value of mThumbPosition overridden by the outer
setChecked(). This make the nested setChecked() unable to update
the "Thumb" position correctly.
Set mThumbPosition to sync up with the exact checked state of
the Switch to avoid update error.
Issue 34748
Change-Id: Id4aa389114dcc590430b11626c80d29c9c6016a0
Signed-off-by: Yu Haonong <yuhaonong@gmail.com>
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
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
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."
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
Romain Guy [Mon, 16 Jul 2012 07:57:42 +0000 (00:57 -0700)]
Merge "Fix 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
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
Qi Wang [Fri, 13 Jul 2012 01:26:03 +0000 (09:26 +0800)]
StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)
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>
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
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
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
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.
Romain Guy [Sat, 7 Jul 2012 06:18:18 +0000 (23:18 -0700)]
Merge "Pass 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
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
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
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
Scott Main [Wed, 4 Jul 2012 02:28:15 +0000 (19:28 -0700)]
docs: new sitemap text file
Change-Id: Ia28407054216997126873bb855d55c9caeeb05b4
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