FPII-2172: Don't trust callers to supply app info to bindBackupAgent()

Don't trust callers to supply app info to bindBackupAgent()

Get the canonical identity and metadata about the package from the
Package Manager at time of usage rather than rely on the caller to
have gotten things right, even when the caller has the system uid.

Bug 28795098

Change-Id: I215786bc894dedf7ca28e9c80cefabd0e40ca877
(cherry picked from commit c58054f25fb8ad624a749ed48e3f5775de4bec14)
4 files changed