summaryrefslogtreecommitdiff
path: root/src/com/android/onboarding/versions/annotations/ChangeRadius.kt
blob: 19ffe794eb2488cd83fed755d5d59d9b0e3685a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}