Commit Graph

5 Commits

Author SHA1 Message Date
Anton Hansson
d137c872cd frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
2018-03-07 11:42:04 +00:00
Dan Willemsen
c355730e34 Differentiate SystemUISharedLib library vs apk
The build system doesn't particularly like a java library and an apk
with the same name, so rename the apk that doesn't seem to be used.

Test: m SysUISharedLib
Test: m SystemUISharedLib
Change-Id: Ib3fc80e420285f667209f729906802e5217cdf25
2018-01-26 17:43:38 -08:00
Winson Chung
11f53e9683 Minor optimizations to task loading/screenshot
- Pass graphic buffer instead of bitmap for current screenshot
- Add option to skip preloading titles
- Adding some more compat classes

Bug: 67510855
Test: Build quickstep

Change-Id: Idf4642683d3121e69f0854ac909a8c22c7238b9a
2017-11-16 09:41:46 -08:00
Matthew Ng
13dbf878bd Started code to pipe overview events and info to launcher
The first event will have navigationbar send its x and y touch events
with no delay (upon vsync) to launcher so that launcher can detect and
animate a drag gesture.

If the user has provisioned setup, the connection between overview to
launcher service will be establish to send any information as a proxy
through binder calls. Connection will be reattached if device switches
between users. Each failure to connect to launcher service will have an
exponential backoff timeout to reconnect.

To implement call Dependency.get(OverviewProxyService.class) and then
getProxy() to get the proxy to pipe events or other information across
to launcher.

Test: manual
Bug: 67957962
Change-Id: I3828474147c37b2c514a682f9124e29a5e142736
2017-11-02 15:45:45 -07:00
Winson Chung
6519c1b0fe Moving some recents logic into the shared lib.
- Creating com.android.system.shared library with recents model code and
  corresponding recents tests
- Removing notion of blacklisted apps since that is now obsolete.

Bug: 67510855
Test: It builds, Recents runs

Change-Id: Ib1f5eefa6e4d4964366061246002509e2e15b19e
2017-10-17 12:24:41 -07:00