Browse Source
* Map Samsung's RIL_UNSOL_SIM_SWAP_STATE_CHANGED to AOSP's RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED Change-Id: Ia8e73f4b3ab69cbac235354e75cf862db95b7fa8changes/67/226767/4
1 changed files with 26 additions and 0 deletions
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
** |
||||
** Copyright 2018, The LineageOS Project |
||||
** |
||||
** Licensed under the Apache License, Version 2.0 (the "License"); |
||||
** you may not use this file except in compliance with the License. |
||||
** You may obtain a copy of the License at |
||||
** |
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
** |
||||
** Unless required by applicable law or agreed to in writing, software |
||||
** distributed under the License is distributed on an "AS IS" BASIS, |
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
** See the License for the specific language governing permissions and |
||||
** limitations under the License. |
||||
*/ |
||||
|
||||
#define RIL_UNSOL_SIM_SWAP_STATE_CHANGED 11057 |
||||
|
||||
static inline void remapUnsol(int *unsol) { |
||||
switch(*unsol) { |
||||
case RIL_UNSOL_SIM_SWAP_STATE_CHANGED: |
||||
*unsol = RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED; |
||||
return; |
||||
} |
||||
} |
Loading…
Reference in new issue