-
- Downloads
Move heap dump sharing to SHELL.
The system shouldn't be granting read URI permissions as itself. This means that heap dumps aren't successfully shared. Moving the heap dump sharing mechanism to SHELL, which already has the permission to dump heaps so that dumps can be shared properly. The ActivityManagerService changes are submitted separately. Bug: 126885951 Bug: 135150619 Test: collect a heap dump and confirm it's successfully shared with an app Test: do manual test on a secondary user & confirm it's not available to other user Change-Id: I6fad69280b5124c8ec2d3b4bef0f7dddb6a9422c
Showing
- packages/Shell/AndroidManifest.xml 26 additions, 1 deletionpackages/Shell/AndroidManifest.xml
- packages/Shell/src/com/android/shell/BugreportProgressService.java 1 addition, 1 deletion...Shell/src/com/android/shell/BugreportProgressService.java
- packages/Shell/src/com/android/shell/HeapDumpActivity.java 142 additions, 0 deletionspackages/Shell/src/com/android/shell/HeapDumpActivity.java
- packages/Shell/src/com/android/shell/HeapDumpProvider.java 101 additions, 0 deletionspackages/Shell/src/com/android/shell/HeapDumpProvider.java
- packages/Shell/src/com/android/shell/HeapDumpReceiver.java 188 additions, 0 deletionspackages/Shell/src/com/android/shell/HeapDumpReceiver.java
Loading
Please register or sign in to comment