11703 Commits

Author SHA1 Message Date
Wale Ogunwale
645e8a9ae8 Merge "Added support for resizing background color for an app window" 2015-10-16 21:14:06 +00:00
Julia Reynolds
74303cfe2b Add Notification topics.
Topics are tags that developers can add to group notifications
by theme. Users will be able to block notifications by topic.

Bug: 22451710
Change-Id: I5b4677da66b21933f479f5e56c18ca563810b43b
2015-10-16 16:38:45 -04:00
Wale Ogunwale
f3a62fbc58 Added support for resizing background color for an app window
R.styleable.Window_windowResizingBackground allows an activity to
specify the background drawable that should be used when it is being
resized in multi-window mode. If unset, the system will try to use
R.styleable.Window_windowBackground if set, then
R.styleable.Window_windowBackgroundFallback if set. Otherwise, the
system default resizing background color set by
R.integer.config_windowResizingBackgroundColorARGB.

Also, use decor title color as caption background color when resizing
instead of black.

Bug: 24534744
Change-Id: I83313865b4044b976ebc78d598e14e17e0f37212
2015-10-16 12:54:31 -07:00
Xiaohui Chen
f04f3005b0 Merge "Add UserHandle.isSystem() api" 2015-10-16 16:29:44 +00:00
Filip Gruszczynski
d2f1d94fe5 API for minimal width/height of an activity.
Bug: 21409825

Change-Id: Id6286064713672366dd4dc1f80258450a8039c36
2015-10-15 17:02:59 -07:00
Xiaohui Chen
1fa7680c9c Add UserHandle.isSystem() api
This is added in order to deprecate the isOwner() api.

Bug: 24869636
Change-Id: I80a7a5559525faf261b9d9c7a8593e6ff5db4b22
2015-10-15 12:09:32 -07:00
Mitchell Wills
88d93cd68a Remove old APIs that are no longer used/implemented
All of these APIs were hidden and are no longer used by anyone. The scan
APIs are being replaced by the new WifiScanner API

Change-Id: I36ffef137d0620263278e5ef46bbc498a39c588f
2015-10-14 10:49:48 -07:00
Doris Liu
d1bf9f0054 Merge "New public API for calculating the total duration of an animation" 2015-10-14 17:18:37 +00:00
Tyler Gunn
d426b20cd8 Add extras keys for instant lettering.
- Also fix bug where copy-builder for PA was not copying over the extras.

Bug: 22806380
Change-Id: If25a1299bdd0a48340e9d13857f982a90d728af6
2015-10-13 13:33:53 -07:00
Daichi Hirono
85f7078f8b Add constans for MTP event codes.
BUG=23368533

Change-Id: I922eb9a26812a44780ba81b8a391be45852cad08
2015-10-13 12:49:16 -07:00
Doris Liu
8b7c99cca2 New public API for calculating the total duration of an animation
Total duration is the total amount of time an animation takes from
start to finish. It include start delay (if any), child animation
sequence, accounting for repeat.

Change-Id: Id5b36a63c02e25586aefd38612aa5867492e1adb
2015-10-12 18:24:40 -07:00
Julia Reynolds
8b14288c94 Merge "Remove rename automatic zen rule." 2015-10-08 22:27:10 +00:00
Hui Shu
f119c5208f Allow WebView to startActivity and receive results
This CL makes webview override View#onActivityResult and gives webview
itnernals the access to View#startActivityForResult.

BUG: 24416313
Change-Id: Ia49db1348a1f5ee0c648a8b16551d9becc7caddd
2015-10-08 10:20:15 -07:00
Julia Reynolds
4fe98d6d4c Remove rename automatic zen rule.
Use zen rule id as key when finding matching rule to update.

