OSDN Git Service

Preventing system crash when pin slice fails
authorSunny Goyal <sunnygoyal@google.com>
Wed, 24 Jul 2019 18:19:25 +0000 (11:19 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Wed, 24 Jul 2019 19:39:22 +0000 (12:39 -0700)
commit62f79d6b586ed3ae2627fa74b5eb5382a7d15c82
treed626bcf336a0cfaa9b98d8810597bc6931375c10
parent85a56ba1851db55889c054ce0ceab4ab7011213f
Preventing system crash when pin slice fails

ContentProvider calls can throw any generic exception it that was thrown
on the remote process. Ignore all such exceptions

Bug: 134802710
Test: atest PinnedSliceStateTest
Change-Id: I6f037905117adccbf5a65ee4ce4031f02aaa7780
services/core/java/com/android/server/slice/PinnedSliceState.java
services/tests/uiservicestests/src/com/android/server/slice/PinnedSliceStateTest.java