| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
package android.app; |
| 17 |
|
| 18 |
import android.annotation.NonNull; |
| 19 |
import android.os.Parcel; |
| 20 |
import android.os.Parcelable; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
public final class BackgroundServiceStartNotAllowedException |
| 27 |
extends ServiceStartNotAllowedException implements Parcelable { |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
public BackgroundServiceStartNotAllowedException(@NonNull String message) { |
| 32 |
super(message); |
| 33 |
} |
| 34 |
|
| 35 |
BackgroundServiceStartNotAllowedException(@NonNull Parcel source) { |
| 36 |
super(source.readString()); |
| 37 |
} |
| 38 |
|
| 39 |
@Override |
| 40 |
public int describeContents() { |
| 41 |
return 0; |
| 42 |
} |
| 43 |
|
| 44 |
@Override |
| 45 |
public void writeToParcel(@NonNull Parcel dest, int flags) { |
| 46 |
dest.writeString(getMessage()); |
| 47 |
} |
| 48 |
|
| 49 |
public static final @NonNull Creator<android.app.BackgroundServiceStartNotAllowedException> |
| 50 |
CREATOR = new Creator<android.app.BackgroundServiceStartNotAllowedException>() { |
| 51 |
@NonNull |
| 52 |
public android.app.BackgroundServiceStartNotAllowedException createFromParcel( |
| 53 |
Parcel source) { |
| 54 |
return new android.app.BackgroundServiceStartNotAllowedException(source); |
| 55 |
} |
| 56 |
|
| 57 |
@NonNull |
| 58 |
public android.app.BackgroundServiceStartNotAllowedException[] newArray(int size) { |
| 59 |
return new android.app.BackgroundServiceStartNotAllowedException[size]; |
| 60 |
} |
| 61 |
}; |
| 62 |
} |