- 27 Oct, 2016 7 commits
-
-
Jason Monk authored
Launch it as a pending intent. Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350 Fixes: 23909438 (cherry picked from commit d0408f00)
-
Todd Kennedy authored
When using the new "cmd" command, APKs must be streamed instead of specifying a file. Change-Id: I977cd817ac545d7c5293f53b9fa4b155bea7449e Fixes: 31251489 Test: manually installed packages using 'adb install', 'adb shell cmd package install' and 'adb shell pm install' (cherry picked from commit d220683d)
-
gitbuildkicker authored
-
Christopher Tate authored
More specifically, they get a PackageManager binder -- necessary for Android process startup and configuration -- but none of the other usual preloaded service binders. Bug 30202228 Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05 (cherry picked from commit 2c61c57a) (cherry picked from commit 47796319)
-
Jason Monk authored
Launch it as a pending intent. Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350 Fixes: 23909438 (cherry picked from commit d0408f00)
-
Todd Kennedy authored
When using the new "cmd" command, APKs must be streamed instead of specifying a file. Change-Id: I977cd817ac545d7c5293f53b9fa4b155bea7449e Fixes: 31251489 Test: manually installed packages using 'adb install', 'adb shell cmd package install' and 'adb shell pm install' (cherry picked from commit d220683d)
-
gitbuildkicker authored
-
- 26 Oct, 2016 5 commits
-
-
Christopher Tate authored
More specifically, they get a PackageManager binder -- necessary for Android process startup and configuration -- but none of the other usual preloaded service binders. Bug 30202228 Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05 (cherry picked from commit 2c61c57a) (cherry picked from commit 47796319)
-
Jason Monk authored
Launch it as a pending intent. Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350 Fixes: 23909438 (cherry picked from commit d0408f00)
-
Todd Kennedy authored
When using the new "cmd" command, APKs must be streamed instead of specifying a file. Change-Id: I977cd817ac545d7c5293f53b9fa4b155bea7449e Fixes: 31251489 Test: manually installed packages using 'adb install', 'adb shell cmd package install' and 'adb shell pm install' (cherry picked from commit d220683d)
-
Sungsoo authored
Resolve merge conflict into nyc-release ExifInterface.saveAttribute() didn't throw UnsupportedOperationException before. Use IOException instead of UnsupportedOperationException for backward compatibility. Bug: 30936376, Bug: 32068647, Bug: 31319086 Change-Id: Ifb478db3af820eb846c5373d3a284367da3495a0 (cherry picked from commit 5a7bd1b9f09ed0b67b0807e12cf4b1e477af5f90)
-
gitbuildkicker authored
-
- 25 Oct, 2016 1 commit
-
-
gitbuildkicker authored
-
- 24 Oct, 2016 1 commit
-
-
gitbuildkicker authored
-
- 30 Sep, 2016 3 commits
-
-
Wyatt Riley authored
Only process a shutdown when it is for all users (whole system), not a single user Change-Id: Id51b7fb4606460462c2f6749e5ac3984bdd8319f Bug: 30646142 (cherry picked from commit 1b24fb17) (cherry picked from commit a8037fff)
-
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 (cherry picked from commit e175aa82)
-
gitbuildkicker authored
-
- 29 Sep, 2016 1 commit
-
-
Fan Zhang authored
In getSummary methods, make a local reference to WifiConfig before accessing the fields to prevent member variable mConfig being reset in a different thread. Bug: 31617798 Test: manually open/close/refresh wifi settings and see no crash. Change-Id: I254cb3cb59dead425a9ada17d9e84a7e2974f738 (cherry picked from commit 51365c3b)
-
- 28 Sep, 2016 1 commit
-
-
Eric Laurent authored
Wait for audioserver service initialization to complete before playing the sound Bug: 31651778 Change-Id: I988de549d20468a090c939a1c624ee47d4036cd3 (cherry picked from commit 75bf3fd7)
-
- 27 Sep, 2016 21 commits
-
-
Wyatt Riley authored
Only process a shutdown when it is for all users (whole system), not a single user Change-Id: Id51b7fb4606460462c2f6749e5ac3984bdd8319f Bug: 30646142 (cherry picked from commit 1b24fb17) (cherry picked from commit a8037fff)
-
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 (cherry picked from commit e175aa82)
-
Paul Jensen authored
Avoid crashing when downloading MitM'd PAC that is too big am: 7d2198b5 am: 9c1cb7a2 am: 6634e90a am: 66ee2296 Change-Id: Ib0023b44e521b936ab2f9450ad367b1feda64492
-
Jeff Sharkey authored
Fix Merge Conflict into nyc-release We can no longer return the "my_downloads" paths: if those Uris were shared beyond the app that requested the download, access would be denied. Instead, we need to switch to using "all_downloads" Uris so that permission grants can be issued to third-party viewer apps. Since an app requesting a download doesn't normally have permission to "all_downloads" paths, DownloadProvider now issues narrow grants toward the owner of each download, both at device boot and when new downloads are started. Bug: 30537115, 30945409 Change-Id: I533125b36444877f54373d88922f2acc777e250b (cherry picked from commit 9fab683c) (cherry picked from commit df0de20e)
-
Jaewan Kim authored
Prevent sending media key events from the non-system app to the global priority session through the MediaSessionManager.dispatchMediaKeyEvent(). Note that any app can use the API indirectly with the public API AudioManager.dispatchMediaKeyEvent(). Bug: 29833954 Tested: Installed malicious apps and confirmed that they don't work. Tested: Run CtsTelecomTestCases and CtsMediaTestCases Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15 (cherry picked from commit 09c3df00)
-
Paul Jensen authored
Bug: 30100884 Change-Id: I8fa379a74b5d9467b5b9498bd18de2a043963c6f (cherry picked from commit baae57ab)
-
Tadashi G. Takaoka authored
Bug: 30568284 Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2 (cherry picked from commit dddc438e)
-
Sudheer Shanka authored
Don't hold mPidsSelfLocked lock when calling cleanUpApplicationRecordLocked. Bug: 31463143 Change-Id: I421962cbfd7c466662edcef805c3e27321dc5a98 (cherry picked from commit 67e05b4d)
-
Hongming Jin authored
with system key and have get_password permission. Bug: 30455516 Change-Id: I78484c59e4de1dff685ab91a0a8e7a756fffd9bf (cherry picked from commit 9342e137)
-
Marie Janssen authored
setPairingConfirmation was set to only require BLUETOOTH_ADMIN permission which shouldn't be able to set the confirmation itself. This is restricted to BLUETOOTH_PRIVILEGED permission. Bug: 29043989 Change-Id: I887de32d156e672ec44aa0b286cd7ea7f9f8ad55 (cherry picked from commit 93326cfd)
-
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) (cherry picked from commit 56ea7b49)
-
Narayan Kamath authored
This is the backport of the following commits : Reopen whitelisted zygote file descriptors after a fork. We don't want these descriptors to be shared post-fork, so we'll have to close and reopen them when the zygote forks. The set of open descriptors is checked against a whitelist and it is a fatal error if a non whitelisted FD is opened. It is also a fatal error if anything other than a regular file / character device or socket is opened at the time of forking. This work is done in two stages : - An initial list of FDs is constructed and cached prior to the first zygote fork. - On each subsequent fork, we check whether the list of open FDs has changed. We are currently tolerant of changes, but in the longer term, it should be a fatal error if the set of open file descriptors in the zygote changes. - Post fork, we traverse the list of open descriptors and reopen them if necessary. bug: 30963384 (cherry picked from commit c5f27a7c) Fix clang build breakage (-Werror -Wformat). Use %zd for size_t. Note that this will break only on (-plus-)aosp because clang is disabled on the N development branches. bug: 30963384 (cherry picked from commit b334c33d) Add a whitelist of sockets on fork. Maintain a whitelist of AF_UNIX sockets that are permitted to exist at the time of forking. If an open socket does not belong to the whitelist (or is not AF_UNIX), the process will abort. If an open socket is whitelisted, it will be redirected to /dev/null after a sucessful fork. This allows us to unify our handling of the special zygote sockets (/dev/socket/zygote[_secondary]) with the existing whitelist of non socket file descriptors. This change also removes non-fatal ALOGW messages since they have the side effect of reopening the logging socket. bug: 30963384 (cherry picked from commit 3764a260) fd_utils: Remove whitelist for "/dev/pmsg0". We're now calling __android_log_close prior to a fork, so this file shouldn't need to be open. bug: 31243313 bug: 30963384 (cherry picked from commit 8dee0541) fd_utils: Fix broken usage of iterators. There were two separate issues here : - RestatInternal was using an iterator after a call to erase(). This will not work because it will be invalidated. - The "standard" for loop idiom for iterating over a map while making structural changes to it is broken. Switch to a while loop and treat cases where elements are erased differently from cases where they aren't. bug: 31092930 bug: 30963384 (cherry picked from commit 0b76d6a2) add dri device to zygote whitelisted FDs The driver can be used just like /dev/ion for graphic buffers. (cherry picked from commit 8977e424) (cherry picked from commit a1252ccb)
-
Robin Lee authored
Bypassing work challenge in freeform mode was trivial by just keeping work apps open in freeform mode and then switching focus to them from another app. Because the only interception point is startActivity this never triggered work challenge. The solution is to trigger the check on focus change events and also to allow passing the result back into the freeform stack instead of dumping our user out into the homescreen. Change-Id: I141ecf90b5f0e708a21d27141b6fec6074e5d475 Fix: 30693465 (cherry picked from commit 0737c2b4)
-
gitbuildkicker authored
-
Eric Laurent authored
Wait for audioserver service initialization to complete before playing the sound Bug: 31651778 Change-Id: I988de549d20468a090c939a1c624ee47d4036cd3 (cherry picked from commit 75bf3fd7)
-
Wyatt Riley authored
Only process a shutdown when it is for all users (whole system), not a single user Change-Id: Id51b7fb4606460462c2f6749e5ac3984bdd8319f Bug: 30646142 (cherry picked from commit 1b24fb17) (cherry picked from commit a8037fff)
-
Paul Jensen authored
Avoid crashing when downloading MitM'd PAC that is too big am: 7d2198b5 am: 9c1cb7a2 am: 6634e90a am: 66ee2296 Change-Id: Ib0023b44e521b936ab2f9450ad367b1feda64492
-
Jaewan Kim authored
Prevent sending media key events from the non-system app to the global priority session through the MediaSessionManager.dispatchMediaKeyEvent(). Note that any app can use the API indirectly with the public API AudioManager.dispatchMediaKeyEvent(). Bug: 29833954 Tested: Installed malicious apps and confirmed that they don't work. Tested: Run CtsTelecomTestCases and CtsMediaTestCases Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15 (cherry picked from commit 09c3df00)
-
Paul Jensen authored
Bug: 30100884 Change-Id: I8fa379a74b5d9467b5b9498bd18de2a043963c6f (cherry picked from commit baae57ab)
-
Tadashi G. Takaoka authored
Bug: 30568284 Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2 (cherry picked from commit dddc438e)
-