5d8b90468dead2f59ec7007af3d67cc587ac5c1a |
|
13-Apr-2016 |
Yao Chen <yaochen@google.com> |
Some cleanup in Car Ui Apis + Remove setBackgroundResource() api in CarUiEntry The current implementation is using the wrong Context, and this API is not necessary as apps can set the background in their main layout or passing a bitmap using setBackground(). + Add proper error message for CarUiProvider signature check. + fix an error in the car-support.mk Bug: 28170802 Change-Id: Ida964b5378efaa2e4a1bd0713195fab0c8c619fd
/packages/services/Car/car-lib/src/android/car/app/menu/CarUiEntry.java
|
65de2039a94251f62d02a32e3136c0db4fc80d90 |
|
26-Feb-2016 |
Yao Chen <yaochen@google.com> |
Add abstraction and compatibility for car ui. + Add CarUiEntry abstraction and necessary classes to android.car + Add compatibility layer in android.support.car + Changed CarUiProvider package name. + remove an unused test app. ------------------------------------------------------------ + For Car OEMs, they provide CarUiProvider which implements android.car.CarUiEntry entry class. We have cts for CarUiEntry. Any CarUiProvider runs in the car needs to pass cts. + For Car app developers, they should only use android.support.car library for compatibility. The CarDrawerActivity uses an abstract CarUiController to talk to the CarUiProvider in the "car" or gearhead. CarUiController handles compatibility for different versions of CarUiProvider(CarUiEntry), and even across embedded and projected. + For Android Auto projected mode, we will use a separate projection-ui-controller-lib to glue android.support.car and gearhead. (coming in another cl). Bug: 27297716 Change-Id: Id775f4a1e529ecd9beb5f04bb9f768f93d3af331
/packages/services/Car/car-lib/src/android/car/app/menu/CarUiEntry.java
|
e54ac276796c6535558f8444d882adecd19ce2bd |
|
17-Feb-2016 |
Keun-young Park <keunyoung@google.com> |
add android.car - instead of using binder as compatibility layer, add android.car - apps using android.car should add it to LOCAL_JAVA_LIBRARIES unless doing include packages/services/Car/car-support-lib/car-support.mk - support lib renamed to android.support.car - UI stuffs only exist in android.support.car UI has dependency on androud support library and not added to android.car - permission only uses android.car namespace even for support.car - car-systemtest remains as static library. To use CarTestManager, test app should get CarTestManagerBinderWrapper then create CarTestManager. bug: 27199752 Change-Id: I3522e11e958dade404443fbe2d45f576c827fa7a
/packages/services/Car/car-lib/src/android/car/app/menu/CarUiEntry.java
|