This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
einsatz
commented
Jan 28, 2017
Those two resources were only defined for watches and had no default counterparts. BUG: 32786346 Change-Id: I0868d34d1df55c6dfd26d13c3a7d468866603a97 (cherry picked from commit fade123)
This adds a null-check to verify that we got real data before trying to use it and increases the timeout time to reduce the likelihood of timing out. Test: FrameworkServicesTests Bug: 33836034 Change-Id: Ia1ad4aba05c5c4fb8688fc9fc94df344f736e396 (cherry picked from commit cf76a16)
…pixel-monthly-release-3938523 snap-temp-L39300000065258774 (snap-temp-branch) Change-Id: I4bce5f33182b1e92971f44b96d45c71ae1d68c3e
…pixel-monthly-release-3938523 snap-temp-L39300000065258774 Change-Id: Iab7629368efe3bbdc2780cf2d9617853e6dd8a49
Bug: 34193533 Test: mma Change-Id: I0d255f47eaded15eda02a4654193a4e49c63a2c5 (cherry picked from commit f2d2640)
…79863, 2278227] into nyc-mr2-pixel-monthly-release Change-Id: I1823477516e3ccbe0ed20238b243765647417241
Fix a bug where a malformed Parceled representation of an AccessibilityNodeInfo could be used to mess with Bundles as they get reparceled. Bug: 36491278 Test: Verified that POC no longer works, a11y cts still passes. Change-Id: I10f24747e3ab87d77cd1deba56db4526e3aa5441 (cherry picked from commit 687bb44) (cherry picked from commit 487d869)
Bug: 37526753 Test: Check that system alert windows appear after leaving VR mode. Change-Id: I2942b2e2bd30308752367963b7ae896462811d2f (cherry picked from commit 2781b41)
Commit https://android.googlesource.com/kernel/common/+/f0ce0eee added CAP_SYS_RESOURCE as a capability check which would allow access to sensitive /proc/PID files. system_server uses this capability to collect smaps from managed processes. Presumably this was done to avoid the implications of granting CAP_SYS_PTRACE to system_server. However, with SELinux enforcement, we can grant CAP_SYS_PTRACE but not allow ptrace attach() to other processes. The net result of this is that CAP_SYS_PTRACE and CAP_SYS_RESOURCE have identical security controls, as long as system_server:process ptrace is never granted. Add CAP_SYS_PTRACE to the set of capabilities granted to system_server. Don't delete CAP_SYS_RESOURCE for now. SELinux has blocked the use of CAP_SYS_RESOURCE, but we still want to generate audit logs if it's triggered. CAP_SYS_RESOURCE can be deleted in a future commit. Bug: 34951864 Bug: 38496951 Test: Device boots, functionality remains identical, no sys_resource denials from system_server. Change-Id: I2570266165396dba2b600eac7c42c94800d9c65b (cherry picked from commit 3082eb7) (cherry picked from commit 966619d)
Please see commit 3082eb7 for an explanation of this change. This capability is not used by system_server. Bug: 34951864 Bug: 38496951 Test: code compiles, device boots, no selinux errors ever reported. Change-Id: I4242b1abaa8679b9bfa0d31a1df565b46b7b3cc3 (cherry picked from commit 3577578) (cherry picked from commit 4911af2)
…07656, 2307743, 2307635, 2307799, 2307577, 2307800, 2307707, 2307803, 2307781, 2307773, 2307637, 2307804, 2307618, 2307734, 2307708, 2307805, 2307709, 2307806, 2307820, 2307746, 2307774, 2307839, 2307735, 2307782, 2307808, 2307840, 2307738, 2307783, 2307749, 2307775, 2307860, 2307899, 2307822, 2307823, 2307880, 2307778, 2307825, 2307882, 2307787, 2307919, 2307844, 2307905, 2307883, 2307829, 2307907, 2307832, 2307944, 2307945, 2307911] into nyc-mr2-pixel-monthly-release Change-Id: I5768c17d987ea5df68e2366f346d5f4f129d3cc9
Otherwise the (CTS) server might run out of connections. Bug: 38391487 Bug: 22771132 Test: build, run CTS, stream music Change-Id: I92c782a6799ab36eec8df3f7c3217bea667b838a (cherry picked from commit 46132af)
…13792, 2413850, 2413851, 2413793, 2413866, 2413738, 2413659, 2413660, 2413867, 2413868, 2413885, 2413829, 2413814, 2413886, 2413921, 2413777, 2413887, 2413854, 2413889, 2413890, 2413855, 2413869, 2413740, 2413816, 2413831, 2413832, 2413817, 2413892, 2413797, 2413779] into nyc-mr2-pixel-monthly-release Change-Id: Ie45c0ee51a7a5d2f9ba6718011d7fc3461825584
original work organizing the new nexus sounds done by @Bajasur I just cleaned it up a little and made it have its own makefile Change-Id: I3a9d16c73cdbf9a9804bf029c110f35bc067b079
Signed-off-by: Carlo Savignano <carlosavignano@aospa.co>
Add the pause and resume APIs here so that applications can pause and resume downloads manually through DownloadManager. This patch consists of 2 changes: 1. Add pause and resume download APIs 2. Add another paused reason for this download status Change-Id: I606b48ca20f43bcc6c119683818c2ab6ff03bfe5
KeyguardStatusView is doing refresh all the time, which cause high power when screen off. Change-Id: Ifabdde4419a23e919cd52fe77e78ec3160575af1
When screen is off, don't refresh the status bar to save power. When screen is on, refresh immediately for user experience. Change-Id: Ie250e20bab57c096a16886680a53263c635bf6f4
When device is connected as MTP mode and user opens folder /sdcard/Pictures/Screenshots/ in windows system and captures new screenshot, image information is always shown as 0 KB Issue: https://code.google.com/p/android/issues/detail?id=56204 Change-Id: I46f3d72d275e164e40e305a3b5aafe685e6905f2
Change-Id: I442c3bf1a647a9922ddf5bd0ce6f123951d1e703
Clicking on the "cast" icon of an app using the MediaProjection API will crash as the code assume that it is a device. java.lang.ClassCastException: android.media.projection.MediaProjectionInfo cannot be cast to android.media.MediaRouter$RouteInfo at com.android.systemui.statusbar.policy.CastControllerImpl.startCasting(CastControllerImpl.java:177) at com.android.systemui.qs.tiles.CastTile$CastDetailAdapter.onDetailItemClick(CastTile.java:237) at com.android.systemui.qs.QSDetailItems$1.onClick(QSDetailItems.java:177) at android.view.View.performClick(View.java:4756) at android.view.View$PerformClick.run(View.java:19749) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693) Change-Id: Icfdf745c03da7bd1bbb228e06005f55324c1b8fa
Squashed commits: Author: romanbb advanced reboot: add soft reboot option CyanogenMod/android_frameworks_base@c301e6c Author: invisiblek ShutdownThread: set soft reboot trigger accordingly CyanogenMod/android_frameworks_base@f094fe6 Author: rmcc Method doSoftReboot() from: framework: Add advanced reboot options (2 of 2) CyanogenMod/android_frameworks_base@8060499
Steps to reproduce: Enable airplane mode Reboot Check the statusbar. The no sim icon is too close to airplane icon. This commit shows mWifiAirplaneSpacer everytime airplane mode is on, and not only when wifi is also on, and fixes that. Change-Id: Ib3b8b237b3e74fa07a3ce43d0727cea2f1c31faf
Adopted for Marshmallow by @KreAch3R In stock lollipop power off is the only action in the GlobalActions menu. Since we added more actions we should confirm the power off command in case the user accidentally tapped the wrong item. Change-Id: I5b126aa47956abbbe26417f5c59d8a181c70dee2 Signed-off-by: Evan Anderson <evananderson@aospa.co
BackupRestoreConfirmation acitivity does not show 'allow' button, because 'getPasswordType' func check "Manifest.permission.STORAGE_INTERNAL", so add missing STORAGE_INTERNAL permission. Change-Id: Ica631b7edd2529e52d6661cef6ee6e468f1f38ed Signed-off-by: mydongistiny <jaysonedson@gmail.com>
* DatabaseUtils: java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL Change-Id: I444dac4c4134e70d0fdd828c64be9ca732d3a195
Change-Id: I64966e15e0e92a2058809ead2c694a9badae881b (cherry picked from commit da6a6b0ffc1b6f21c64bb804341f2b32bb933922)
… and test feature in bug 33118157 Change-Id: Ic1b62a8d0821385cfe05818c72f9554588457a65
Change-Id: I8c28519ee89229a6cc653eb0bd90fdb5f40eaf93
To report bugs or submit patches to Android, please follow the instructions at http://source.android.com/source/contributing.html. More information on these mirrors (like the fact that issues and pull requests are ignored) is available at http://aosp-mirror.github.io/. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.