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

Commit 903cc1b8 authored by Amit Kohli's avatar Amit Kohli Committed by Josh Guilfoyle
Browse files

Reverting back to 54b6cf (initial google contribution).

parent be6ca15a
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -16,16 +16,13 @@

package android.widget;

import com.android.internal.R;

import android.app.INotificationManager;
import android.app.ITransientNotification;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.PixelFormat;
import android.os.Handler;
import android.os.RemoteException;
import android.os.Handler;
import android.os.ServiceManager;
import android.util.Log;
import android.view.Gravity;
@@ -310,13 +307,9 @@ public class Toast {
                    | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
                    | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
            mParams.format = PixelFormat.TRANSLUCENT;
            TypedArray a = 
                context.obtainStyledAttributes(null, R.styleable.ToastStyle);
            int resId = a.getResourceId(R.styleable.ToastStyle_toastAnimation, -1);
            mParams.windowAnimations = resId;
            mParams.windowAnimations = com.android.internal.R.style.Animation_Toast;
            mParams.type = WindowManager.LayoutParams.TYPE_TOAST;
            mParams.setTitle("Toast");
            a.recycle();
        }

        /**
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:background="?android:attr/toastBackground">
    android:background="@drawable/toast_frame">

    <TextView
        android:id="@android:id/message"