Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9a5db7d authored by Sarah Chin's avatar Sarah Chin Committed by Gerrit Code Review
Browse files

Merge "Add support to pass password in Call barring"

parents 76e3fd40 ce77f88b
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -360,10 +360,20 @@ public class ImsUt implements ImsUtInterface {

    /**
     * Modifies the configuration of the call barring for specified service class.
     * @deprecated Use {@link #updateCallBarring(int, int, Message, String[], int, String)} instead.
     */
    @Override
    public void updateCallBarring(int cbType, int action, Message result, String[] barrList,
            int serviceClass) {
        updateCallBarring(cbType, action, result, barrList, serviceClass, "");
    }

    /**
     * Modifies the configuration of the call barring for specified service class with password.
     */
    @Override
    public void updateCallBarring(int cbType, int action, Message result,
            String[] barrList, int serviceClass) {
            String[] barrList, int serviceClass, String password) {
        if (DBG) {
            if (barrList != null) {
                String bList = new String();
@@ -382,8 +392,8 @@ public class ImsUt implements ImsUtInterface {

        synchronized(mLockObj) {
            try {
                int id = miUt.updateCallBarringForServiceClass(cbType, action,
                        barrList, serviceClass);
                int id = miUt.updateCallBarringWithPassword(cbType, action,
                        barrList, serviceClass, password);

                if (id < 0) {
                    sendFailureReport(result,