diff options
Diffstat (limited to 'src/com/android/onboarding/versions/annotations/ChangeRadius.kt')
-rw-r--r-- | src/com/android/onboarding/versions/annotations/ChangeRadius.kt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/com/android/onboarding/versions/annotations/ChangeRadius.kt b/src/com/android/onboarding/versions/annotations/ChangeRadius.kt new file mode 100644 index 0000000..19ffe79 --- /dev/null +++ b/src/com/android/onboarding/versions/annotations/ChangeRadius.kt @@ -0,0 +1,21 @@ +package com.android.onboarding.versions.annotations + +/** The radius of effect of a given change. */ +enum class ChangeRadius { + /** + * The change only applies to a single component at a time. + * + * For example, a change to functionality which shows a loading screen in the current process + * might be SINGLE_COMPONENT - as long as it doesn't make calls to other components. + */ + SINGLE_COMPONENT, + + /** + * The change involves multiple components. + * + * For example, any change to an API which one component exposes to another (via activity starts, + * broadcasts, services, etc.) is intrinsically MULTI_COMPONENT. + */ + // Multi-component changes are not currently supported + // MULTI_COMPONENT +} |