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

Commit 53bccb7d authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Show current build number in the new bugreport tile."

parents dce9443f 9ba2ffd8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -561,4 +561,6 @@

    <!-- Shows when people have pressed the unlock icon to explain how to unlock. [CHAR LIMIT=60] -->
    <string name="keyguard_unlock">Swipe up to unlock</string>

    <string name="bugreport_tile_extended" translatable="false">%s\n%s (%s)</string>
</resources>
+6 −1
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.os.Build;
import android.os.RemoteException;
import android.provider.Settings.Global;
import android.view.WindowManager;
@@ -70,7 +71,11 @@ public class BugreportTile extends QSTile<QSTile.State> {
    protected void handleUpdateState(State state, Object pushArg) {
        state.visible = mSetting.getValue() != 0;
        state.iconId = R.drawable.ic_qs_bugreport;
        state.label = mContext.getString(com.android.internal.R.string.bugreport_title);
        state.label = mContext.getString(
                R.string.bugreport_tile_extended,
                mContext.getString(com.android.internal.R.string.bugreport_title),
                Build.VERSION.RELEASE,
                Build.ID);
    }

    private final Runnable mShowDialog = new Runnable() {