diff options
| author | Nandana Dutt <nandana@google.com> | 2019-01-28 19:51:36 -0800 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-01-28 19:51:36 -0800 |
| commit | bc960e39054b85bebb03c4a05978d95386c14a95 (patch) | |
| tree | f1fb0dee288e2f7c1a4a0b00976183865ac781ee /core/java/android | |
| parent | db28e6e8b1c191a53e16b4b90fa542256d1970e4 (diff) | |
| parent | 706b2d0e16e0601ccdcfe6b9fc7a0cd89dd8485b (diff) | |
Merge "Remove DumpstateOptions"
am: 706b2d0e16
Change-Id: I4134f2cd095e8d91a7f4444030a4c1523adb5483
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/DumpstateOptions.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/core/java/android/os/DumpstateOptions.java b/core/java/android/os/DumpstateOptions.java deleted file mode 100644 index 53037b2499cd..000000000000 --- a/core/java/android/os/DumpstateOptions.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2018 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package android.os; - -/** - * Options passed to dumpstate service. - * - * @hide - */ -public final class DumpstateOptions implements Parcelable { - // If true the caller can get callbacks with per-section - // progress details. - private final boolean mGetSectionDetails; - // Name of the caller. - private final String mName; - - public DumpstateOptions(Parcel in) { - mGetSectionDetails = in.readBoolean(); - mName = in.readString(); - } - - @Override - public int describeContents() { - return 0; - } - - @Override - public void writeToParcel(Parcel out, int flags) { - out.writeBoolean(mGetSectionDetails); - out.writeString(mName); - } - - public static final Parcelable.Creator<DumpstateOptions> CREATOR = - new Parcelable.Creator<DumpstateOptions>() { - public DumpstateOptions createFromParcel(Parcel in) { - return new DumpstateOptions(in); - } - - public DumpstateOptions[] newArray(int size) { - return new DumpstateOptions[size]; - } - }; -} |
