237402 Commits

Author SHA1 Message Date
Carlos Valdivia
51b651aea1 introduce GET_PASSWORD_PRIVILEDGED permission.
That will be used to filter in passwords for Session based
AccountManager flows.

Bug: 27590532
Change-Id: I4a6d0540bcff186e416351a6f719600ce35d86a0
2016-04-01 10:55:34 -07:00
Alan Viverette
bd53c98985 Fix default gravity value for FrameLayout.LayoutParams
Sets default gravity value to the aptly-named DEFAULT_CHILD_GRAVITY.

Also cleans up FrameLayout lint warnings, annotations, and whitespace.

Bug: 27576632
Change-Id: I457b13791ff85f2228e61e85e44a502a28439e01
2016-04-01 13:50:28 -04:00
Muyuan Li
29cbe66c7d sysui: refactored for extensibility.
refactored button inflate code and add a logic to handle selected style update.

Change-Id: I61f9c77396bea63a24fc78bf02ebad54a426a3ed
(cherry picked from commit b865ae2a4c892e2ffd83947e40ebd27d35b18fa6)
2016-04-01 17:35:12 +00:00
Alan Viverette
a1009c28cc Merge "Clean up ArrayAdapter lint warnings and annotations" into nyc-dev 2016-04-01 17:24:17 +00:00
Gopinath
5aa567a869 Increase post launch idle timeout to 60 secs
Bug 27944664

Change-Id: Ibc57923f1b49414b27b0738e005c278749c3f17a
2016-04-01 10:24:10 -07:00
Alan Viverette
a9a75f506e Refactor DatePickerDialog constructors to avoid early callback
Bug: 27475444
Change-Id: I2536f969ca734f3977163305c1d33ee0e2e222fc
2016-04-01 13:22:10 -04:00
Aga Wronska
cf966ae5b5 Add metrics for menu actions
Change-Id: Ic20802730e6068cfe49c277c3378c15ee0ba09fe
Fixed: 27921699
2016-04-01 09:59:48 -07:00
Jean-Michel Trivi
e6a505b775 Audio recording activity notification: change callback name
Rename AudioRecordingCallback.onRecordConfigChanged() to
  onRecordingConfigChanged() after API council review

Bug 27952000

Change-Id: I362a973781e029bca921181934599dcf60e13136
2016-04-01 09:56:28 -07:00
Aga Wronska
9d5aadd5f2 Merge "Add metrics for drag and drop. Add metrics for search." into nyc-dev 2016-04-01 16:51:51 +00:00
Dongwon Kang
d09372ad86 TIF: Add setLabel(CharSequence) in TvInputInfo.Builder
Bug: 25726241
Change-Id: I8b7cf157dffd0df2b04af0386e448b23409be1e5
2016-04-01 09:51:27 -07:00
Philip P. Moltmann
a0d2a83cf6 Merge "Make sure PrinterCapabilitiesInfo always have sane values." into nyc-dev 2016-04-01 16:49:42 +00:00
Philip P. Moltmann
4f05eb194c Merge "Make sure PrintDocumentInfo is always sane." into nyc-dev 2016-04-01 16:49:31 +00:00
Philip P. Moltmann
c0e237f63d Merge "Make sure PrintAttributes have sane values." into nyc-dev 2016-04-01 16:48:57 +00:00
Philip P. Moltmann
a97415b0b7 Merge "Make sure to update the selected pages when needed in the right order." into nyc-dev 2016-04-01 16:46:20 +00:00
Philip P. Moltmann
c84bbd576f Merge "Do not rely on documentInfo.pageCount when selecting which pages to scrap" into nyc-dev 2016-04-01 16:46:07 +00:00
Philip P. Moltmann
f6d74737de Merge "When we update slow we override the current state. Make sure to reset the state the operation finishes." into nyc-dev 2016-04-01 16:45:52 +00:00
Russell Brenner
f8c07d68c1 Merge "Add new permission for am.updateLockTaskPackages()" into nyc-dev 2016-04-01 16:23:25 +00:00
Russell Brenner
3ccb35421d Merge "Add new protection level for setup wizard" into nyc-dev 2016-04-01 16:22:49 +00:00
Clara Bayarri
032a76f94b Merge "Remove unused import for KeyboardShortcutGroup" into nyc-dev 2016-04-01 16:18:28 +00:00
John Reck
2aaf681dc0 Merge "Remove warning" into nyc-dev 2016-04-01 16:09:22 +00:00
Tyler Gunn
6c4af8c915 Merge "Add carrier config option to determine if "wifi-only" is supported." into nyc-dev 2016-04-01 15:43:09 +00:00
Adam Powell
991989f318 Merge "Revert "Only call Drawable.setVisible(false) for visible outgoing drawables"" into nyc-dev 2016-04-01 15:41:04 +00:00
Tyler Gunn
53c76457e4 Merge "Add hidden capability to indicate account supports emergency video calls." into nyc-dev 2016-04-01 15:36:08 +00:00
Kenny Guy
fa7b6723e6 Merge "Allow PO to check if it is in a managed profile." into nyc-dev 2016-04-01 14:23:51 +00:00
Todd Kennedy
02424676c6 Merge "Allow retrieving info /system components" into nyc-dev 2016-04-01 14:21:21 +00:00
Alan Viverette
9e623b64b9 Clean up ArrayAdapter lint warnings and annotations
Refactoring only, no code changes.

Change-Id: Ia384a6597c9af84d23aed481f84d67ae817b4ac7
2016-04-01 10:11:25 -04:00
Clara Bayarri
89203de878 Remove unused import for KeyboardShortcutGroup
Left it in accidentally when removing default method.

