Nick Kralevich
870110e01a
am 30fcd2aa: Merge "Drop unusable SELinux APIs."
...
* commit '30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9':
Drop unusable SELinux APIs.
2015-03-13 18:16:58 +00:00
Stephen Smalley
16d1cce8ff
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 >
2015-03-13 14:09:26 -04:00
Lorenzo Colitti
b6b9fe216d
am 2f196e6c: Merge "Remove dead code, mostly DataStateTracker."
...
* commit '2f196e6c81e50b70d56c1cc06fd2aec147b58ed8':
Remove dead code, mostly DataStateTracker.
2015-03-12 07:38:50 +00:00
Lorenzo Colitti
2f196e6c81
Merge "Remove dead code, mostly DataStateTracker."
2015-03-12 07:27:27 +00:00
Andreas Gampe
26c95085b3
am cdd3fb5c: Merge "Extracted a separate class to run dexopt on packages"
...
* commit 'cdd3fb5cdb9be8ae087c6d0fef2a545fca1c4205':
Extracted a separate class to run dexopt on packages
2015-03-11 23:23:06 +00:00
Fyodor Kupolov
7487657ee9
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 eeea67b8c3 )
Change-Id: I3494a2da70605362bb6fb4625ffbee1cbe1cd457
2015-03-11 16:03:41 -07:00
Marco Nelissen
42f55d1e68
am a3d25d74: Merge "Fix context leak"
...
* commit 'a3d25d7489d7e071fb6db01b62ec9d925e1d493d':
Fix context leak
2015-03-11 18:21:24 +00:00
Marco Nelissen
926ebb860a
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
2015-03-11 10:00:28 -07:00
Paul Jensen
7fad4eb4b5
Remove dead code, mostly DataStateTracker.
...
Change-Id: I1433937bffdb29bd42fb1adbfcf0a50ceffac7dd
2015-03-11 10:03:58 -04:00
Andreas Gampe
b6d6c04a71
am 174a4488: am 7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
...
* commit '174a44888ec56f688426c80d50b9e0021f47c16f':
Frameworks/base: Pass APK debugability to installd
2015-03-10 15:11:56 +00:00
Andreas Gampe
174a44888e
am 7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
...
* commit '7f383873566024c7121cadae3bbdd2a7c47150bc':
Frameworks/base: Pass APK debugability to installd
2015-03-10 02:10:22 +00:00
Andreas Gampe
7f38387356
Merge "Frameworks/base: Pass APK debugability to installd"
2015-03-09 22:14:54 +00:00
dcashman
4c887ac931
am db7fa51f: am c7446790: Merge "ZygoteConnection: remove obsolete security checks."
...
* commit 'db7fa51ff0f330b79b171f03b4304a75affaabce':
ZygoteConnection: remove obsolete security checks.
2015-03-09 20:58:54 +00:00
dcashman
db7fa51ff0
am c7446790: Merge "ZygoteConnection: remove obsolete security checks."
...
* commit 'c74467902b5a9a7267b6cb8f30b364b8373eac72':
ZygoteConnection: remove obsolete security checks.
2015-03-09 20:51:33 +00:00
dcashman
fc4c0bf8bc
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
2015-03-09 12:37:08 -07:00
Andreas Gampe
735600c1e6
Frameworks/base: Pass APK debugability to installd
...
Change-Id: Id17ec72babe2ee88713a0d274eff86508de30666
2015-03-09 08:57:23 -07:00
Andreas Gampe
3f74f6386a
am 55966006: am 7a4cb563: Merge "Frameworks/base: Remove unnecessary Pattern instance"
...
* commit '5596600697f54feb944737b7bc55df06123e6e54':
Frameworks/base: Remove unnecessary Pattern instance
2015-03-08 00:08:25 +00:00
Andreas Gampe
208e80d931
am a3d5b230: am cdc19f3f: Merge "Frameworks/base: Remove unnecessary Pattern instance"
...
* commit 'a3d5b2304cf2db03ba728d37c87ef7360c7da44f':
Frameworks/base: Remove unnecessary Pattern instance
2015-03-08 00:08:19 +00:00
Andreas Gampe
5596600697
am 7a4cb563: Merge "Frameworks/base: Remove unnecessary Pattern instance"
...
* commit '7a4cb563a29f05658760739d3bc2e70bd6342174':
Frameworks/base: Remove unnecessary Pattern instance
2015-03-07 17:13:16 +00:00
Andreas Gampe
a3d5b2304c
am cdc19f3f: Merge "Frameworks/base: Remove unnecessary Pattern instance"
...
* commit 'cdc19f3f8a20b975e8e70f4b4cce5ce2be811726':
Frameworks/base: Remove unnecessary Pattern instance
2015-03-07 17:13:09 +00:00
Andreas Gampe
7a4cb563a2
Merge "Frameworks/base: Remove unnecessary Pattern instance"
2015-03-07 01:03:14 +00:00
Andreas Gampe
055678b5fe
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
2015-03-07 00:19:01 +00:00
Andreas Gampe
18e99c1288
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
2015-03-07 00:18:15 +00:00
Andreas Gampe
ecb48c16b7
am 9c0ba24f: am 6695b992: Merge "Frameworks/base: Add removeAll for ArraySet"
...
* commit '9c0ba24f3b54fa7916626f3d76ec6818d78ca47e':
Frameworks/base: Add removeAll for ArraySet
2015-03-05 17:33:13 +00:00
Andreas Gampe
9c0ba24f3b
am 6695b992: Merge "Frameworks/base: Add removeAll for ArraySet"
...
* commit '6695b9920d15f8d9a17d6b0c66b863d1c2e38584':
Frameworks/base: Add removeAll for ArraySet
2015-03-05 17:15:58 +00:00
Andreas Gampe
f9345e93db
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
2015-03-04 17:14:10 -08:00
Craig Mautner
5d3f00e38b
am 358188f5: Merge "Change ActivityView startActivity state sequence" into lmp-mr1-modular-dev
...
* commit '358188f5891f5645dbff4fd8cb1a3e7341371f74':
Change ActivityView startActivity state sequence
2015-03-03 21:08:45 +00:00
Craig Mautner
358188f589
Merge "Change ActivityView startActivity state sequence" into lmp-mr1-modular-dev
2015-03-03 21:03:29 +00:00
Craig Mautner
b916836e8d
Change ActivityView startActivity state sequence
...
Problems arise if an activity is started in an ActivityView when the
parent activity is not resumed. In particular the ActivityView can
be brought to the front in front of other activities that have been
started by the parent.
This change checks the state of the parent when the ActivityView is
starting and if it is not resumed, throws an Exception.
This change also removes the queueing up of Intents if the surface
does not exist when startActivity is called. Now, the owner of the
ActivityView is notified when the surface becomes available. If
startActivity is called before that notification an Exception will be
thrown.
Fixes bug 19147472.
Change-Id: I6712cf1929fe65c4238ce7f3feb4e8511ed97244
2015-03-03 10:15:21 -08:00
Joe Fernandez
5864f5ed4b
am 55902316: am 1137ca03: am 246a3a4a: am 14fcef3b: am c4418980: am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit '559023163d7e9e0aad4846bc0fccfc5c28705ec7':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:48:21 +00:00
Joe Fernandez
559023163d
am 1137ca03: am 246a3a4a: am 14fcef3b: am c4418980: am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit '1137ca03be9b9143c472d9adc51ea511cfd68a6b':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:42:39 +00:00
Joe Fernandez
1137ca03be
am 246a3a4a: am 14fcef3b: am c4418980: am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit '246a3a4a797edf5850073ec8f6b8aa997947d09b':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:36:02 +00:00
Joe Fernandez
246a3a4a79
am 14fcef3b: am c4418980: am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit '14fcef3bf02f46a057676d7a6d755daee735c4ea':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:29:33 +00:00
Joe Fernandez
14fcef3bf0
am c4418980: am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit 'c4418980a083c1cd26b789297f084e03036b5fdd':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:22:42 +00:00
Joe Fernandez
c4418980a0
am a31378dc: Merge "Minor typo fixes in managed profile Javadoc reference pages." into lmp-docs
...
* commit 'a31378dc49868412a2e632bcc46a44877a9b397f':
Minor typo fixes in managed profile Javadoc reference pages.
2015-03-03 06:15:29 +00:00
Selim Gurun
9205071093
am 545093df: am 75666e90: Merge "Revert "Add potential future APIs for postmessage""
...
* commit '545093df16ed2a94c1636ec8e8148574e6cad303':
Revert "Add potential future APIs for postmessage"
2015-03-03 02:28:48 +00:00
Selim Gurun
545093df16
am 75666e90: Merge "Revert "Add potential future APIs for postmessage""
...
* commit '75666e9054d97a9daecd5648f71414406413c6d9':
Revert "Add potential future APIs for postmessage"
2015-03-03 02:20:57 +00:00
Selim Gurun
75666e9054
Merge "Revert "Add potential future APIs for postmessage""
2015-03-03 02:14:19 +00:00
Selim Gurun
49f9ad8e2a
Revert "Add potential future APIs for postmessage"
...
This reverts commit 37bd8907cb .
Change-Id: Iaa9356b95859846ce9c3209d3d1bcfc800d2ff93
2015-03-03 01:54:25 +00:00
Andrew Solovay
27f5337841
Minor typo fixes in managed profile Javadoc reference pages.
...
See first comment for stage location.
bug: 19389235
Change-Id: I2e1d5169a77e3f4000e73f08d493953ce4eee78c
2015-03-02 17:22:18 -08:00
Selim Gurun
4de38166c6
am aef98356: am 9fc8356b: Merge "Add potential future APIs for postmessage"
...
* commit 'aef983562a74cfd573bd5a13dd5bf9123fd3b92f':
Add potential future APIs for postmessage
2015-03-02 23:14:36 +00:00
Selim Gurun
aef983562a
am 9fc8356b: Merge "Add potential future APIs for postmessage"
...
* commit '9fc8356baa7816a13e0c140788ccf67301cbd28d':
Add potential future APIs for postmessage
2015-03-02 23:07:36 +00:00
Selim Gurun
9fc8356baa
Merge "Add potential future APIs for postmessage"
2015-03-02 23:02:11 +00:00
Selim Gurun
37bd8907cb
Add potential future APIs for postmessage
...
Bug: 10237116
The APIs are hidden while work is ongoing.
Change-Id: I3e2f06d6e41af276171b127f06bdd74924c2e74c
2015-03-02 14:53:01 -08:00
Narayan Kamath
f1eaa12385
am 4d8caa55: am 8cba382f: Merge "Bad month value in DatePicker in Calendar Mode"
...
* commit '4d8caa557670626768aabb55d213f9d091433d73':
Bad month value in DatePicker in Calendar Mode
2015-02-26 17:56:52 +00:00
Narayan Kamath
4d8caa5576
am 8cba382f: Merge "Bad month value in DatePicker in Calendar Mode"
...
* commit '8cba382f04e4ead4a6b8c4a74216ddb383e8db91':
Bad month value in DatePicker in Calendar Mode
2015-02-26 17:49:19 +00:00
Narayan Kamath
8cba382f04
Merge "Bad month value in DatePicker in Calendar Mode"
2015-02-26 17:42:24 +00:00
You Kim
49e6c4adbf
Bad month value in DatePicker in Calendar Mode
...
Calendar MONTH field is zero based. Use predefined month.
Change-Id: I957bf385dc8e877e8698dacad68808f4d9d8a6d0
2015-02-26 19:06:16 +09:00
Filip Gruszczynski
0fbcc7086f
am 1e74b5d6: Merge "Burn in protection." into lmp-mr1-modular-dev
...
* commit '1e74b5d6b0e964b7a9e58e64b45f50aec15b1178':
Burn in protection.
2015-02-25 21:40:38 +00:00
Filip Gruszczynski
d2e8640c2c
Burn in protection.
...
Bug: 19373758
Change-Id: I7242f73acadd21bdee03262b4205c8af0734fccb
2015-02-25 12:22:49 -08:00