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

Commit 89b19695 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Put in real "code" (aka marketing) name." into lmp-dev

parents 908a4f9a 955d8d69
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -21400,6 +21400,7 @@ package android.os {
    field public static final int KITKAT = 19; // 0x13
    field public static final int KITKAT = 19; // 0x13
    field public static final int KITKAT_WATCH = 20; // 0x14
    field public static final int KITKAT_WATCH = 20; // 0x14
    field public static final int L = 21; // 0x15
    field public static final int L = 21; // 0x15
    field public static final int LOLLIPOP = 21; // 0x15
  }
  }
  public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable {
  public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable {
+2 −2
Original line number Original line Diff line number Diff line
@@ -930,7 +930,7 @@ public class ActivityManager {
     * same time, assumptions made about the meaning of the data here for
     * same time, assumptions made about the meaning of the data here for
     * purposes of control flow will be incorrect.</p>
     * purposes of control flow will be incorrect.</p>
     *
     *
     * @deprecated As of {@link android.os.Build.VERSION_CODES#L}, this method is
     * @deprecated As of {@link android.os.Build.VERSION_CODES#LOLLIPOP}, this method is
     * no longer available to third party applications: the introduction of
     * no longer available to third party applications: the introduction of
     * document-centric recents means
     * document-centric recents means
     * it can leak personal information to the caller.  For backwards compatibility,
     * it can leak personal information to the caller.  For backwards compatibility,
@@ -1216,7 +1216,7 @@ public class ActivityManager {
     * same time, assumptions made about the meaning of the data here for
     * same time, assumptions made about the meaning of the data here for
     * purposes of control flow will be incorrect.</p>
     * purposes of control flow will be incorrect.</p>
     *
     *
     * @deprecated As of {@link android.os.Build.VERSION_CODES#L}, this method
     * @deprecated As of {@link android.os.Build.VERSION_CODES#LOLLIPOP}, this method
     * is no longer available to third party
     * is no longer available to third party
     * applications: the introduction of document-centric recents means
     * applications: the introduction of document-centric recents means
     * it can leak person information to the caller.  For backwards compatibility,
     * it can leak person information to the caller.  For backwards compatibility,
+1 −2
Original line number Original line Diff line number Diff line
@@ -148,7 +148,6 @@ import android.app.trust.TrustManager;
import com.android.internal.annotations.GuardedBy;
import com.android.internal.annotations.GuardedBy;
import com.android.internal.app.IAppOpsService;
import com.android.internal.app.IAppOpsService;
import com.android.internal.os.IDropBoxManagerService;
import com.android.internal.os.IDropBoxManagerService;
import com.android.internal.telecom.ITelecomService;


import java.io.File;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileInputStream;
@@ -1671,7 +1670,7 @@ class ContextImpl extends Context {


    private void validateServiceIntent(Intent service) {
    private void validateServiceIntent(Intent service) {
        if (service.getComponent() == null && service.getPackage() == null) {
        if (service.getComponent() == null && service.getPackage() == null) {
            if (getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.L) {
            if (getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) {
                IllegalArgumentException ex = new IllegalArgumentException(
                IllegalArgumentException ex = new IllegalArgumentException(
                        "Service Intent must be explicit: " + service);
                        "Service Intent must be explicit: " + service);
                throw ex;
                throw ex;
+1 −1
Original line number Original line Diff line number Diff line
@@ -1125,7 +1125,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
     */
     */
    public LayoutInflater getLayoutInflater(Bundle savedInstanceState) {
    public LayoutInflater getLayoutInflater(Bundle savedInstanceState) {
        // Newer platform versions use the child fragment manager's LayoutInflaterFactory.
        // Newer platform versions use the child fragment manager's LayoutInflaterFactory.
        if (mActivity.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.L) {
        if (mActivity.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) {
            LayoutInflater result = mActivity.getLayoutInflater().cloneInContext(mActivity);
            LayoutInflater result = mActivity.getLayoutInflater().cloneInContext(mActivity);
            getChildFragmentManager(); // Init if needed; use raw implementation below.
            getChildFragmentManager(); // Init if needed; use raw implementation below.
            result.setPrivateFactory(mChildFragmentManager.getLayoutInflaterFactory());
            result.setPrivateFactory(mChildFragmentManager.getLayoutInflaterFactory());
+1 −1
Original line number Original line Diff line number Diff line
@@ -1948,7 +1948,7 @@ public class Notification implements Parcelable
            mPriority = PRIORITY_DEFAULT;
            mPriority = PRIORITY_DEFAULT;
            mPeople = new ArrayList<String>();
            mPeople = new ArrayList<String>();


            mColorUtil = context.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.L ?
            mColorUtil = context.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.LOLLIPOP ?
                    NotificationColorUtil.getInstance(mContext) : null;
                    NotificationColorUtil.getInstance(mContext) : null;
        }
        }


Loading