dac516ef326e9849d1fef06b314053e4d2081284 |
|
02-May-2017 |
Ben Lin <linben@google.com> |
Remove snippet regarding ContentProvider#notifyChange in documentation. For ContentProvider and DocumentsProvider, throwing an exception in their query methods will result in no Cursor returned to the remote side. Without a cursor, there is no way to listen in on changes. Removing the part regarding notifyChange since there's no established paradigm on which URI to listen/notify changes on. Test: Documentation change only. Bug: 37876119 Change-Id: I0739794a1e8182918758ba953251ed9a3268f227
/frameworks/base/core/java/android/app/RecoverableSecurityException.java
|
df6d37e50442cb453a7e0d9e383c45bba848db70 |
|
21-Mar-2017 |
Ben Lin <linben@google.com> |
Introduce AuthenticationRequiredException, and @hide RecoverableSecurityException. Test: CTS tests in changes in same topic. Bug: 36482356 Bug: 36482258 Change-Id: I44b3407746006d8709e4a3f3ca2950c61fa0be95
/frameworks/base/core/java/android/app/RecoverableSecurityException.java
|
780861f2452b519c128289dac836e5a756100e1d |
|
20-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
More RecoverableSecurityException docs. Mention convenience methods in class docs, and require a valid NotificationChannel to be provided to match O best-practices. Also mention that notifyChange() should be triggered when the action is finished. Test: builds, boots Bug: 34676491 Change-Id: I0e6c6d43a93cbce1a5de02621290cc2ff9423274
/frameworks/base/core/java/android/app/RecoverableSecurityException.java
|
72ec44830708f8bc6607be20f47ddc26291c2e44 |
|
12-Feb-2017 |
Jeff Sharkey <jsharkey@android.com> |
Switch RecoverableSE over to using RemoteAction. Now that RemoteAction supports PendingIntent, we should be using it instead of rolling our own fields. Continue offering legacy constructor for some existing unit tests. Create a notification channel for each remote app that throws at a client app. All apps targeting O must now use channels, which give the user better control over notifications. Mention in docs that strings should be localized. Test: builds Bug: 33749182, 35012253, 34676491 Change-Id: Ic57e32025bc6caf784d3746d9f97f6595b0edb69
/frameworks/base/core/java/android/app/RecoverableSecurityException.java
|
56f0368fb78c304789cdd5ab25f1e223a674f2c1 |
|
24-Jan-2017 |
Jeff Sharkey <jsharkey@android.com> |
Introduce RecoverableSecurityException. This takes advantage of the recently added behavior that offers to send Parcelable exception types across Binder calls. Certain SecurityException can be resolved if we involve the end user, such as when a password has expired, or a user challenge is required to proceed. This new subclass of SecurityException provides user-visible messaging and convenience methods for quickly rendering that messaging as a notification or dialog. Test: builds, boots, throws, shows as notification and dialog Bug: 33749182 Change-Id: Iba66c7466b8fabca9e3f83c60db5a4ab849a256f
/frameworks/base/core/java/android/app/RecoverableSecurityException.java
|