OSDN Git Service
Andreas Gampe [Mon, 16 Mar 2015 20:36:04 +0000 (20:36 +0000)]
Merge "Frameworks/base: Force long computation"
Andreas Gampe [Mon, 16 Mar 2015 19:17:44 +0000 (19:17 +0000)]
Merge "Frameworks/base: Check before foreach in Script"
Andreas Gampe [Mon, 16 Mar 2015 19:10:39 +0000 (19:10 +0000)]
Merge "Frameworks/base: Use equals for Integer comparison"
Andreas Gampe [Mon, 16 Mar 2015 17:51:14 +0000 (17:51 +0000)]
Merge "Revert "Frameworks/base: Fix a constructor""
Andreas Gampe [Mon, 16 Mar 2015 17:51:01 +0000 (17:51 +0000)]
Revert "Frameworks/base: Fix a constructor"
The constructor was public API, doh. Gotta do this differently.
This reverts commit
33c5b2a62f3e62382c41e24c6b527119978816a0.
Change-Id: Iadca87fe6a8866a8bd9d6f2a91578ec0d4c44691
Andreas Gampe [Mon, 16 Mar 2015 16:59:13 +0000 (16:59 +0000)]
Merge "Frameworks/base: Fix null-pointer check"
Andreas Gampe [Mon, 16 Mar 2015 16:51:00 +0000 (16:51 +0000)]
Merge "Frameworks/base: Fix a constructor"
Robert Greenwalt [Mon, 16 Mar 2015 16:17:50 +0000 (16:17 +0000)]
Merge "Frameworks/base: Fix a hashCode implementation"
Andreas Gampe [Mon, 16 Mar 2015 15:28:52 +0000 (15:28 +0000)]
Merge "Frameworks/base: Fix always-false equals"
John Reck [Mon, 16 Mar 2015 14:56:51 +0000 (14:56 +0000)]
Merge "Frameworks/base: Fix missing cast"
Andreas Gampe [Mon, 16 Mar 2015 03:17:07 +0000 (20:17 -0700)]
Frameworks/base: Force long computation
Ensure that an int-based computation is carried out as long.
Change-Id: I23b10a95600674e8a5a65c0ea349afdc6aa152ae
Andreas Gampe [Sun, 15 Mar 2015 22:57:30 +0000 (15:57 -0700)]
Frameworks/base: Check before foreach in Script
According to the if below, ains == null is potentially valid. But
the foreach loop would throw a NullPointerException.
Change-Id: I4460fb1357eaa3abfe0ab9a21effb608f474ab51
Andreas Gampe [Sun, 15 Mar 2015 22:39:21 +0000 (15:39 -0700)]
Frameworks/base: Use equals for Integer comparison
Integer == is dangerous, as equal objects may not be identical
objects. In fact, MediaFormat.setInteger was creating a new object
every time.
Change MediaFormat.setInteger and setLong to use valueOf, which
may reuse returned objects.
Change-Id: Iedcc6003adbf05c0c870aa4b3ada7f181a5b870e
Andreas Gampe [Sun, 15 Mar 2015 22:07:19 +0000 (15:07 -0700)]
Frameworks/base: Fix null-pointer check
Change-Id: I715a21c313e909ae654e0c1aa67bdf7bcd89de76
Andreas Gampe [Sun, 15 Mar 2015 21:38:59 +0000 (14:38 -0700)]
Frameworks/base: Fix a hashCode implementation
Equals uses Arrays.equals. That means two responses are equal if
the content of the data arrays is equal. By convention, the hash
code of those objects should agree. In that case one cannot use
hashCode on the array (which is the identity hash code).
Change-Id: Icce8e2e71e9142421f5dac8a0ee8a211623fb704
Andreas Gampe [Sun, 15 Mar 2015 21:29:16 +0000 (14:29 -0700)]
Frameworks/base: Fix a constructor
This was meant to be a constructor, according to the comment.
Change-Id: Ief49011b392e58b37d9acb4a3f754f1828b256af
Andreas Gampe [Sun, 15 Mar 2015 21:19:43 +0000 (14:19 -0700)]
Frameworks/base: Fix always-false equals
Rect != Insets.
Change-Id: I3d4ff890608e446b51f09a1b633af742f0c069d4
Andreas Gampe [Sun, 15 Mar 2015 21:10:23 +0000 (14:10 -0700)]
Frameworks/base: Fix missing cast
Without a cast, the division is integer division.
Change-Id: I050e53778de8b1591a0be16ebbee8eed70eb1528
Dmitriy Ivanov [Fri, 13 Mar 2015 21:35:03 +0000 (21:35 +0000)]
Merge "Switch libjnigraphics to sysv-only hash style"
Dmitriy Ivanov [Fri, 13 Mar 2015 19:49:47 +0000 (12:49 -0700)]
Switch libjnigraphics to sysv-only hash style
Bug:
19059885
Change-Id: I3474974983931c67dce30dfc581a8d28d8b62e6a
Jeff Tinker [Fri, 13 Mar 2015 18:20:41 +0000 (18:20 +0000)]
Merge "Handle NULL keys and NULL values in MediaDrm JNI HashMap"
Nick Kralevich [Fri, 13 Mar 2015 18:02:46 +0000 (18:02 +0000)]
Merge "Drop unusable SELinux APIs."
Stephen Smalley [Fri, 13 Mar 2015 18:09:26 +0000 (14:09 -0400)]
Drop unusable SELinux APIs.
setSELinuxEnforce is not allowed by policy.
get/setBooleanValue and getBooleanNames are moot since SELinux
policy booleans are forbidden by CTS.
Change-Id: I512953edd1c38828efce698ae8475603775c32e8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Chad Brubaker [Fri, 13 Mar 2015 17:48:06 +0000 (17:48 +0000)]
Merge "Add initial Keymaster 1.0 tests"
Olawale Ogunwale [Thu, 12 Mar 2015 16:51:17 +0000 (16:51 +0000)]
Merge "Wait for opening apps ready before stopping freezing display"
Olawale Ogunwale [Thu, 12 Mar 2015 16:22:07 +0000 (16:22 +0000)]
Merge "Wait for visible wallpaper drawn before starting app transitions"
Lorenzo Colitti [Thu, 12 Mar 2015 07:49:23 +0000 (07:49 +0000)]
Merge "Fix build, broken by https://android-review.googlesource.com/#/c/115890/"
Lorenzo Colitti [Thu, 12 Mar 2015 07:48:12 +0000 (16:48 +0900)]
Fix build, broken by https://android-review.googlesource.com/#/c/115890/
Change-Id: Ieafa2fb0a7f539d8f933ad9c98e3be80457da6e5
Lorenzo Colitti [Thu, 12 Mar 2015 07:27:27 +0000 (07:27 +0000)]
Merge "Remove dead code, mostly DataStateTracker."
Andreas Gampe [Wed, 11 Mar 2015 23:08:33 +0000 (23:08 +0000)]
Merge "Extracted a separate class to run dexopt on packages"
Fyodor Kupolov [Tue, 24 Feb 2015 01:14:45 +0000 (17:14 -0800)]
Extracted a separate class to run dexopt on packages
performDexOptLibsLI and related methods were extracted to PackageDexOptimizer
class. Minor refactoring of PackageManagerService.
This is a non-functional change. It should simplify further work to allow
storing OAT files inside package dir.
(cherry picked from commit
eeea67b8c3678d882d3774edc41242c63daa60fa)
Change-Id: I3494a2da70605362bb6fb4625ffbee1cbe1cd457
Jason Sams [Wed, 11 Mar 2015 20:55:07 +0000 (20:55 +0000)]
Merge "Remove dead path code"
Marco Nelissen [Wed, 11 Mar 2015 18:10:04 +0000 (18:10 +0000)]
Merge "Fix context leak"
Jason Sams [Wed, 11 Mar 2015 18:00:00 +0000 (11:00 -0700)]
Remove dead path code
This API was never shipped and the implementation
never finished.
Change-Id: I2491db216d6a7a8ea30628d791773f89da5fb4d2
Marco Nelissen [Wed, 11 Mar 2015 16:59:49 +0000 (09:59 -0700)]
Fix context leak
Using an activity context with AudioManager could cause that context
to be held on to longer than desired, for example if the caller
acquired audio focus but never abandoned it. Fix acquire/abandon in
VideoView, and use the application context in AudioManager to mitigate
the issue for other misbehaving code.
Bug: https://code.google.com/p/android/issues/detail?id=152173
Change-Id: I0fb8390207422c784800dda25b1f2c03d4574bcd
Paul Jensen [Fri, 21 Nov 2014 14:14:45 +0000 (09:14 -0500)]
Remove dead code, mostly DataStateTracker.
Change-Id: I1433937bffdb29bd42fb1adbfcf0a50ceffac7dd
Craig Mautner [Wed, 11 Mar 2015 13:46:37 +0000 (13:46 +0000)]
Merge "[ActivityManager] Fix index OOB when resetting removed task"
riddle_hsu [Wed, 11 Mar 2015 09:09:50 +0000 (17:09 +0800)]
[ActivityManager] Fix index OOB when resetting removed task
Assume task T has an activity X lives in process P.
When P is died and before death recipient being called,
start activity with flag RESET_TASK_IF_NEEDED to bring the
existed task T.
Then scheduleResumeActivity IPC will fail and trigger start
a new process that removes task T.
That results resetTaskIfNeededLocked cannot find the task
when continuing the start flow.
Detail:
https://code.google.com/p/android/issues/detail?id=159558
Change-Id: Icc400c7a6c481a3f78657e9fb83cf0c3a17dde68
tiger_huang [Mon, 16 Feb 2015 13:37:12 +0000 (21:37 +0800)]
Wait for visible wallpaper drawn before starting app transitions
If the opening app has wallpaper, when the closing app starts hiding,
the wallpaper would be revealed. It would be nice if we play the app
transitions while opening apps, closing apps, and visible wallpapers
are all drawn.
https://code.google.com/p/android/issues/detail?id=150811
Change-Id: I3c7d140f6f6e43e18119e48f9cab441ee96b17e5
Dimitry Ivanov [Tue, 10 Mar 2015 17:14:53 +0000 (17:14 +0000)]
am
6e116429: Merge "Generate gnu hash for arm only"
* commit '
6e116429a8d48f9c8298f15c332cd29146694d8b':
Generate gnu hash for arm only
Dimitry Ivanov [Tue, 10 Mar 2015 17:07:58 +0000 (17:07 +0000)]
Merge "Generate gnu hash for arm only"
Goran Jakovljevic [Tue, 10 Mar 2015 16:26:01 +0000 (17:26 +0100)]
Generate gnu hash for arm only
Fixes build failure caused by:
https://android-review.googlesource.com/#/c/139670/
As previously discussed [1], MIPS does not support GNU-style ELF hashes.
[1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk
Change-Id: I8edb8a1595308db2ecd1bd6650a069b1224ae64f
Narayan Kamath [Tue, 10 Mar 2015 15:23:06 +0000 (15:23 +0000)]
am
3d333c74: Merge "Fix typos in AudioManager javadoc"
* commit '
3d333c745f928ca1595aca111d9938fa3cf3e282':
Fix typos in AudioManager javadoc
Dmitriy Ivanov [Tue, 10 Mar 2015 15:12:46 +0000 (15:12 +0000)]
am
2a88ff2f: Merge "Generate sysv hash for libjnigraphics"
* commit '
2a88ff2fe1849a3823962a2c239afdf6339fedc9':
Generate sysv hash for libjnigraphics
Narayan Kamath [Tue, 10 Mar 2015 15:10:14 +0000 (15:10 +0000)]
Merge "Fix typos in AudioManager javadoc"
Eemi Haukkala [Fri, 6 Mar 2015 21:03:30 +0000 (23:03 +0200)]
Fix typos in AudioManager javadoc
The ACTION_HDMI_AUDIO_PLUG constant's description
had spelled "HDMI" as "HMDI" and was missing a
period. Fixes issue 93726.
Change-Id: Idfd5352dba022afcd81bc9e50864fc6e95c661db
Signed-off-by: Eemi Haukkala <eemi.haukkala@gmail.com>
tiger_huang [Tue, 17 Feb 2015 06:07:40 +0000 (14:07 +0800)]
Wait for opening apps ready before stopping freezing display
When the screen rotation is changing, we will freeze the display
until all the window surfaces are all drawn (this is not including
windows which have no surface). If the opening app's window surface
is created after we stop freezing the display, there would be no
waiting for the app, and the user would see the black screen.
In this change, we would not only wait for the windows which have
surface, but also wait for the windows about to have surface before
stopping freezing display.
https://code.google.com/p/android/issues/detail?id=150921
Change-Id: I7de4db8ca902236f3e9f730b04dbde681cf8c032
Dmitriy Ivanov [Tue, 10 Mar 2015 04:41:34 +0000 (04:41 +0000)]
Merge "Generate sysv hash for libjnigraphics"
Dmitriy Ivanov [Tue, 10 Mar 2015 02:42:16 +0000 (19:42 -0700)]
Generate sysv hash for libjnigraphics
Bug:
19059885
Change-Id: I9b227fda6549e15a5ce50ac6b59250dff1371bb3
Andreas Gampe [Tue, 10 Mar 2015 02:10:22 +0000 (02:10 +0000)]
am
7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
* commit '
7f383873566024c7121cadae3bbdd2a7c47150bc':
Frameworks/base: Pass APK debugability to installd
Andreas Gampe [Mon, 9 Mar 2015 22:14:53 +0000 (22:14 +0000)]
Merge "Frameworks/base: Pass APK debugability to installd"
dcashman [Mon, 9 Mar 2015 20:51:33 +0000 (20:51 +0000)]
am
c7446790: Merge "ZygoteConnection: remove obsolete security checks."
* commit '
c74467902b5a9a7267b6cb8f30b364b8373eac72':
ZygoteConnection: remove obsolete security checks.
dcashman [Mon, 9 Mar 2015 20:46:17 +0000 (20:46 +0000)]
Merge "ZygoteConnection: remove obsolete security checks."
dcashman [Fri, 6 Mar 2015 01:17:47 +0000 (17:17 -0800)]
ZygoteConnection: remove obsolete security checks.
SELinux guarantees that only the system_server and permissive domains such as su
are allowed to connect to the zygote socket. Remove obsolete security checks
that were only applicable when other processes could connect.
Bug:
19624279
Change-Id: I1c925d7facf19b3953b5deb85d992415344c4c9f
Elliott Hughes [Mon, 9 Mar 2015 18:20:42 +0000 (18:20 +0000)]
am
63d43949: Merge "Use the icu:: namespace for icu4c API."
* commit '
63d43949047eaed1cddf10bb4f666df6807618ce':
Use the icu:: namespace for icu4c API.
Elliott Hughes [Mon, 9 Mar 2015 18:10:23 +0000 (18:10 +0000)]
Merge "Use the icu:: namespace for icu4c API."
Olawale Ogunwale [Mon, 9 Mar 2015 16:36:31 +0000 (16:36 +0000)]
am
14ccc26f: Merge "[ActivityManager] Skip receiver precisely."
* commit '
14ccc26f1ce006963f1a0b7a917404aa6a0e9da1':
[ActivityManager] Skip receiver precisely.
Olawale Ogunwale [Mon, 9 Mar 2015 16:30:52 +0000 (16:30 +0000)]
Merge "[ActivityManager] Skip receiver precisely."
Andreas Gampe [Thu, 5 Mar 2015 21:11:46 +0000 (13:11 -0800)]
Frameworks/base: Pass APK debugability to installd
Change-Id: Id17ec72babe2ee88713a0d274eff86508de30666
Elliott Hughes [Sat, 7 Mar 2015 19:00:50 +0000 (11:00 -0800)]
Use the icu:: namespace for icu4c API.
The icu guys recommend working this way, though it's not the default.
Internally Google makes this the default, and I've switched libcore
over.
Bug:
15350832
Change-Id: I038e12bea58dd089a46d0e681b5ab76cfc19d7b9
Andreas Gampe [Sat, 7 Mar 2015 17:13:16 +0000 (17:13 +0000)]
am
7a4cb563: Merge "Frameworks/base: Remove unnecessary Pattern instance"
* commit '
7a4cb563a29f05658760739d3bc2e70bd6342174':
Frameworks/base: Remove unnecessary Pattern instance
Andreas Gampe [Sat, 7 Mar 2015 17:13:09 +0000 (17:13 +0000)]
am
cdc19f3f: Merge "Frameworks/base: Remove unnecessary Pattern instance"
* commit '
cdc19f3f8a20b975e8e70f4b4cce5ce2be811726':
Frameworks/base: Remove unnecessary Pattern instance
Andreas Gampe [Sat, 7 Mar 2015 01:03:13 +0000 (01:03 +0000)]
Merge "Frameworks/base: Remove unnecessary Pattern instance"
Andreas Gampe [Fri, 6 Mar 2015 23:53:06 +0000 (15:53 -0800)]
Frameworks/base: Remove unnecessary Pattern instance
Using a static Pattern in UriMatcher prevents compile-time
initialization.
It is also not efficient, as String.split has a fast path for simple
splits.
Bug:
19542228
Change-Id: Ie9e5bfe6da04c6d05ec10b1426d0cd136ef46ef2
Andreas Gampe [Sat, 7 Mar 2015 00:18:44 +0000 (00:18 +0000)]
Merge "Frameworks/base: Remove unnecessary Pattern instance"
Andreas Gampe [Fri, 6 Mar 2015 23:29:06 +0000 (15:29 -0800)]
Frameworks/base: Remove unnecessary Pattern instance
Using a static Pattern in ActivityThread prevents compile-time
initialization of ActivityThread and GestureDetector, which depends
on the former.
It is also not efficient, as String.split has a fast path for simple
splits.
Bug:
19542228
Change-Id: I5bb843c08c81e0d259bb8afafa87a8467bb1730e
Chad Brubaker [Thu, 5 Mar 2015 18:32:30 +0000 (10:32 -0800)]
Add initial Keymaster 1.0 tests
Change-Id: I3b8ef583b71056b92a876fa47556771604dae121
Mathieu Chartier [Fri, 6 Mar 2015 01:36:55 +0000 (01:36 +0000)]
am
e59b7ce2: Merge "Add JIT system properties"
* commit '
e59b7ce2564a916240e561b36f4476f2d72a65c5':
Add JIT system properties
Mathieu Chartier [Fri, 6 Mar 2015 01:31:27 +0000 (01:31 +0000)]
Merge "Add JIT system properties"
Miao Wang [Fri, 6 Mar 2015 01:10:38 +0000 (01:10 +0000)]
am
4b5af9bc: Merge "[RenderScript] Update the java API about Allocation copyTo & From FieldPacker"
* commit '
4b5af9bce10dbb8b6d5ff27a5f0c49f3498a6245':
[RenderScript] Update the java API about Allocation copyTo & From FieldPacker
Miao Wang [Fri, 6 Mar 2015 01:05:28 +0000 (01:05 +0000)]
Merge "[RenderScript] Update the java API about Allocation copyTo & From FieldPacker"
Mathieu Chartier [Fri, 6 Mar 2015 01:00:41 +0000 (17:00 -0800)]
Add JIT system properties
Added the following runtime options.
"dalvik.vm.usejit" -> "-Xusejit:"
"dalvik.vm.jitcodecachesize" -> "-Xjitcodecachesize:"
"dalvik.vm.jitthreshold" -> "-Xjitthreshold:"
Bug:
17950037
Change-Id: I4996cdd1e34a1743d83c37069f545e6e09bccdb9
Miao Wang [Fri, 6 Mar 2015 01:02:23 +0000 (01:02 +0000)]
am
8b86ee9f: Merge "[RenderScript] Add missing variable"
* commit '
8b86ee9fb5909a95a46907aede4d1b22b4ef3bba':
[RenderScript] Add missing variable
Miao Wang [Fri, 6 Mar 2015 01:01:58 +0000 (01:01 +0000)]
am
288e6f67: Merge "[RenderScript] AutoPadding & Unpadding for Vec3 Elements during copyTo & copyFrom."
* commit '
288e6f67181ce74ec4b97b61def1b9510b1221d0':
[RenderScript] AutoPadding & Unpadding for Vec3 Elements during copyTo & copyFrom.
Miao Wang [Thu, 5 Mar 2015 00:40:21 +0000 (16:40 -0800)]
[RenderScript] Update the java API about Allocation copyTo & From FieldPacker
Change-Id: I4e1b911d4cdfec8a841bc5a8bc615c64c50e8fc8
Miao Wang [Fri, 6 Mar 2015 00:34:51 +0000 (00:34 +0000)]
Merge "[RenderScript] Add missing variable"
Miao Wang [Fri, 6 Mar 2015 00:27:15 +0000 (16:27 -0800)]
[RenderScript] Add missing variable
Change-Id: I148bab3a8c3fb360d345549401d0ed579a37e971
Miao Wang [Thu, 5 Mar 2015 23:49:57 +0000 (23:49 +0000)]
Merge "[RenderScript] AutoPadding & Unpadding for Vec3 Elements during copyTo & copyFrom."
Dan Albert [Thu, 5 Mar 2015 23:41:39 +0000 (15:41 -0800)]
resolved conflicts for merge of
701f9c2f to stage-aosp-master
Change-Id: I42e0411c0acef4b15137491ecaaed95d9b1cd0c1
Dan Albert [Thu, 5 Mar 2015 23:31:41 +0000 (23:31 +0000)]
Merge "Stop using namespace std."
Andreas Gampe [Thu, 5 Mar 2015 22:38:56 +0000 (22:38 +0000)]
am
63ab6eb2: Merge "Frameworks/base: Use ArraySet more explicitly"
* commit '
63ab6eb220a2a75837d6e3d18d19cbd5dda175eb':
Frameworks/base: Use ArraySet more explicitly
Andreas Gampe [Thu, 5 Mar 2015 22:29:56 +0000 (22:29 +0000)]
Merge "Frameworks/base: Use ArraySet more explicitly"
Andreas Gampe [Thu, 5 Mar 2015 21:13:55 +0000 (13:13 -0800)]
Frameworks/base: Use ArraySet more explicitly
In KeySetManagerService, use ArraySet more explicitly. Avoid for-each
loops.
Collections API methods on ArraySet are not very efficient. Iterators
incur two object allocations: a helper and the actual iterator object.
During boot, about 4.5K such calls are made. Using the ArraySet more
explicitly like an ArrayList/array avoids the overhead.
Bug:
19617481
Change-Id: I25df334fa1d4be3210667fb1404e3c43f2585049
Andreas Gampe [Thu, 5 Mar 2015 17:15:58 +0000 (17:15 +0000)]
am
6695b992: Merge "Frameworks/base: Add removeAll for ArraySet"
* commit '
6695b9920d15f8d9a17d6b0c66b863d1c2e38584':
Frameworks/base: Add removeAll for ArraySet
Andreas Gampe [Thu, 5 Mar 2015 17:10:30 +0000 (17:10 +0000)]
Merge "Frameworks/base: Add removeAll for ArraySet"
Brian Carlstrom [Thu, 5 Mar 2015 06:22:18 +0000 (06:22 +0000)]
am
165c2564: Merge "Manually add SignalStrength to preloaded-classes"
* commit '
165c25641ccedf6447d09dfec00f485df1361c35':
Manually add SignalStrength to preloaded-classes
Brian Carlstrom [Thu, 5 Mar 2015 06:15:53 +0000 (06:15 +0000)]
Merge "Manually add SignalStrength to preloaded-classes"
Brian Carlstrom [Thu, 5 Mar 2015 05:56:26 +0000 (21:56 -0800)]
Manually add SignalStrength to preloaded-classes
Bug:
19323020
Change-Id: I61e9d2dd5d06fe2353da17e5646f259122e5ea98
Andreas Gampe [Thu, 5 Mar 2015 01:14:10 +0000 (17:14 -0800)]
Frameworks/base: Add removeAll for ArraySet
Add a simple ArraySet.removeAll(ArraySet) method. This avoids two
allocations, a MapCollections helper and an Iterator object, over
the removeAll(Collection) code.
KeySetManagerService heavily calls removeAll during boot (about 9K
times in AOSP). This reduces GC stress and optimizes the removal
(about half the time the removed collection has only one element).
The removal method in KeySetManagerService is also done under a lock,
so that it gates parallelization efforts in PackageManagerService.
Bug:
19498314
Change-Id: Ib0e483adfd09831cd66ab19a820ebf6544a2b66f
Miao Wang [Mon, 2 Mar 2015 23:15:15 +0000 (15:15 -0800)]
[RenderScript] AutoPadding & Unpadding for Vec3 Elements during
copyTo & copyFrom.
Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
Dan Albert [Wed, 4 Mar 2015 21:54:20 +0000 (13:54 -0800)]
Stop using namespace std.
The pattern of #include and using namespace std here fails to build
with GCC. At first glance it's a GCC bug rather than libc++ doing
something wrong. Regardless, it can be worked around by just
specifying std:: where appropriate.
Bug:
19606303
Change-Id: I5652682eae7ca7559cf2a9307909859013440781
riddle_hsu [Wed, 4 Mar 2015 09:27:05 +0000 (17:27 +0800)]
[ActivityManager] Skip receiver precisely.
Symptom:
Report broadcast ANR on a dead process.
Detail and sample:
http://code.google.com/p/android/issues/detail?id=158329
Root cause:
app.curReceiver can only remember the last running.
If an application is both receiving FG and BG broadcast,
only one of queue can discard, the remain one will still
count as timeout.
Solution:
Select the skip-tartget-receiver by comparing the skipping app
to the first record of mOrderedBroadcasts of each broadcast queues.
Change-Id: Ic68d56f21b417a34f2d30d64ecfbed09c5e1764d
Nick Kralevich [Tue, 3 Mar 2015 17:02:22 +0000 (17:02 +0000)]
am
56fde9e7: Merge "SELinuxPolicyInstallReceiver: Prevent partial or mixed policy updates."
* commit '
56fde9e70ef850ca7e3f076e52567f5c75b5e7da':
SELinuxPolicyInstallReceiver: Prevent partial or mixed policy updates.
Nick Kralevich [Tue, 3 Mar 2015 16:55:09 +0000 (16:55 +0000)]
Merge "SELinuxPolicyInstallReceiver: Prevent partial or mixed policy updates."
Selim Gurun [Tue, 3 Mar 2015 02:20:57 +0000 (02:20 +0000)]
am
75666e90: Merge "Revert "Add potential future APIs for postmessage""
* commit '
75666e9054d97a9daecd5648f71414406413c6d9':
Revert "Add potential future APIs for postmessage"
Selim Gurun [Tue, 3 Mar 2015 02:13:40 +0000 (02:13 +0000)]
Merge "Revert "Add potential future APIs for postmessage""
Selim Gurun [Tue, 3 Mar 2015 01:54:25 +0000 (01:54 +0000)]
Revert "Add potential future APIs for postmessage"
This reverts commit
37bd8907cb94be69c9bd4c308e49c38524e87269.
Change-Id: Iaa9356b95859846ce9c3209d3d1bcfc800d2ff93
Miao Wang [Tue, 3 Mar 2015 01:11:18 +0000 (01:11 +0000)]
am
caa8a8fb: Merge "[Renderscript] JAVA API update for Allocation.CopyTo add the following functions to make it more symmetric to copyFrom()."
* commit '
caa8a8fb9849f1d44ffab3117950ac1e7b02cd4d':
[Renderscript] JAVA API update for Allocation.CopyTo add the following functions to make it more symmetric to copyFrom().
Miao Wang [Tue, 3 Mar 2015 00:57:47 +0000 (00:57 +0000)]
Merge "[Renderscript] JAVA API update for Allocation.CopyTo add the following functions to make it more symmetric to copyFrom()."
Jason Sams [Tue, 3 Mar 2015 00:03:58 +0000 (00:03 +0000)]
am
514e0801: Merge "Fix crash when updating adapter offsets."
* commit '
514e0801cc95c9827d220104317e1fe45f396b94':
Fix crash when updating adapter offsets.