- 18 Oct, 2016 7 commits
-
-
Sungsoo authored
ExifInterface throws IOException instead of UnsupportedOperationException. Bug: 32221877 Change-Id: I68a4a62f565a386434b774759271bf6f2af2b7db
-
Sungsoo authored
Bug: 32068647, Bug: 30936376 Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f
-
Sungsoo authored
Bug: 32068647, Bug: 30936376 Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f
-
Sungsoo authored
Bug: 32068647, Bug: 30936376 Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f
-
Sungsoo authored
Bug: 32068647, Bug: 30936376 Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f
-
Andy Hung authored
This breaks a local refcount cycle and allows the Java gc to finalize the Ringtone and MediaPlayer objects quickly. Bug: 31811091 Change-Id: I0e5a4a78fdc02cc0c8b7811a1f1a45db3c90a0ff
- 13 Oct, 2016 5 commits
-
-
Sungsoo authored
ExifInterface.saveAttribute() didn't throw UnsupportedOperationException before. Use IOException instead of UnsupportedOperationException for backward compatibility. Bug: 30936376, Bug: 32068647, Bug: 31319086 Change-Id: Ifb478db3af820eb846c5373d3a284367da3495a0
-
Sungsoo authored
ExifInterface.saveAttribute() didn't throw UnsupportedOperationException before. Use IOException instead of UnsupportedOperationException for backward compatibility. Bug: 30936376, Bug: 32068647, Bug: 31319086 Change-Id: Iacc7b4d91d49edd7bece8f2e738a633a91025eca
-
Sungsoo authored
ExifInterface.saveAttribute() didn't throw UnsupportedOperationException before. Use IOException instead of UnsupportedOperationException for backward compatibility. Bug: 30936376, Bug: 32068647, Bug: 31319086 Change-Id: Iacc7b4d91d49edd7bece8f2e738a633a91025eca
-
Sungsoo authored
ExifInterface.saveAttribute() didn't throw UnsupportedOperationException before. Use IOException instead of UnsupportedOperationException for backward compatibility. Bug: 30936376, Bug: 32068647, Bug: 31319086 Change-Id: Iacc7b4d91d49edd7bece8f2e738a633a91025eca
-
Sungsoo authored
ExifInterface.saveAttribute() didn't throw UnsupportedOperationException before. Use IOException instead of UnsupportedOperationException for backward compatibility. Bug: 30936376, Bug: 32068647, Bug: 31319086 Change-Id: Iacc7b4d91d49edd7bece8f2e738a633a91025eca
-
- 30 Sep, 2016 1 commit
-
-
Philip P. Moltmann authored
The USB data transfer is disabled we should not allow access MTP devices (e.g. usb sticks). We have two ways of accessing them: Either by mounting them or by creating a MTPDevice in an app. Of course an app could implement implement their own MTPDevice implementation. In this case we cannot enforce the policy without completely suppressing all MTP USB devices which would be too restrictive. Note: When the policy is set we do _not_ disconnect already connected MTP devices Fixes: 31472955 Change-Id: I6080c48c49657102774b2b3b4d89ff030245a266
-
- 29 Sep, 2016 2 commits
-
-
Sungsoo authored
Bug: 28517884, Bug: 31398128 Change-Id: Ic1e2f5e828a772c667caf1408ebfc9b0d7c3f7d4
-
- 27 Sep, 2016 1 commit
-
-
Sungsoo authored
Bug: 31319086 Test: Checked the created javadoc with "make docs" Change-Id: I97c77ba4f00a95bc5eedf1dcee942aebd2d89ccb
-
- 22 Sep, 2016 1 commit
-
-
Jaewan Kim authored
Prevent sending media key events from the non-system app to the telephony service through the AudioManager.dispatchMediaKeyEvent() or sending media key broadcast directly. Bug: 29833954 Tested: Installed malicious apps and confirmed that they don't work. Tested: Run CtsTelecomTestCases and CtsMediaTestCases Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15
-
- 16 Sep, 2016 1 commit
-
-
Eino-Ville Talvala authored
This causes frequent programming errors, when developers assume that holding onto a Surface will keep its associated SurfaceTexture, ImageReader, etc, also alive. Bug: 31551063 Test: m offline-sdk-docs, manual viewing of result Change-Id: I5fb5bb3e3c80c7d5d735417b1697e0fe9a62fc46
-
- 15 Sep, 2016 2 commits
- 14 Sep, 2016 2 commits
-
-
Robert Shih authored
Bug: 30726795 Change-Id: Iecd0ceb2bd0e32e0ae3387c534e181a2daf2005b
-
Jean-Michel Trivi authored
Always scan notification, ringtones and alarm files under /system when the build fingerprint has changed since the last scan, because the dates on those files is not set correctly (by design), and hence cannot be trusted in the date-based scanning logic. Remove some dead code Bug 30476971 Change-Id: I638c787dc177f7f5fb17c1c2a576be190c1c85f9
-
- 09 Sep, 2016 2 commits
-
-
Eino-Ville Talvala authored
This method (currently @hide) discards all cached buffers for the ImageReader, which can be useful to free up memory at the cost of reallocation time if more buffers are needed later. It has no effect on acquired Images, filled Images waiting to be acquired, or buffers being actively used by the source rendering to the Surface. Bug: 28695173 Change-Id: I427a8ba4ad73a267083f843dbf228bfc53a730d9
-
Jean-Michel Trivi authored
ZenModeHelper was only considering a subset of all notification usage types. The code was also iterating over the usage values, expecting them to be contiguous, which will break with the addition of new usage values. The update consists in: - defining in AudioAttributes an array of expected usage types - defining the suppression behavior for each usage type - have ZenModeHelper query the behavior for each usage in order to apply the corresponding muting behavior. Bug 29009099 Change-Id: If884dda6297f125c60c5775c757df4f782e22e53
-
- 08 Sep, 2016 7 commits
-
-
xiaoli.xb.zuo authored
This patch adds releasing of MediaScannerConnection in ClientProxy after disconnecting and releasing of ClientProxy and IMediaScannerService in disconnection sequence in MediaScannerConnection. Bug: 30150344 Change-Id: I1e162e4c9a0b7a741ace20480bcf06f3151a93bf
-
Sungsoo authored
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I115a42601c774062485974042464abb0d65c35e9 (cherry picked from commit a8f9a075)
-
Sungsoo authored
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I915f56b00ec9422b53591ac5534e070a1d6798e6
-
Sungsoo authored
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I915f56b00ec9422b53591ac5534e070a1d6798e6
-
Sungsoo authored
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I915f56b00ec9422b53591ac5534e070a1d6798e6
-
Sungsoo authored
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I915f56b00ec9422b53591ac5534e070a1d6798e6
-
Sungsoo authored
Bug: 28517884 Change-Id: I537db7242adf8adb07f9860a0c43c9eaf40a4229
-
- 25 Aug, 2016 1 commit
-
-
Mark Goldstein authored
Bug: 25777114 Change-Id: I5c34ceba8f3b76bd47e1c020956cef285bad59d7
-
- 23 Aug, 2016 1 commit
-
-
Sungsoo authored
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I115a42601c774062485974042464abb0d65c35e9
-
- 29 Jul, 2016 4 commits
-
-
Sungsoo Lim authored
Bug: 30297223, Bug: 30437363 Change-Id: I7b18af40e4eac2713577204428fbfb96cc346582
-
Sungsoo Lim authored
Bug: 30297223, Bug: 30437363 Change-Id: I7b18af40e4eac2713577204428fbfb96cc346582
-
Sungsoo Lim authored
Bug: 30297223, Bug: 30437363 Change-Id: I7b18af40e4eac2713577204428fbfb96cc346582
-
Sungsoo Lim authored
Bug: 30297223, Bug: 30437363 Change-Id: I7b18af40e4eac2713577204428fbfb96cc346582
-
- 26 Jul, 2016 1 commit
-
-
Jean-Michel Trivi authored
Switch the device and client AudioFormat parameters in the AudioRecordingConfiguration constructor, so it's the same order as the rest of the code involved in sending a callback when the recording configuration changes. Bug 30282058 Change-Id: Iea417f02dcb644e3d4dacbc0e44ea4b2eac28840
-
- 25 Jul, 2016 1 commit
-
-
Hangyu Kuang authored
bug: 30284097 Change-Id: I898f9a05571098a0ca0f57fb5abf58567c16fdd1
-
- 22 Jul, 2016 1 commit
-
-
Eino-Ville Talvala authored
This method (currently @hide) discards all cached buffers for the ImageReader, which can be useful to free up memory at the cost of reallocationt time if more buffers are needed later. It has no effect on acquired Images, filled Images waiting to be acquired, or buffers being actively used by the source rendering to the Surface. Bug: 28695173 Change-Id: I427a8ba4ad73a267083f843dbf228bfc53a730d9
-