Merge "Add System Back function to SystemUiProxy" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a090cfc836
@@ -87,6 +87,17 @@ public class SystemUiProxy implements ISystemUiProxy,
|
||||
setNavBarButtonAlpha(1f, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
if (mSystemUiProxy != null) {
|
||||
try {
|
||||
mSystemUiProxy.onBackPressed();
|
||||
} catch (RemoteException e) {
|
||||
Log.w(TAG, "Failed call onBackPressed", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder asBinder() {
|
||||
// Do nothing
|
||||
|
||||
Reference in New Issue
Block a user