Browse Source

msm8976-common: Override samsung_ril.h

* Map Samsung's RIL_UNSOL_SIM_SWAP_STATE_CHANGED to
  AOSP's RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED

Change-Id: Ia8e73f4b3ab69cbac235354e75cf862db95b7fa8
changes/67/226767/4
Paul Keith 4 years ago committed by LuK1337
parent
commit
4c8de368f2
  1. 26
      include/samsung_ril.h

26
include/samsung_ril.h

@ -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…
Cancel
Save