Commit Graph

4 Commits

Author SHA1 Message Date
Simon Wingrove
a4156b6f4d Allow ActivityEmbedding in APEX modules.
Also this lib uses HTTP and doesn't declare it, so after manifest merge
the APEX module won't build.  Add the uses-library.

Bug: 253394518
Test: test builds
Change-Id: I94cb2be58d88521ed10e4fba5b5e11169bead624
2022-10-14 11:45:56 +01:00
Diego Vela
8e00e4868b Use androidx.window prebuilt.
Use androidx.window prebuilt for consistency.

Bug: 223114509
Test: manual
Change-Id: If178cd0f9202ec2d9da2fc75f2edb12c47e61dac
2022-04-14 09:56:19 +00:00
Tsung-Mao Fang
5641d01a98 Add two APIs in SettingsLibActivityEmbedding
Add two APIs

1. isActivityEmbedded() knows whether current activity is
embedded in the Settings app or not.
2. shouldHideBackButton knows whether current activity is
suggested to show back button or not.

Bug: 219000314
Test: Use the api in Settings app, and behavior is correct.
Change-Id: If1d29a8d9bdb896b179275e13de649872a5b94fe
2022-02-16 17:22:25 +08:00
Mill Chen
5f804ca298 Create an utils for embedding activity feature
This is an utility class to access relevant embedding activity feature
supported by Settings.

Bug: 201722672
Test: manual test
1) Run the apk built with this utils, and check some features work well
on large screen

Change-Id: I9f2a1fff57632ca2841b61a862f107d7df735247
2021-11-04 01:15:20 +00:00