Skip to content

Commit

Permalink
Remove all SL4A related code (#939)
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 all SL4A related code for good.
  • Loading branch information
xpconanfan authored Sep 3, 2024
1 parent 4dfbf7a commit e445764
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 930 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 e445764

Please sign in to comment.