Files
frameworks_base/core/java/android/app
Christopher Tate a7835b6b6b Add Context.getNoBackupFilesDir()
This is an app-private filesystem space exactly like the one
reported by Context.getFilesDir(), with one exception:  files
placed here are never backed up by the full-backup infrastructure.
If an app attempts to back up any of its contents via the normal
API it's immediately ignored with a logged warning.

The restriction is also enforced on the restore side, because
apps using support libraries might wind up creating full backup
archives containing no_backup subdirs on pre-L devices (via
adb backup, Helium, &c.).  We check for this before passing the
restore data to the app, and drop it if we detect the situation
so that the app never sees the bits.

Bug 16240573

Change-Id: I11216a391f1d32117ec7ce15aafc9cd93d0337de
2014-07-14 22:56:04 +00:00
..
2014-07-13 07:17:56 -07:00
2014-07-14 22:56:04 +00:00
2014-07-10 16:23:39 -07:00
2014-07-14 16:42:24 -04:00
2014-07-08 06:24:53 -07:00
2014-07-08 06:24:53 -07:00
2013-05-24 16:36:14 -07:00
2014-07-11 22:48:26 +00:00
2014-05-08 13:58:13 -07:00
2014-05-08 13:58:13 -07:00
2014-05-08 13:58:13 -07:00