OSDN Git Service

Document which sys services can be accessed by instant apps
authorSvet Ganov <svetoslavganov@google.com>
Sat, 23 Dec 2017 07:29:24 +0000 (23:29 -0800)
committerSvetoslav Ganov <svetoslavganov@google.com>
Sat, 23 Dec 2017 20:47:12 +0000 (20:47 +0000)
commit8f90bcc50ae6413c587a3086faf56ac87b0d6dcf
treede5c0ea493173661e2c89cbce17c3edca6bb363c
parent584b923fb7d92a735209ec30b2c5e7d4b8e673eb
Document which sys services can be accessed by instant apps

This change documents that some system services are not available
to instant apps due to the restricted security sandbox they run in.
Also ensure that if target SDK is P WallpaperManager is null if the
backing system service cannot be looked up to be consistent with
the way other system services behave.

Test: Manual

Fixes: 70984822
Fixes: 69848394

Change-Id: I9aae884d5840c92136c7d713fac87e7732dc2642
core/java/android/app/SystemServiceRegistry.java
core/java/android/app/WallpaperManager.java
core/java/android/content/Context.java
core/java/android/provider/Settings.java