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

Commit 54c6667b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "getConnectionInfo should take calling package name as argument" into oc-mr1-dev

parents 7b16a3c6 c55e27a5
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();
        }