From 425b0eacaaa7f37acd8c99195d53a3299de97df6 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 6 May 2020 12:41:39 +0100 Subject: [PATCH] Remove reference to obsolete BuildSnapshot() Bug: 155628860 Test: m nothing Change-Id: If673d482e8318b5fbb86780236123b0bd59eb5d3 --- android/sdk.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/android/sdk.go b/android/sdk.go index 6f62f552c..873e08942 100644 --- a/android/sdk.go +++ b/android/sdk.go @@ -331,13 +331,7 @@ type SdkMemberType interface { // Add a prebuilt module that the sdk will populate. // - // Returning nil from this will cause the sdk module type to use the deprecated BuildSnapshot - // method to build the snapshot. That method is deprecated because it requires the SdkMemberType - // implementation to do all the word. - // - // Otherwise, returning a non-nil value from this will cause the sdk module type to do the - // majority of the work to generate the snapshot. The sdk module code generates the snapshot - // as follows: + // The sdk module code generates the snapshot as follows: // // * A properties struct of type SdkMemberProperties is created for each variant and // populated with information from the variant by calling PopulateFromVariant(SdkAware)