Skip to content

Commit

Permalink
Remove sl4a related code.
Browse files Browse the repository at this point in the history
SL4A in Mobly has been deprecated for many years. Now it's time to
finally remove them for good.
  • Loading branch information
xpconanfan committed Aug 22, 2024
1 parent 3fda40a commit 75f069e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 929 deletions.
22 changes: 0 additions & 22 deletions mobly/controllers/android_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,28 +587,6 @@ def add_device_info(self, name, info):
"""
self._user_added_device_info.update({name: info})

@property
def sl4a(self):
"""Attribute for direct access of sl4a client.
Not recommended. This is here for backward compatibility reasons.
Preferred: directly access `ad.services.sl4a`.
"""
if self.services.has_service_by_name('sl4a'):
return self.services.sl4a

@property
def ed(self):
"""Attribute for direct access of sl4a's event dispatcher.
Not recommended. This is here for backward compatibility reasons.
Preferred: directly access `ad.services.sl4a.ed`.
"""
if self.services.has_service_by_name('sl4a'):
return self.services.sl4a.ed

@property
def debug_tag(self):
"""A string that represents a device object in debug info. Default value
Expand Down
Loading

0 comments on commit 75f069e

Please sign in to comment.