Bug: 22977552
Change-Id: I7beeb5688aabe409a9a72aaa3aa27932d590c489
2015-10-07 20:10:58 -04:00
Tyler Gunn
77e7c96890 Merge "Add "Extras" to PhoneAccount." 2015-10-07 22:41:11 +00:00
Julia Reynolds
5686addb76 Merge "Add id and creation date to Zen rules." 2015-10-06 19:48:44 +00:00
Wale Ogunwale
012904e43a Merge "Added SDK version code for N." 2015-10-06 14:40:41 +00:00
Julia Reynolds
56106ff337 Add id and creation date to Zen rules.
Bug: 22977552
Change-Id: Ic79714ebbcc895e55ee87ccfc0e03b1735255ef3
2015-10-05 20:32:29 -04:00
Wale Ogunwale
79113108a8 Added SDK version code for N.
Change-Id: Id0ca002650842299f076a3f181b3455cd8a0f06b
2015-10-05 17:17:11 -07:00
Tyler Gunn
25ed2d7aec Add "Extras" to PhoneAccount.
- Add extras to PhoneAccount, and associated builder.

Bug: 22806380
Change-Id: I90f4c1a9b022eef7e6d2829d82851ac307ceafdf
2015-10-05 14:14:38 -07:00
Craig Lafayette
c3cdf1c614 Merge "Remove device initializer agent" 2015-10-05 17:52:05 +00:00
Andrew Lee
2d574a5aa8 Merge "Add BLOCKED and REJECTED call types." 2015-10-02 20:37:47 +00:00
Craig Lafayette
e7ee54ee7f Remove device initializer agent
Bug: 23216982
Change-Id: I867c0b5f4165983d1ed2623a655f6a2a5e3770bb
2015-10-02 13:11:57 -04:00
Todd Kennedy
3da3ca609e Merge "Update PackageInstaller install handing" 2015-10-01 14:15:41 +00:00
Todd Kennedy
a1d12cfdb0 Update PackageInstaller install handing
* Allow forcing permission check. We want to modify the PackageInstaller to
use the PackageInstallerSession for better security / remove deprecated APIs.
In order to do this and continue to prompt for permissions, we need to prevent
the PakcageInstaller from auto-approving the permissions.

* Add originating UID to SessionParams. This is used for package verifier
checks.

Bug: 22282121
Change-Id: I19079749d20ace66f1332f399d52cb0fb8784cd9
2015-09-30 14:11:33 -07:00
Julia Reynolds
a47a27ffd9 Third party DND provider APIs.
Bug: 22977552
Change-Id: I8c1bac317e9aa5d9565afe3f0c4e2be8fc34e6a9
2015-09-30 13:39:12 -04:00
Andrew Lee
f61b1fc66a Add BLOCKED and REJECTED call types.
REJECTED calls are those where a user takes action to decline an
incoming call. INCOMING calls may continue to describe this class of
calls as well.

BLOCKED calls are which are automatically rejected by the application
or by the framework.

Bug: 24341350
Change-Id: I62386aa30be71967b3187cfb3f8f79196e117adb
2015-09-29 17:25:34 -07:00
Pablo Ceballos
3cdc93c6b4 Add missing OpenGLES 3.1 bitfield constants.
Bug 23892570

Change-Id: I92c7bb9bafb84259bdc42927193e989a6a95d4df
2015-09-29 23:25:54 +00:00
Alan Viverette
b854d07a1a Unhide PopupWindow.getMaxAvailableHeight(View, int, boolean)
Bug: 24394572
Change-Id: If66fa0178ed0d8c8d78e286a8b928ad88d6e90fa
2015-09-28 16:12:18 -04:00
Daichi Hirono
aeaa12c34e Merge "Add readEvent method to MtpDevice." 2015-09-28 12:40:05 +00:00
Bryce Lee
5821983253 am 18b76bf6: am 861559d3: am 24e5efda: Merge "Add additional broadcast for when a phone account is unregistered." into cw-e-dev
* commit '18b76bf6755b4e3469b17f6f898a40bb1fe70a63':
  Add additional broadcast for when a phone account is unregistered.
2015-09-27 15:11:29 +00:00
Bryce Lee
861559d31f am 24e5efda: Merge "Add additional broadcast for when a phone account is unregistered." into cw-e-dev
* commit '24e5efda0509871d2a7a779739cce5264de68459':
  Add additional broadcast for when a phone account is unregistered.
2015-09-26 02:48:18 +00:00
Oren Blasberg
ed3912692f Make context menus show as popup menus.
This means that right-clicking/long pressing on a view that is registered for
context menu will show the context menu as a popup menu instead.

