• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2016 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.app;
18 
19 /**
20  * @hide
21  */
22 public final class ApplicationThreadConstants {
23     public static final int BACKUP_MODE_INCREMENTAL = 0;
24     public static final int BACKUP_MODE_FULL = 1;
25     public static final int BACKUP_MODE_RESTORE = 2;
26     public static final int BACKUP_MODE_RESTORE_FULL = 3;
27 
28     public static final int DEBUG_OFF = 0;
29     public static final int DEBUG_ON = 1;
30     public static final int DEBUG_WAIT = 2;
31 
32     // the package has been removed, clean up internal references
33     public static final int PACKAGE_REMOVED = 0;
34     public static final int EXTERNAL_STORAGE_UNAVAILABLE = 1;
35     // the package is being modified in-place, don't kill it and retain references to it
36     public static final int PACKAGE_REMOVED_DONT_KILL = 2;
37     // a previously removed package was replaced with a new version [eg. upgrade, split added, ...]
38     public static final int PACKAGE_REPLACED = 3;
39 }