Loading packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -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> packages/SystemUI/src/com/android/systemui/qs/tiles/BugreportTile.java +6 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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() { Loading Loading
packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -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>
packages/SystemUI/src/com/android/systemui/qs/tiles/BugreportTile.java +6 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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() { Loading