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

Commit 8c22fc34 authored by Tony Mak's avatar Tony Mak Committed by android-build-merger
Browse files

Merge "getConnectionInfo should take calling package name as argument" into...

Merge "getConnectionInfo should take calling package name as argument" into oc-mr1-dev am: 54c6667b
am: 5cadf4f3

Change-Id: Idddb212de872da7a857de1a5a4392cd48b7df14d
parents 680a74c0 5cadf4f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ interface IWifiManager

    void reassociate();

    WifiInfo getConnectionInfo();
    WifiInfo getConnectionInfo(String callingPackage);

    boolean setWifiEnabled(String packageName, boolean enable);

+1 −1
Original line number Diff line number Diff line
@@ -1643,7 +1643,7 @@ public class WifiManager {
     */
    public WifiInfo getConnectionInfo() {
        try {
            return mService.getConnectionInfo();
            return mService.getConnectionInfo(mContext.getOpPackageName());
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }