Do not generate WTF for the SearchManager query
1. getSystemService() can generate WTF error, if service is not available from the device. But since search service is not available from the watch device, the query to the service should not print the WTF. 2. Still WTF was reported from the phone side too, due to the race of init order. To handle this, make PhoneWindowManager to not to call getSystemService for SearchService from init, but call in on demand. Bug: 297928943 Test: Manual test from SearchManager non-available device Change-Id: I7e3f7060f436aac28da8442773ca957c2e4cc172
Loading
Please register or sign in to comment