| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.
Bug: 23050463
(cherry picked from commit 7a09b8322cab26d6e3da1362d3c74964ae66b5d4)
Change-Id: Ib5b6d3bc4d45389993c3c54226df5a7b72479d19
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|
|
|
|
|
|
|
|
|
| |
of bytes
bug: 20883006
Change-Id: I4f109667fb210a80fbddddf5f1bfb7ef3a02b6ce
Conflicts:
core/jni/android/graphics/Region.cpp
|
|
|
|
|
|
|
|
| |
bug:20883006
Change-Id: Ib47a8ec8696dbc37e958b8dbceb43fcbabf6605b
Conflicts:
core/jni/android/graphics/Region.cpp
|
|
|
|
|
| |
Bug: 21669445
Change-Id: I792c6e676d4b6d54a51228d264130b8125075d98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Port of upstream commit d44e5bde18a41beda39d49189bef7f2ba7c8f3cb
from Leon Scroggins III <scroggo@google.com>
Original commit message:
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
When reading from the parcel, if the number of colors is invalid, early
exit.
Add two more checks: setInfo must return true, and Parcel::readInplace
must return non-NULL. The former ensures that the previously read values
(width, height, etc) were valid, and the latter checks that the Parcel
had enough data even if the number of colors was reasonable.
Also use an auto-deleter to handle deletion of the SkBitmap.
Cherry pick from change-Id: Icbd562d6d1f131a723724883fd31822d337cf5a6
BUG=19666945
Change-Id: Iab0d218c41ae0c39606e333e44cda078eef32291
|
|
|
|
|
|
|
|
| |
Bug: 21697171
Change-Id: I7649c7341428194963ac74e9ae622dfa76ea738b
Conflicts:
core/res/AndroidManifest.xml
|
|
|
|
|
|
|
|
|
|
|
|
| |
When traversing windows save the fact that windows above the topmost
fullscreen window do not hide the lockscreen. If there is such a
window don't show it.
(cherry picked from commit ab55e524b89c13082193940a5bf8480a2c2522d9)
Fixes bug 13225149.
Change-Id: Ib6f33cbcfb2f60d8957a9184729ecdec80c6a236
|
|
|
|
|
|
|
|
|
|
| |
Bug 17969135
Use query (instead of rawQuery) and pass in arguments instead of building
the query with a giant string. Add a unit test that fails with the old
code but passes with the new code.
Change-Id: Id04a1db6fb95fcd923e1f36f5ab3b94402590918
|
|
|
|
|
|
|
|
|
| |
Prevents 3rd party spoofing.
Bug: 7622253
Change-Id: I1e1a9887afe009d060205e349c31e3aefba2ea5b
Signed-off-by: Robert Greenwalt <rgreenwalt@google.com>
Tested-by: Moritz Bandemer <replicant@posteo.mx>
|
|
|
|
|
|
| |
Bug: 6787477
Signed-off-by: Michael Jurka <mikejurka@google.com>
Tested-by: Moritz Bandemer <replicant@posteo.mx>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Protect app widget broadcasts from abuse.
In this case the app was sending an APPWIDGET_UPDATE broadcast
without specifying a target, which (a) should not be allowed (you
should not be able to send updates to other apps), and (b) resulted
in every single potential app widget in the system being launched...
which was about 75 of them.
Change-Id: I9d48733610ce6d5a7c32e69a3e06b9f33bd79a34
Signed-off-by: Dianne Hackborn <hackbod@google.com>
Tested-by: Moritz Bandemer <replicant@posteo.mx>
|
|
|
|
| |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
| |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
| |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
|
| |
Change-Id: I22188668bd4b2d82dcfb13d0b656db324b858858
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
|
| |
Change-Id: Idb53fc16696e4b3bd4aee7db3d574c6b946fa4c8
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
|
| |
Change-Id: I0d7809e7ae408c4762982599576be9a78d54a2dc
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
|
|
|
| |
advanced reboot configuration
Change-Id: Iccad1e2323b155f1d23fb495ede9e2c59c912fb6
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
|
| |
Change-Id: I6d891cd4b3f40110c8b99a67cd467c2501d30317
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
|
| |
Change-Id: I485ac3ee827aa0869b0173f94284bf0a1932c271
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|\
| |
| |
| | |
cm-10.1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rework of http://review.cyanogenmod.org/31979
Fixes:
1. inconsistent volume button behaviour depending on app in use
- the buttons were not swapped for some NDK/OPENSL ES apps like
e.g. MX Player
2. the function of volume buttons on external input devices like BT/USB
keyboards should not be affected by the main unit orientation
This commit finishes http://review.cyanogenmod.org/18273 - use of system
property has been replaced with config push via JNI as suggested during
the original review.
Patch Set 7: Circumvent the need for "keyboard.orientationAware = 1" idc
Patch Set 8: Don't leak implementation details outside InputReader
Change-Id: I19cc60cb0acb0005ab13fa069f52e3d468d694e7
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since ids of media file are usually not continuous, the original file of thumbnail are
sparse. When there are big numbers files on ex\
ternal storage, the size of this file will be horrible.
Ex, when the id is 20000, then the .thumbnails/.thumbdata3-xx file will be 50000*10k = 488.28M.
Can refer http://stackoverflow.com/questions/12396715/android-huge-thumbdata4-file-in-dcim-folder
Because after 4.0, MediaProvider will scan any files, this will be a big problem. So I modify MiniThumbFile.java to avoid this.
According to the id, we now produce an index file. In this index file, one id will use BYTES_PER_MINTHUMB_INDEX(8) bytes in offset (i\
d+1)*BYTES_PER_MINTHUMB_INDEX. The data of these 8 bytes is the index of thumbnail file. The first BYTES_PER_MINTHUMB_INDEX bytes kee\
p next available index. And when you need insert a thumbnail, the index increase by 1. In this way, the block data in thumbnail file \
will be continuous. And thus unnecessary zero paddings will not be saved.
Change-Id: I66005dd69b0a5c8f4353bd7a8225d163a654fd2d
|
|
|
|
|
|
|
|
|
|
| |
Pretend no music is playing if music controls are disabled, as otherwise
KeyguardHostView gets confused as there's a mismatch between the result
of isMusicPlaying() and the onListenerAttached() / onListenerDetached()
callbacks.
Change-Id: Ic3bd2c6f143ce8b67c80abb408a4ff463ebae53d
JIRA:CYAN-1935
|
|
|
|
|
|
|
|
|
|
| |
Allow components to be specified as disabled at build time
(applied on boot).
This allows stock OTA components to be marked as disabled in
CM builds.
Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I88f5db97694b92007d44d32ff103793fafcdb067
JIRA: CYAN-1865
Issue: https://jira.cyanogenmod.org/browse/CYAN-1865
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|/
|
|
|
|
|
| |
Change-Id: Ie6d343bffd41c268e46a714b301338fc6bbba32d
JIRA: CYAN-1888
Issue: https://jira.cyanogenmod.org/browse/CYAN-1888
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
| |
Change-Id: I4fa9fbaceb03d34dddc80c6759fe44c92003ab0e
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I202207397e92a47abf1d6eb254aa048d2762c2f4
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Id2bf457261619f64cf8717e2f18cf9775159921a
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* If more than 1.5GB is present, allow up to 40 hidden apps.
* Number is somewhat arbitrary, but was found to work well on D2.
* Also look at the sys.mem.max_hidden_apps value if given.
Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be52
|
| |
| |
| |
| |
| | |
Change-Id: I083f85fdfec2bde88e6d8e0366d94e86eaea20cd
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
| |
| |
| |
| |
| |
| | |
Add an ethernet network icon to the statusbar network area.
Change-Id: I019740f360b5f9cc85f404f75d38e38896182a81
|
| |
| |
| |
| | |
Change-Id: Idfd709a6421a25f4df07b9ece91f25cfd3ac4bd4
|
| |
| |
| |
| |
| |
| |
| |
| | |
Derp
This reverts commit d727d4cfb2ce739db8eb6c9d0bac321b88d2efb5.
Change-Id: Ib4ab8cb19676221c11882e2bf10855ddacc101a2
|
| |
| |
| |
| | |
Change-Id: I137a23114dbe7e5e43aa7d8a5a2d914af1cfcbe7
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Add many missing entries.
Change-Id: Id13e5ec73944511ee450fab5d4bc901777d8b6ed
|
|\ \ \
| | | |
| | | |
| | | | |
DevicePolicyManagerService cannot start when the SELinux is disabled." into cm-10.1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
DevicePolicyManagerService cannot start when the SELinux is disabled.
Error log
07-24 10:32:14.408 F/SystemServer( 1676): BOOT FAILURE making Device Policy Service ready
07-24 10:32:14.408 F/SystemServer( 1676): java.lang.NullPointerException
07-24 10:32:14.408 F/SystemServer( 1676): at com.android.server.zh(DevicePolicyManagerService.java:2628)
07-24 10:32:14.408 F/SystemServer( 1676): at com.android.server.DevicePolicyManagerService.systemReady(DevicePolicyManagerService.java:1251)
07-24 10:32:14.408 F/SystemServer( 1676): at com.android.server.ServerThread.run(SystemServer.java:941)
Patch Set 2: Append the error log.
Change-Id: I31be031c356ef8e293de0395feefb34ced628341
|
| |/ /
|/| |
| | |
| | | |
Change-Id: If5212da117cbbd670432d4133e56c2a08b6e933b
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Id7a9c86fb3e0d481584c5d8ba550ee0510c17b26
|
|/ / /
| | |
| | |
| | | |
Change-Id: I420582b812de3d7f67e2434ee422ac1fc1658cb8
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Enables the advanced reboot menu when locked if the selected lock method
is insecure (= slide unlock).
Change-Id: I759b7b31c5411597e2537a85183d73ec02eb2461
|