Change-Id: I6af0712624ffaefff4cb4ad2a9e5a86d7104d2e7
2016-04-01 14:40:34 +01:00
Gustav Sennton
1c177d8dae Add system api to reach WebViewUpdateService Binder interface.
Instead of using reflection in XTS tests we add some system-apis to
enable fetching information about webview packages.

Bug: 26381867
Change-Id: If983a01b6855e4a4c08ef0b5873304918d499b76
2016-04-01 12:39:54 +01:00
Richard Coles
76e287b423 Merge "Update system API to match current code." into nyc-dev 2016-04-01 11:31:12 +00:00
Torne (Richard Coles)
5d3f3bb90d Update system API to match current code.
Somehow a change got submitted which added a system API that doesn't
match system-current.txt - regenerate it to match the current code.

Bug: 27957736
Change-Id: I37e1fffbdb060de3e6a399ee75872468d6d25465
2016-04-01 12:24:36 +01:00
Clara Bayarri
3916bb045c Merge "Keyboard Shortcuts Helper: Include all System shortcuts" into nyc-dev 2016-04-01 11:17:26 +00:00
Keisuke Kuroyanagi
5f318b6285 Make TextViewActivityTest stable by sleeping between clicks.
Bug: 27893257
Change-Id: I2eaaa38b4af9333a46a8702098b4ec0806def538
2016-04-01 19:16:31 +09:00
Andrei Stingaceanu
002f7121b7 Keyboard shortcuts: disable toggling from lockscreen
Do not allow toggling the keyboard shortcuts dialog
if the keyguard is locked.

Bug: 27717058
Change-Id: I4a16a863ed1a4d3cefa7ca41c1361592ef3c5b3c
2016-04-01 10:07:29 +00:00
Insun Kang
faecc3f800 Merge "ExifInterface: Code clean up" into nyc-dev 2016-04-01 08:55:01 +00:00
Donghyun Cho
205fa2ace5 Turn on HDMI-related logs conditionally for better debugging
This change will make debug messages from HDMI logger to be shown when
developers set log.tag.HDMI system property as DEBUG or VERBOSE. It will
allow much easier debugging for HDMI issues.

Bug: 27955073
Change-Id: If9ddd1150db6c647737190bc89a5534b3a173d66
2016-04-01 15:32:14 +09:00
Jaewan Kim
2edfe0106a Merge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev 2016-04-01 06:19:53 +00:00
Jaewan Kim
a0d4d2588d PIP: Apply the animation spec for the PIP in Recents
Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942
2016-04-01 15:03:51 +09:00
Keisuke Kuroyanagi
183fd5071e Make hasTransientState be true only if user created selection is active.
Previously, hasTransientState returned true even when TextView has a
selection that hasn't been created by the user. This unnecessarily
prevents the TextView from being recycled.
This issue was introduced by Ib454b0fbbc2c2f8d198, which fixes that
setHasTransientState(true) is not always coupled with
setHasTransientState(false).

With this CL:
hasTransientState will get true when selection action mode is started.
hasTransientState will get false when selection is removed.
Note that hasTransientState intentionally continues to be true when
selection action mode is terminated with preserving selection.

Bug: 27913323
Change-Id: I960ddfd7221caeb676c23926af06a8a415dec288
2016-04-01 15:00:53 +09:00
Keisuke Kuroyanagi
aea43f8414 Merge "Fix: doRunAdvance returns wrong value when offset == count." into nyc-dev 2016-04-01 05:27:38 +00:00
Svetoslav Ganov
c1b8e88329 Merge "Sanitize app op service inputs" into nyc-dev 2016-04-01 03:05:14 +00:00
Svetoslav Ganov
f73adb6c72 Sanitize app op service inputs
bug:26587386

This reverts commit 9888e00b7a36cd03821001a58e4ff86224e3d858.

Change-Id: I37069b6eb50ee1a1b29d6f116e96ad9f226883c9
2016-03-31 20:02:06 -07:00
Insun Kang
8884af3ee9 ExifInterface: Code clean up
Replaces deprecated constants with newly added constants in the actual
implementation.

Bug: 27932489
Change-Id: Id54236a05127cd7ce3bf0668c002635fb86489a9
2016-04-01 11:53:14 +09:00
Peng Xu
3dd991d117 Merge "Fix a few known issue in sensor framework" into nyc-dev 2016-04-01 01:54:39 +00:00
Prashant Malani
10ace25816 Merge "Make display brightness ramp rate fast configurable" into nyc-dev 2016-04-01 00:59:02 +00:00
Aga Wronska
44af36f474 Merge "Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928" into nyc-dev 2016-04-01 00:58:25 +00:00
Aga Wronska
cf59d32e59 Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928
Change-Id: I8f4ad4e00c6ce46e61afc087daa890eb90ed18a1
2016-03-31 17:55:44 -07:00
Lorenzo Colitti
f5120236c4 Merge "Honour the DHCP MTU option." into nyc-dev 2016-04-01 00:55:08 +00:00
Adam Lesinski
30906ad2d6 Merge "AAPT2: Change how we generate Java classes" into nyc-dev 2016-04-01 00:44:21 +00:00
Yang Ni
0c6ed67c3a Merge "Added CloseGuard for BaseObj" into nyc-dev 2016-04-01 00:33:58 +00:00
Russell Brenner
b3ad567624 Add new permission for am.updateLockTaskPackages()
Adds android.permission.UPDATE_LOCK_TASK_PACKAGES, available only to
the system and setup wizard, providing access to
updateLockTaskPackages() without registering with the device policy
manager as a device owner.

Bug: 20016740
Change-Id: I6eceb5cece9407c84eabf3a818bb908f95989b91
2016-03-31 17:32:08 -07:00