Merge tag 'android-16.0.0_r3' into 16-dev

Android 16.0.0 Release 3 (BP3A.250905.014)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2025-11-15 18:13:46 +07:00
2757 changed files with 260629 additions and 114912 deletions
@@ -24,6 +24,7 @@ import android.app.smartspace.uitemplatedata.TapAction;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Parcelable;
import android.util.Log;
import android.view.View;
@@ -84,6 +85,10 @@ public interface BcSmartspaceDataPlugin extends Plugin {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
default SmartspaceView getLargeClockView(ViewGroup parent) {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
/**
* As the smartspace view becomes available, allow listeners to receive an event.
*/
@@ -102,6 +107,15 @@ public interface BcSmartspaceDataPlugin extends Plugin {
void onSmartspaceTargetsUpdated(List<? extends Parcelable> targets);
}
/**
* Sets {@link BcSmartspaceConfigPlugin}.
*
* TODO: b/259566300 - Remove once isViewPager2Enabled is fully rolled out
*/
default void registerConfigProvider(BcSmartspaceConfigPlugin configProvider) {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
/** View to which this plugin can be registered, in order to get updates. */
interface SmartspaceView {
void registerDataProvider(BcSmartspaceDataPlugin plugin);
@@ -123,6 +137,9 @@ public interface BcSmartspaceDataPlugin extends Plugin {
*/
void setUiSurface(String uiSurface);
/** Set background handler to make binder calls. */
void setBgHandler(Handler bgHandler);
/**
* Range [0.0 - 1.0] when transitioning from Lockscreen to/from AOD
*/
@@ -200,6 +217,13 @@ public interface BcSmartspaceDataPlugin extends Plugin {
default int getCurrentCardTopPadding() {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
/**
* Set the horizontal paddings for applicable children inside the SmartspaceView.
*/
default void setHorizontalPaddings(int horizontalPadding) {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
}
/** Interface for launching Intents, which can differ on the lockscreen */