i am trying trying to change the background color to red after 1 min of timer and also i want to change background color to yellow after 1min 30 secs of timer in android. This is the code i am trying with, but its not working.

```
public void run() {
                timeInMilliseconds = SystemClock.uptimeMillis() - startTime;
                updatedTime = timeSwapBuff + timeInMilliseconds;
                int secs = (int) (updatedTime / 1000);
                int mins = secs / 60;
                secs = secs % 60;
                int milliseconds = (int) (updatedTime % 1000);
                timerValue.setText("" + mins + ":"

                        + String.format("%02d", secs) + ":"

                        + String.format("%03d", milliseconds));
                 if(mins==1)
                {
                    View someView = findViewById(R.id.screen);
                    //View root = someView.getRootView();
                    someView.setBackgroundColor(Color.RED);
                }
                customHandler.postDelayed(this, 0);

            }

        };

```