Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3fcb44a authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by Dave Bort
Browse files

Manual cherry-pick of 821427ea into master

* changes:
  Merge change 847 into donut
parent 0477090c
Loading
Loading
Loading
Loading

api/4.xml

0 → 100644
+335194 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −6
Original line number Diff line number Diff line
@@ -127896,7 +127896,6 @@
 type="boolean"
 transient="false"
 volatile="false"
 value="false"
 static="true"
 final="true"
 deprecated="not deprecated"
@@ -127910,7 +127909,7 @@
 value="true"
 static="true"
 final="true"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</field>
@@ -127921,7 +127920,7 @@
 value="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</field>
@@ -127932,7 +127931,7 @@
 value="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</field>
@@ -127940,10 +127939,9 @@
 type="boolean"
 transient="false"
 volatile="false"
 value="true"
 static="true"
 final="true"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</field>
+33 −25
Original line number Diff line number Diff line
/* device/vmlibs-config/release/android/util/Config.java
**
** Copyright 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.
/*
 * 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;

/**
 * Build configuration.  The constants in this class vary depending
 * on release vs. debug build.  This is the configuration for release builds.
 * on release vs. debug build.
 * {@more}
 */
public final class Config
{
    /**
     * Is this a release build?
     * If this is a debug build, this field will be true.
     */
    public static final boolean DEBUG = ConfigBuildFlags.DEBUG;

    /*
     * Deprecated fields
     * TODO: Remove platform references to these and @hide them.
     */
    public static final boolean RELEASE = true;

    /**
     * Is this a debug build?
     * Always the inverse of DEBUG.
     */
    public static final boolean DEBUG = false;
    @Deprecated
    public static final boolean RELEASE = !DEBUG;

    /**
     * Is profiling enabled?
     * Always false.
     */
    @Deprecated
    public static final boolean PROFILE = false;

    /**
     * Are VERBOSE log messages enabled?
     * Always false.
     */
    @Deprecated
    public static final boolean LOGV = false;

    /**
     * Are DEBUG log messages enabled?
     * Always true.
     */
    @Deprecated
    public static final boolean LOGD = true;
}