diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-07-18 13:20:04 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-07-18 13:20:04 -0700 |
commit | 78f80b4e712519e2f918a096e574586d86fd689d (patch) | |
tree | 05ae5c562942d412083ee6f0c64838f125afda02 /core/java/android | |
parent | b5d4f97126d1b64630af659f90d40f6516a494f6 (diff) | |
download | frameworks_base-78f80b4e712519e2f918a096e574586d86fd689d.zip frameworks_base-78f80b4e712519e2f918a096e574586d86fd689d.tar.gz frameworks_base-78f80b4e712519e2f918a096e574586d86fd689d.tar.bz2 |
Fix issue # 5017868: Twitter crashes on start:
unable to resolve static field 106 (DEBUG) in Landroid/util/Config
Config was removed, but apparently some apps are actually using it.
Put it back.
Change-Id: Iebcb94b1158abc5e8c3dd9855068d2e9223d8999
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/util/Config.java | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/core/java/android/util/Config.java b/core/java/android/util/Config.java new file mode 100644 index 0000000..70dc9aa --- /dev/null +++ b/core/java/android/util/Config.java @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2006 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.util; + +/** + * @deprecated This class is not useful, it just returns the same value for + * all constants, and has always done this. Do not use it. + */ +@Deprecated +public final class Config { + /** @hide */ public Config() {} + + /** + * @deprecated Always false. + */ + @Deprecated + public static final boolean DEBUG = false; + + /** + * @deprecated Always true. + */ + @Deprecated + public static final boolean RELEASE = true; + + /** + * @deprecated Always false. + */ + @Deprecated + public static final boolean PROFILE = false; + + /** + * @deprecated Always false. + */ + @Deprecated + public static final boolean LOGV = false; + + /** + * @deprecated Always true. + */ + @Deprecated + public static final boolean LOGD = true; +} |