Import updated Android SetupCompat Library 349536308
Copied from google3/third_party/java_src/android_libs/setupcompat
Test: mm
Included changes:
- 349536308 [BC][Stencil] Add partner resource for the item padding t...
- 349360486 [SetupDesign] issue fix and refactoring
- 349265027 Update language to comply with Android’s inclusive langua...
- 349006680 [BC][Stencil] Add partner resource for the item title tex...
- 348729496 Cloned from CL 348561620 by 'g4 patch' and removed using ...
- 348580285 [SUW][SetupDesign] Enable stencil config for auto text si...
- 348565251 Automated g4 rollback of changelist 348561620.
- 348561620 [BC][Stencil] Add partner resource for the icon margin to...
- 347789412 [BC][Stencil] Add partner resource for the layout margin ...
- 347721164 Adds partner config key for transition type
- 346894262 [BC][Stencil] Add partner resource for the description te...
- 345997245 [BC][Stencil] Add partner resource for the header text ma...
- 345388161 [BC][Stencil] Add partner resource for the header contain...
- 345182340 Create subtitle mixin for BC layout
- 345174090 [SetupDesign] Enable auto text size based on attr
PiperOrigin-RevId: 349536308
Change-Id: I107bbbdfc2f8720902a5e31eee524199afc10b5e
diff --git a/main/java/com/google/android/setupcompat/PartnerCustomizationLayout.java b/main/java/com/google/android/setupcompat/PartnerCustomizationLayout.java
index 896840c..e3f608b 100644
--- a/main/java/com/google/android/setupcompat/PartnerCustomizationLayout.java
+++ b/main/java/com/google/android/setupcompat/PartnerCustomizationLayout.java
@@ -214,7 +214,7 @@
}
}
- private static Activity lookupActivityFromContext(Context context) {
+ public static Activity lookupActivityFromContext(Context context) {
if (context instanceof Activity) {
return (Activity) context;
} else if (context instanceof ContextWrapper) {