Nucleo del sistema
com.android.wallpaperbackup
- Rischio
- Senza rischio
- Origine
- Android stesso
- Cos'è
- Nucleo del sistema
Cos'è
Backs up and restores wallpaper and metadata related to it.
This agent has its own package because it does full backup as opposed to SystemBackupAgent which does key/value backup.
This class stages wallpaper files for backup by copying them into its own directory because of the following reasons:
Non-system users don't have permission to read the directory that the system stores the wallpaper files in
BackupAgent enforces that backed up files must live inside the package's getFilesDir()
There are 3 files to back up:
The "wallpaper info" file which contains metadata like the crop applied to the wallpaper or the live wallpaper component name.
The "system" wallpaper file.
An optional "lock" wallpaper, which is shown on the lockscreen instead of the system wallpaper if set.
On restore, the metadata file is parsed and WallpaperManager APIs are used to set the wallpaper.
Note that if there's a live wallpaper, the live wallpaper package name will be part of the metadata file and the wallpaper will be applied when the package it's installed.
Comandi
adb shell pm uninstall --user 0 com.android.wallpaperbackup
Per tornare indietro:
adb shell cmd package install-existing com.android.wallpaperbackup
Tutte le disinstallazioni elencate qui riguardano solo l'utente corrente: l'immagine di sistema non viene toccata e il comando di ripristino rimette l'app al suo posto partendo dalla copia già presente sull'apparecchio. Non si scarica nulla.
Riferimenti
Questa non è la directory. Qui si dice cos'è un pacchetto in generale; quello che succede sul tuo televisore sta nella scheda del tuo modello, ed è quella che conta. Lo stesso pacchetto può essere zavorra su un apparecchio e reggere la schermata iniziale su un altro.