diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-12-11 02:07:38 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-12-11 02:07:38 +0000 |
commit | a84085459123344a6a4166783d388012633a76e4 (patch) | |
tree | 84f7e9ef836ca3b5f4a163d91635d293c6224f34 | |
parent | ec79c6a959d7f453d1df7d134e0576bfb9dd6a12 (diff) | |
parent | 81d00dfdb7772ef2537b350ce028ce50863853b3 (diff) | |
download | ImsServiceEntitlement-a84085459123344a6a4166783d388012633a76e4.tar.gz |
Snap for 7989966 from 81d00dfdb7772ef2537b350ce028ce50863853b3 to sc-v2-releaseandroid-vts-12.1_r9android-vts-12.1_r8android-vts-12.1_r7android-vts-12.1_r6android-vts-12.1_r5android-vts-12.1_r4android-vts-12.1_r3android-vts-12.1_r2android-vts-12.1_r10android-vts-12.1_r1android-platform-12.1.0_r9android-platform-12.1.0_r8android-platform-12.1.0_r7android-platform-12.1.0_r6android-platform-12.1.0_r5android-platform-12.1.0_r4android-platform-12.1.0_r3android-platform-12.1.0_r28android-platform-12.1.0_r27android-platform-12.1.0_r26android-platform-12.1.0_r25android-platform-12.1.0_r24android-platform-12.1.0_r23android-platform-12.1.0_r22android-platform-12.1.0_r21android-platform-12.1.0_r20android-platform-12.1.0_r2android-platform-12.1.0_r19android-platform-12.1.0_r18android-platform-12.1.0_r17android-platform-12.1.0_r16android-platform-12.1.0_r15android-platform-12.1.0_r14android-platform-12.1.0_r13android-platform-12.1.0_r12android-platform-12.1.0_r11android-platform-12.1.0_r10android-platform-12.1.0_r1android-cts-12.1_r9android-cts-12.1_r8android-cts-12.1_r7android-cts-12.1_r6android-cts-12.1_r5android-cts-12.1_r4android-cts-12.1_r3android-cts-12.1_r2android-cts-12.1_r10android-cts-12.1_r1android-12.1.0_r6android-12.1.0_r5android-12.1.0_r4android-12.1.0_r3android-12.1.0_r27android-12.1.0_r2android-12.1.0_r1android12L-tests-releaseandroid12L-s1-releaseandroid12L-releaseandroid12L-platform-release
Change-Id: Ic8e704ce10c0714b0cf7a61feab4060591652792
-rw-r--r-- | src/com/android/imsserviceentitlement/utils/ImsUtils.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/com/android/imsserviceentitlement/utils/ImsUtils.java b/src/com/android/imsserviceentitlement/utils/ImsUtils.java index 2ae94d8..d03d8f8 100644 --- a/src/com/android/imsserviceentitlement/utils/ImsUtils.java +++ b/src/com/android/imsserviceentitlement/utils/ImsUtils.java @@ -83,11 +83,9 @@ public class ImsUtils { } /** Changes persistent WFC enabled setting. */ - public void setWfcSetting(boolean enabled, boolean force) { + public void setWfcSetting(boolean enabled) { try { - if (force) { - mImsMmTelManager.setVoWiFiSettingEnabled(enabled); - } + mImsMmTelManager.setVoWiFiSettingEnabled(enabled); } catch (RuntimeException e) { // ignore this exception, possible exception should be NullPointerException or // RemoteException. @@ -214,6 +212,6 @@ public class ImsUtils { /** Disables WFC */ public void disableWfc() { - setWfcSetting(false, false); + setWfcSetting(false); } } |