Bug: 20016398
Change-Id: I96fea60435fff2f981d288521f490f8ff24ada15
2015-09-25 12:01:01 -07:00
Daichi Hirono
0b494663a4 Add readEvent method to MtpDevice.
BUG=23368533

Change-Id: Ibefff559fa7dd0bee17e2812bd7cdd129108d804
2015-09-25 14:54:17 +09:00
Sean Young
d75247cf7f am da2f549f: am 2d39bfd5: Merge "Properly expose methods that override a non-hidden method in a hidden superclass in the API files." into mnc-ub-dev
* commit 'da2f549f3b77ee5f04a6f726facb1a091d796054':
  Properly expose methods that override a non-hidden method in a hidden superclass in the API files.
2015-09-24 19:10:26 +00:00
Bryce Lee
30b0aa04dc Add additional broadcast for when a phone account is unregistered.
Change-Id: Ia14a4206ea50af11c6151e11a95851e5ffa2cd99
2015-09-23 21:53:53 -07:00
Jan Nordqvist
ca30939346 Merge "Hotspot 2.0 relase 2 first cut." 2015-09-23 19:05:53 +00:00
Alan Viverette
f64b00bc1e Merge "Add attribute for specifying initial ScaleDrawable level" 2015-09-23 17:39:08 +00:00
Alan Viverette
e72a703a95 Add attribute for specifying initial ScaleDrawable level
Bug: 19182305
Change-Id: Ic1f183db6183017352babc6dc190fdb9124c285a
2015-09-23 10:20:59 -04:00
Alan Viverette
9477229fe8 Merge "Smooth progress bar animations" 2015-09-23 14:07:11 +00:00
Alan Viverette
a64ed3bf8c Smooth progress bar animations
Removes smooth progress bar hack from volume dialog.

Bug: 23566299
Change-Id: Iafa32538b4f92705c4c1ca2a02145c078add2532
2015-09-23 10:01:45 -04:00
Jan Nordqvist
52eb29f082 Hotspot 2.0 relase 2 first cut.
CP mods to take a URL as a parameter, and new ScanInfo object.

Change-Id: Idbb2d4751c575ba07a56942771e2b2955b624635
2015-09-22 17:24:22 -07:00
C. Sean Young
8de564a0f6 Properly expose methods that override a non-hidden method in a hidden superclass in the API files.
Updates the api files to reflect a doclava change.

Change-Id: I416773be3aa3a8536684549011fa63b34f0d5251
2015-09-18 10:35:42 -05:00
Vladislav Kaznacheev
03b56c228a Merge "Handle content URI permissions on drop" 2015-09-17 20:41:44 +00:00
Vladislav Kaznacheev
ede5f5480e Handle content URI permissions on drop
Change-Id: I846071f01ecd1eff8e3a54a1806e68e1a4b335d2
2015-09-16 17:35:10 -07:00
Alan Viverette
4db9d1b48b Add accessor methods for Toolbar title margins
Also adds missing attrs to public.xml so they can be documented, adds
attr refs to Toolbar class docs. Many accessor methods still missing,
but those can be added in subsequent CLs.

Bug: 23719889
Change-Id: I09eeef65141d4af77c8813e8fac5f89bead47597
2015-09-15 16:21:16 -04:00
Alan Viverette
6fe1ea778c Merge "Revert "Use floating-point value for Drawable level"" 2015-09-14 17:04:09 +00:00
Alan Viverette
0b6cfe22fd Revert "Use floating-point value for Drawable level"
This reverts commit 3da32b768899e7dabe3a16333edf5eca2b9ebe93.

Change-Id: Ie75ce0c285e0f59a7a086f64c0cfe088edb5df04
2015-09-14 16:59:49 +00:00
Nick Armstrong-Crews
3a5a8c741b Remove @hide for KEYCODE_SOFT_SLEEP.
Change-Id: I56a6da9faeafb26145e1d9ad82a16df46320c24e
2015-09-09 10:10:58 -07:00
Nick Armstrong-Crews
dc6aa5fc53 am d70377b5: am 36afc2b7: am 9b8f82a3: Merge "Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."" into cw-e-dev
* commit 'd70377b537450d03d5cdc2efb15977d48e5cfebd':
  Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."
2015-09-08 04:48:30 +00:00