Removed two unnecessary methods from OfflineMode (#14140)

Change-Id: I2349cc184838eef97e676076e454d3b8ea44b76a