summaryrefslogtreecommitdiffstats
path: root/recovery_ui/include
diff options
context:
space:
mode:
authorRam Muthiah <rammuthiah@google.com>2022-02-04 19:55:24 +0100
committerRam Muthiah <rammuthiah@google.com>2022-02-15 02:17:52 +0100
commit469fc99188aacdad26e15949b1e17d2114f50561 (patch)
treeab6c66a3053926f657773134d9e078ab864942bd /recovery_ui/include
parentMerge "minui: add hall sensor event" (diff)
downloadandroid_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.tar
android_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.tar.gz
android_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.tar.bz2
android_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.tar.lz
android_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.tar.xz
android_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.tar.zst
android_bootable_recovery-469fc99188aacdad26e15949b1e17d2114f50561.zip
Diffstat (limited to 'recovery_ui/include')
-rw-r--r--recovery_ui/include/recovery_ui/ethernet_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/recovery_ui/include/recovery_ui/ethernet_device.h b/recovery_ui/include/recovery_ui/ethernet_device.h
index ea710ab93..3aadea200 100644
--- a/recovery_ui/include/recovery_ui/ethernet_device.h
+++ b/recovery_ui/include/recovery_ui/ethernet_device.h
@@ -27,6 +27,7 @@ class EthernetRecoveryUI;
class EthernetDevice : public Device {
public:
explicit EthernetDevice(EthernetRecoveryUI* ui);
+ explicit EthernetDevice(EthernetRecoveryUI* ui, std::string interface);
void PreRecovery() override;
void PreFastboot() override;
@@ -36,7 +37,7 @@ class EthernetDevice : public Device {
void SetTitleIPv6LinkLocalAddress(const bool interface_up);
android::base::unique_fd ctl_sock_;
- static const std::string interface;
+ std::string interface_;
};
#endif // _ETHERNET_RECOVERY_DEVICE_H