Skip to content

Reuse common AssetExtract.java#2182

Merged
AndreMiras merged 1 commit intokivy:developfrom
AndreMiras:feature/share_asset_extract
May 9, 2020
Merged

Reuse common AssetExtract.java#2182
AndreMiras merged 1 commit intokivy:developfrom
AndreMiras:feature/share_asset_extract

Conversation

@AndreMiras
Copy link
Member

Also removes unused mActivity member.
Note we changed the constructor input parameter to accept a Context
object which is a parent class of the previous Activity one.
Changes were tested on both kivy and service_only bootstraps.

def get_dist_dir(self, name):
return join(self.ctx.dist_dir, name)

def get_common_dir(self):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer needed since #2092

Also removes unused `mActivity` member.
Note we changed the constructor input parameter to accept a `Context`
object which is a parent class of the previous `Activity` one.
Changes were tested on both kivy and service_only bootstraps.
Also removes the `get_common_dir()` as it's no longer used since kivy#2092
@AndreMiras AndreMiras force-pushed the feature/share_asset_extract branch from ec07a4e to 4fbcefd Compare May 9, 2020 14:17
@AndreMiras AndreMiras merged commit 9f9a42f into kivy:develop May 9, 2020
@AndreMiras AndreMiras deleted the feature/share_asset_extract branch May 9, 2020 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants