cc/cc.go: Harden GetSnapshot() against nil pointer panic
* Retrieve SnapshotInfo only if the calling module is device-variant. * Test for nil-ness before calling ctx.OtherModuleProvider(). Bug: 192647618 Test: Presubmit Change-Id: Ida8582f756e1b15f8c14c816ed6e736b47995877
Loading
Please register or sign in to comment