Remove getUserId mock method from Mock Context.
getUserId is a widely used context method and mocking it with an exception can cause many failures if not overridden with a valid value. Removed the getUserId() method from mock context to use actual invocation, Text classes can still override the method in the Test class implementation if it's needed for any specific case. Test: atest EabControllerTest -c Test: atest TelephonyProviderTest -c Bug: 319931444 Bug: 319437162 Bug: 320426061 Change-Id: Ibf9a2efc22a3bdbc8403dfbc25be07485f4336b4
Please register or sign in to comment