Why does my phone camera automatically switch to macro mode when I try to take photos through glass?

Applicable products: HUAWEI Mate 20 X(dual sim card 6gb+128gb),PORSCHE DESIGN HUAWEI Mate 20 RS(dual sim card 8gb +512gb、dual sim card 8gb +256gb),HUAWEI Mate Xs,HUAWEI Mate 20 Pro(single sim card 6gb+128gb、dual sim card 6gb+128gb),HUAWEI Mate 20(dual sim card 6gb+128gb)
Applicable products:
zoom in pic
Why does my phone camera automatically switch to macro mode when I try to take photos through glass?

Problem:

When taking photos through glass, the phone camera automatically switches to macro mode.

Answer:

If your phone is close to the glass, your phone camera will focus on the glass, and automatically switch to macro mode.

You can disable macro mode from the viewfinder screen.

Helpful or not?
Thanks for your feedback.