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

Skip to content
Commit f7a3bcbe authored by yro's avatar yro
Browse files

Prevent writeDataToDisk calls when switching from guest user to primary

user

Previsouly, we were only listening to ACTION_SHUTDOWN event, which is
triggered whenever 'user' on Android is changed. This will fire an
intent to write a file to disk and it is not intended. So we add
an additional check to see if the ACTION_SHUTDOWN is on foreground as
user switch fires ACTION_SHUTDOWN is NOT on foreground.

Bug: 72461610
Bug: 72441801
Test: manual testing
Change-Id: I05ea8f1b60b6644d1e6ccf232d6dcde39538666d
parent 877553e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment