History log of /frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51c7c534e9fd93942aee5edce244f2e2a6e57f34 17-May-2016 Yusuf Ozuysal <yusufo@google.com> Docs/API fixes for API review

- Stopped deprecating setSecondaryToolbarColor
- Reworded getPackageName javadoc to make the use of ignroeDefault clear
- Removed trailing dots from @see in javadocs to fix docs build

BUG=196621925

Change-Id: Ib6f2504725ba189b56f6348800e45708823f5163
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
d0f2cc4ee9ac45be16119a04433d4dd3ddf9e576 29-Apr-2016 Yusuf Ozuysal <yusufo@google.com> Fix mistake in java doc

This link was referring to the wrong extra name in the javadoc

BUG=27970505

Change-Id: I63a30693e24d99edbd965d3dbbb3675f99debf78
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
f75fe23543be03eba16f915724caf3a15e036a7f 22-Apr-2016 Yusuf Ozuysal <yusufo@google.com> Add a custom tabs API to use RemoteViews in the secondary toolbar

This introduces three new extras and a single call that uses all
of them inside the Builder. The client can now add a remote view
hierarchy to be inserted into the secondary toolbar. With the
RemoteViews, the client can give a list of View IDs that will
have their onClick behavior overridden to get back the current
url of the custom tab as data.

BUG=27970505

Change-Id: Ia2d912e44f873619ce48c340699d888111d709df
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
31d3693ce923831667ce9e3c83d1bdd3f66742d8 09-Feb-2016 Yusuf Ozuysal <yusufo@google.com> Address API review comments

Renamed calls to have toolbar instead of action bar. Added more
explanation for max number of items. Fixed javadocs

BUG=26773457, 27075348

Change-Id: Ia5202fd6fe65245312f24a650573b2dbb359be1d
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
69b85e7be4a6eaa0668d9a5913c1359c2b422ac6 29-Jan-2016 Yusuf Ozuysal <yusufo@google.com> Fix build brekage due to customtabs change

Fix to broken build due to
https://googleplex-android-review.git.corp.google.com/#/c/850404/

BUG=26735693

Change-Id: Iac42db4bdf65e15d1a1c4c60e2e26a11ae0f935f
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
64694064caedb59afda4ef69b04feaee12c0a33f 22-Jan-2016 Yusuf Ozuysal <yusufo@google.com> Add a way to change the color of the bottom action bar in customtabs

Adds the extra that will declare the color and the corresponding
CustomTabsIntent.Builder method.

BUG=26735693

Change-Id: Idf5e31154573db29b5511c992b9b637757dc8189
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
179ab306d366df2ac610dd8c72bf19a5a8887970 08-Jan-2016 Yusuf Ozuysal <yusufo@google.com> Add a way to put more than one custom action button to customtabs

This adds new APIs to CustomTabsIntent/CustomTabsSession to add/update
more than one button to the UI with assigned ID. To keep backwards
compatibility with the previous APIs, the one main button is always
given a constant ID and new ones are assigned by the client. This uses
the already present updateVisuals aidl call to send the messages
to the browser side.

BUG=26470162

Change-Id: Ic6668093f494796a1e91508b0a29ef2b5760875a
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
8b26db5521378d84391e4ac4c932ca39d1ac83e1 05-Jan-2016 Yusuf Ozuysal <yusufo@google.com> Add an API for having a default share menu item inside custom tabs

Adds an extra and the corresponding API for having "Share" as one
of the default custom tab menu items.

BUG=26388015

Change-Id: I5425592328949068e0531ead8c77eb822569e093
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
1b7158bbc0d0ba4569881f547d12f52e405e125e 18-Nov-2015 Ian Lake <ilake@google.com> CustomTabs: Use ActivityCompat and ActivityOptionsCompat

Allow developers to call CustomTabsIntent.Builder.setStartAnimations
and setEndAnimations on <API 16 platform versions without crashing
by using the ActivityCompat and ActivityOptionsCompat shim classes to
stub out the functionality prior to API 16.

BUG: 25772403
Change-Id: I6bafdaf8fd8b1bf6867cdedd0eb0fa245d755a70
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
0a2d9ca046eb9f4da51929356b2018574104a5f9 25-Aug-2015 Yusuf Ozuysal <yusufo@google.com> am 8e6b300a: am c8e7be13: am c5c0045d: Reland: Add a way of generating a CustomTabsSessionToken from an intent

* commit '8e6b300ad5d86dde84ddc2dcdfedf4b1d8a21538':
Reland: Add a way of generating a CustomTabsSessionToken from an intent
c5c0045de7c8848144a570665e0d3c950816f314 20-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Reland: Add a way of generating a CustomTabsSessionToken from an intent

Currently there is no way of obtaining a session token from an
intent on the browser side. We add the session's ICustomTabsCallback
to the intent with CustomTabsIntent.Builder constructor but since
CustomTabsSessionToken don't have any public constructors and
ICustomTabsCallback is hidden we can't generate one using the IBinder
we got from the intent.

This change add a support library convenience call to do all this
behind the scenes.

Reviewed: https://googleplex-android-review.git.corp.google.com/#/c/755029/
Fixed: Javadoc link in BundleCompat.java

b/23389835

Change-Id: I63468335c6cb1389a8ecd89b151f7177aa733f08
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
9e7466f6a2897f03d4bdabba67d589bd44c6b2ee 25-Aug-2015 Yusuf Ozuysal <yusufo@google.com> am ccf4675e: am d5cb7b5a: am 914c8c87: Merge "Revert "Add a way of generating a CustomTabsSessionToken from an intent"" into mnc-dev

* commit 'ccf4675e0c12bb4765222529341ce2ab479e50ba':
Revert "Add a way of generating a CustomTabsSessionToken from an intent"
e063d4d36883c9f7ca100036b9344b665ab6fd1e 24-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Revert "Add a way of generating a CustomTabsSessionToken from an intent"

This reverts commit c502e639bdb79fa04454641310f8965d0ffe0191.

Change-Id: I89d1315200de3fa0c3d80522eda56f9db910fdf8
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
60f79822fa79b180f292e789bf0d45ada121c33e 24-Aug-2015 Yusuf Ozuysal <yusufo@google.com> am fdf87001: am b0d449b9: am 7f2ba521: Merge "Add a way of generating a CustomTabsSessionToken from an intent" into mnc-dev

* commit 'fdf8700100328aa698c90578cecea9818958dee4':
Add a way of generating a CustomTabsSessionToken from an intent
c502e639bdb79fa04454641310f8965d0ffe0191 20-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Add a way of generating a CustomTabsSessionToken from an intent

Currently there is no way of obtaining a session token from an
intent on the browser side. We add the session's ICustomTabsCallback
to the intent with CustomTabsIntent.Builder constructor but since
CustomTabsSessionToken don't have any public constructors and
ICustomTabsCallback is hidden we can't generate one using the IBinder
we got from the intent.

This change add a support library convenience call to do all this
behind the scenes.

b/23389835

Change-Id: Iff0b28c2f85d0400646517dacacfa947a6e556f7
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
9440f0b000fc2740382eb4ae5f1afec58c245c2c 19-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Updates to customtabs support library

- Add an extra to enable url bar hiding
- Add an extra to declare whether the action button should be tinted
by implementation
- Add two more callback signals for tab shown/hidden
- Declare a syncronized field final in CustomTabsService

Change-Id: If049b4601967ddef27808715cf59ea9a9a62502e
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
8a1ccd14081000d6501622de72a16da67c33030c 10-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Add accessibility extra and clarification callbacks to custom tabs.

During launch review we got feedback that the button should always
have an accessibility string. Added it to the builder as a must have
key as well. Clarified button related specs.

Also added two more callback signals to remedy cases where we get two
pageLoadStarted signals back to back due to user action or internal
failures interrrupting page load.

b/23079160

Change-Id: I7f590d1df6e3ac9757e70e2518363d038a5aaef5
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
97ee4f3f353309991efd3ceca369548b485e9a5f 31-Jul-2015 Benoit Lize <lizeb@google.com> customtabs: Add a Builder class for UI customizations.

Also add customtabs to settings.gradle.

Change-Id: I96be920e25f2439898025b695b75da2e7b133e84
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java
08889acbc842c73b64f94a761910154d9d42ee4c 18-Jun-2015 Yusuf Ozuysal <yusufo@google.com> Add /customtabs for Custom Tabs support library

This adds the extras and keys that will be used for
customizing the UI and functionality of the custom tab.
It also contains two aidls that will be used for interfacing
with the service that the custom tab provider will implement.

For chrome implementation documentation see:
https://developer.chrome.com/multidevice/android/customtabs

Change-Id: I712cd82c94ceab820737f6e38e4783fabef51791
/frameworks/support/customtabs/src/android/support/customtabs/CustomTabsIntent.java