Binding on-demand #8: Miscellaneous usages
Migrate usages of the transport binder to binding on-demand: * getDestinationString() * isAppEligibleForBackup() * dump() For getDestinationString() we'll be introducing an invisible bug for people that haven't updated GMSCore to include the usage of updateTransportAttributes() API introduced in earlier CL. The bug is that that text won't change, it'll remain constant. It's invisible because currently only place that uses that method is Settings in some circumstances that depend on the transport, and those circunstances don't happen with our transports. Check http://ag/1831025. For isAppEligibleForBackup(), a new filterAppsEligibleForBackup() is created and there we bind on-demand. Change-Id: Idc9e31f0e8eda8531e204c05a84fafdaf0247d08 Ref: http://go/br-binding-on-demand Bug: 17140907 Test: adb shell dumpsys backup, observe destination of transports Test: adb shell bmgr backupnow --all, observe only eligible apps got backed-up Test: Force-loaded settings screen and observed destination string Test: m -j RunFrameworksServicesRoboTests
Loading
Please register or sign in to comment