OSDN Git Service

android-x86/frameworks-base.git
8 years agoAlways force update the transform when calling from RecentsImpl.
Winson [Fri, 1 Apr 2016 18:25:35 +0000 (11:25 -0700)]
Always force update the transform when calling from RecentsImpl.

- Workaround for crash in RecentsImpl where we could be retrieving the
  transform for a task that is not at the front of the stack (can happen
  if time changes, etc.)  However, since we only use the size for the
  transition, we can always force-update the transform.

Bug: 27849282
Change-Id: I86eee4c158748e4f13a2daeac5cf040c0874f967

8 years agoMerge "Fix default gravity value for FrameLayout.LayoutParams" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 18:26:49 +0000 (18:26 +0000)]
Merge "Fix default gravity value for FrameLayout.LayoutParams" into nyc-dev

8 years agoMerge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 18:22:19 +0000 (18:22 +0000)]
Merge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev

8 years agomedia: update dolby vision CodecProfileLevel
Ronghua Wu [Tue, 29 Mar 2016 21:37:42 +0000 (14:37 -0700)]
media: update dolby vision CodecProfileLevel

Bug: 25684127
Change-Id: I3d35e31b34cc0d23c68eded87d5e443c74833685

8 years agoMerge "Fix GATT Characteristic write type serialization" into nyc-dev
Andre Eisenbach [Fri, 1 Apr 2016 17:59:30 +0000 (17:59 +0000)]
Merge "Fix GATT Characteristic write type serialization" into nyc-dev

8 years agoFix GATT Characteristic write type serialization
Jakub Pawlowski [Fri, 1 Apr 2016 14:17:15 +0000 (07:17 -0700)]
Fix GATT Characteristic write type serialization

Default writeType for GATT characteristic was not being
serialized into Parcel. This cause errors when trying to
write into Characteristic.

Bug: 27910548
Change-Id: Ib2f88cf991123eaea244f16fa36deb0d773c5a33

8 years agoAdded handling apps query response from context hub
Ashutosh Joshi [Tue, 29 Mar 2016 16:19:56 +0000 (09:19 -0700)]
Added handling apps query response from context hub

Added handling of app query reponse from context hub.
Exposed the maximum message size to clients.

Change-Id: I8d8ecaa2e75f6ef86ee65a3a050538cbbadc32eb

8 years agoFix default gravity value for FrameLayout.LayoutParams
Alan Viverette [Thu, 31 Mar 2016 20:55:06 +0000 (16:55 -0400)]
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

8 years agosysui: refactored for extensibility.
Muyuan Li [Tue, 29 Mar 2016 23:22:05 +0000 (16:22 -0700)]
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)

8 years agoMerge "Clean up ArrayAdapter lint warnings and annotations" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 17:24:16 +0000 (17:24 +0000)]
Merge "Clean up ArrayAdapter lint warnings and annotations" into nyc-dev

8 years agoRefactor DatePickerDialog constructors to avoid early callback
Alan Viverette [Fri, 1 Apr 2016 17:22:10 +0000 (13:22 -0400)]
Refactor DatePickerDialog constructors to avoid early callback

Bug: 27475444
Change-Id: I2536f969ca734f3977163305c1d33ee0e2e222fc

8 years agoMerge "Add metrics for drag and drop. Add metrics for search." into nyc-dev
Aga Wronska [Fri, 1 Apr 2016 16:51:50 +0000 (16:51 +0000)]
Merge "Add metrics for drag and drop. Add metrics for search." into nyc-dev

8 years agoMerge "Make sure PrinterCapabilitiesInfo always have sane values." into nyc-dev
Philip P. Moltmann [Fri, 1 Apr 2016 16:49:41 +0000 (16:49 +0000)]
Merge "Make sure PrinterCapabilitiesInfo always have sane values." into nyc-dev

8 years agoMerge "Make sure PrintDocumentInfo is always sane." into nyc-dev
Philip P. Moltmann [Fri, 1 Apr 2016 16:49:29 +0000 (16:49 +0000)]
Merge "Make sure PrintDocumentInfo is always sane." into nyc-dev

8 years agoMerge "Make sure PrintAttributes have sane values." into nyc-dev
Philip P. Moltmann [Fri, 1 Apr 2016 16:48:55 +0000 (16:48 +0000)]
Merge "Make sure PrintAttributes have sane values." into nyc-dev

8 years agoMerge "Make sure to update the selected pages when needed in the right order." into...
Philip P. Moltmann [Fri, 1 Apr 2016 16:46:19 +0000 (16:46 +0000)]
Merge "Make sure to update the selected pages when needed in the right order." into nyc-dev

8 years agoMerge "Do not rely on documentInfo.pageCount when selecting which pages to scrap...
Philip P. Moltmann [Fri, 1 Apr 2016 16:46:05 +0000 (16:46 +0000)]
Merge "Do not rely on documentInfo.pageCount when selecting which pages to scrap" into nyc-dev

8 years agoMerge "When we update slow we override the current state. Make sure to reset the...
Philip P. Moltmann [Fri, 1 Apr 2016 16:45:50 +0000 (16:45 +0000)]
Merge "When we update slow we override the current state. Make sure to reset the state the operation finishes." into nyc-dev

8 years agoMerge "Add new permission for am.updateLockTaskPackages()" into nyc-dev
Russell Brenner [Fri, 1 Apr 2016 16:23:24 +0000 (16:23 +0000)]
Merge "Add new permission for am.updateLockTaskPackages()" into nyc-dev

8 years agoMerge "Add new protection level for setup wizard" into nyc-dev
Russell Brenner [Fri, 1 Apr 2016 16:22:48 +0000 (16:22 +0000)]
Merge "Add new protection level for setup wizard" into nyc-dev

8 years agoMerge "Remove unused import for KeyboardShortcutGroup" into nyc-dev
Clara Bayarri [Fri, 1 Apr 2016 16:18:27 +0000 (16:18 +0000)]
Merge "Remove unused import for KeyboardShortcutGroup" into nyc-dev

8 years agoMerge "Remove warning" into nyc-dev
John Reck [Fri, 1 Apr 2016 16:09:20 +0000 (16:09 +0000)]
Merge "Remove warning" into nyc-dev

8 years agoMerge "Add carrier config option to determine if "wifi-only" is supported." into...
Tyler Gunn [Fri, 1 Apr 2016 15:43:08 +0000 (15:43 +0000)]
Merge "Add carrier config option to determine if "wifi-only" is supported." into nyc-dev

8 years agoMerge "Revert "Only call Drawable.setVisible(false) for visible outgoing drawables...
Adam Powell [Fri, 1 Apr 2016 15:41:03 +0000 (15:41 +0000)]
Merge "Revert "Only call Drawable.setVisible(false) for visible outgoing drawables"" into nyc-dev

8 years agoMerge "Add hidden capability to indicate account supports emergency video calls....
Tyler Gunn [Fri, 1 Apr 2016 15:36:07 +0000 (15:36 +0000)]
Merge "Add hidden capability to indicate account supports emergency video calls." into nyc-dev

8 years agoMerge "Allow PO to check if it is in a managed profile." into nyc-dev
Kenny Guy [Fri, 1 Apr 2016 14:23:50 +0000 (14:23 +0000)]
Merge "Allow PO to check if it is in a managed profile." into nyc-dev

8 years agoMerge "Allow retrieving info /system components" into nyc-dev
Todd Kennedy [Fri, 1 Apr 2016 14:21:19 +0000 (14:21 +0000)]
Merge "Allow retrieving info /system components" into nyc-dev

8 years agoClean up ArrayAdapter lint warnings and annotations
Alan Viverette [Fri, 1 Apr 2016 14:11:25 +0000 (10:11 -0400)]
Clean up ArrayAdapter lint warnings and annotations

Refactoring only, no code changes.

Change-Id: Ia384a6597c9af84d23aed481f84d67ae817b4ac7

8 years agoRemove unused import for KeyboardShortcutGroup
Clara Bayarri [Thu, 24 Mar 2016 16:57:38 +0000 (16:57 +0000)]
Remove unused import for KeyboardShortcutGroup

Left it in accidentally when removing default method.

Change-Id: I6af0712624ffaefff4cb4ad2a9e5a86d7104d2e7

8 years agoAdd system api to reach WebViewUpdateService Binder interface.
Gustav Sennton [Tue, 29 Mar 2016 19:43:11 +0000 (20:43 +0100)]
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

8 years agoMerge "Update system API to match current code." into nyc-dev
Richard Coles [Fri, 1 Apr 2016 11:31:10 +0000 (11:31 +0000)]
Merge "Update system API to match current code." into nyc-dev

8 years agoUpdate system API to match current code.
Torne (Richard Coles) [Fri, 1 Apr 2016 11:24:36 +0000 (12:24 +0100)]
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

8 years agoMerge "Keyboard Shortcuts Helper: Include all System shortcuts" into nyc-dev
Clara Bayarri [Fri, 1 Apr 2016 11:17:24 +0000 (11:17 +0000)]
Merge "Keyboard Shortcuts Helper: Include all System shortcuts" into nyc-dev

8 years agoKeyboard shortcuts: disable toggling from lockscreen
Andrei Stingaceanu [Wed, 30 Mar 2016 11:22:05 +0000 (12:22 +0100)]
Keyboard shortcuts: disable toggling from lockscreen

Do not allow toggling the keyboard shortcuts dialog
if the keyguard is locked.

Bug: 27717058
Change-Id: I4a16a863ed1a4d3cefa7ca41c1361592ef3c5b3c

8 years agoMerge "ExifInterface: Code clean up" into nyc-dev
Insun Kang [Fri, 1 Apr 2016 08:55:00 +0000 (08:55 +0000)]
Merge "ExifInterface: Code clean up" into nyc-dev

8 years agoMerge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev
Jaewan Kim [Fri, 1 Apr 2016 06:19:52 +0000 (06:19 +0000)]
Merge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev

8 years agoPIP: Apply the animation spec for the PIP in Recents
Jaewan Kim [Thu, 31 Mar 2016 04:37:10 +0000 (13:37 +0900)]
PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942

8 years agoMerge "Fix: doRunAdvance returns wrong value when offset == count." into nyc-dev
Keisuke Kuroyanagi [Fri, 1 Apr 2016 05:27:35 +0000 (05:27 +0000)]
Merge "Fix: doRunAdvance returns wrong value when offset == count." into nyc-dev

8 years agoMerge "Sanitize app op service inputs" into nyc-dev
Svetoslav Ganov [Fri, 1 Apr 2016 03:05:13 +0000 (03:05 +0000)]
Merge "Sanitize app op service inputs" into nyc-dev

8 years agoSanitize app op service inputs
Svetoslav Ganov [Tue, 29 Mar 2016 01:07:06 +0000 (01:07 +0000)]
Sanitize app op service inputs

bug:26587386

This reverts commit 9888e00b7a36cd03821001a58e4ff86224e3d858.

Change-Id: I37069b6eb50ee1a1b29d6f116e96ad9f226883c9

8 years agoExifInterface: Code clean up
Insun Kang [Fri, 1 Apr 2016 02:12:06 +0000 (11:12 +0900)]
ExifInterface: Code clean up

Replaces deprecated constants with newly added constants in the actual
implementation.

Bug: 27932489
Change-Id: Id54236a05127cd7ce3bf0668c002635fb86489a9

8 years agoMerge "Fix a few known issue in sensor framework" into nyc-dev
Peng Xu [Fri, 1 Apr 2016 01:54:37 +0000 (01:54 +0000)]
Merge "Fix a few known issue in sensor framework" into nyc-dev

8 years agoMerge "Make display brightness ramp rate fast configurable" into nyc-dev
Prashant Malani [Fri, 1 Apr 2016 00:59:00 +0000 (00:59 +0000)]
Merge "Make display brightness ramp rate fast configurable" into nyc-dev

8 years agoMerge "Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928" into nyc-dev
Aga Wronska [Fri, 1 Apr 2016 00:58:24 +0000 (00:58 +0000)]
Merge "Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928" into nyc-dev

8 years agoAdd comment for FLAG_TRANSLUCENT_STATUS added in CL 898928
Aga Wronska [Fri, 1 Apr 2016 00:54:27 +0000 (17:54 -0700)]
Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928

Change-Id: I8f4ad4e00c6ce46e61afc087daa890eb90ed18a1

8 years agoMerge "Honour the DHCP MTU option." into nyc-dev
Lorenzo Colitti [Fri, 1 Apr 2016 00:55:06 +0000 (00:55 +0000)]
Merge "Honour the DHCP MTU option." into nyc-dev

8 years agoMerge "AAPT2: Change how we generate Java classes" into nyc-dev
Adam Lesinski [Fri, 1 Apr 2016 00:44:19 +0000 (00:44 +0000)]
Merge "AAPT2: Change how we generate Java classes" into nyc-dev

8 years agoMerge "Added CloseGuard for BaseObj" into nyc-dev
Yang Ni [Fri, 1 Apr 2016 00:33:57 +0000 (00:33 +0000)]
Merge "Added CloseGuard for BaseObj" into nyc-dev

8 years agoAdd new permission for am.updateLockTaskPackages()
Russell Brenner [Fri, 25 Mar 2016 19:18:07 +0000 (12:18 -0700)]
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

8 years agoAdd new protection level for setup wizard
Russell Brenner [Wed, 23 Mar 2016 17:16:39 +0000 (10:16 -0700)]
Add new protection level for setup wizard

Adds PROTECTION_LEVEL_SETUP, a privileged permission for use only by
the setup wizard.

Bug: 20016740

Change-Id: Ib95e349c54d5d12465bf43162975dfb628ef2434

8 years agoMerge "Fix dialogs layout after keyboard shows up" into nyc-dev
Aga Wronska [Thu, 31 Mar 2016 23:54:10 +0000 (23:54 +0000)]
Merge "Fix dialogs layout after keyboard shows up" into nyc-dev

8 years agoAAPT2: Change how we generate Java classes
Adam Lesinski [Thu, 31 Mar 2016 20:33:02 +0000 (13:33 -0700)]
AAPT2: Change how we generate Java classes

Previously we would be writing out the Manifest.java file as we
processed the AndroidManifest.xml. This would lead to empty
Manifest classes if there were no permissions or permission groups
defined in the AndroidManifest.xml.

This would pose problems for processes that checked for public classes
and considered them part of the API (support lib).

Now we collect the structure of the Java class in memory before deciding
if a file should be created.

Change-Id: I6b909f28d74356414c6ef5ad005180d6ea5e44ca

8 years agoAdd metrics for drag and drop.
Aga Wronska [Thu, 31 Mar 2016 23:37:40 +0000 (16:37 -0700)]
Add metrics for drag and drop.
Add metrics for search.

Change-Id: I77cb1d13360d764556730303eeb44e14e917b0fa
Fixed: 27940726

8 years agoMerge "Add death monitor to AsyncChannel Server." into nyc-dev
Wei Wang [Thu, 31 Mar 2016 23:13:33 +0000 (23:13 +0000)]
Merge "Add death monitor to AsyncChannel Server." into nyc-dev

8 years agoMerge "Fixing small regression in clear-all button and scrim alpha animation." into...
Winson Chung [Thu, 31 Mar 2016 23:05:47 +0000 (23:05 +0000)]
Merge "Fixing small regression in clear-all button and scrim alpha animation." into nyc-dev

8 years agoMerge "ExifInterface: deprecate duplicated tags" into nyc-dev
Jaesung Chung [Thu, 31 Mar 2016 23:04:42 +0000 (23:04 +0000)]
Merge "ExifInterface: deprecate duplicated tags" into nyc-dev

8 years agoFixing small regression in clear-all button and scrim alpha animation.
Winson [Thu, 31 Mar 2016 23:02:30 +0000 (16:02 -0700)]
Fixing small regression in clear-all button and scrim alpha animation.

Bug: 27702186
Change-Id: Ie26fa7e2cd73fe8e5e6800e47859ac3bbd763fe4

8 years agoAdded CloseGuard for BaseObj
Yang Ni [Thu, 24 Mar 2016 16:40:32 +0000 (09:40 -0700)]
Added CloseGuard for BaseObj

Bug: 27719830

To turn on warnings, apps have to add to their Activity.onCreate() method
the following code.

        StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
                               .detectLeakedClosableObjects()
                               .penaltyLog()
                               .build());

For Slang generated ScriptC derived classes, we assume their
constructors won't throw exceptions after calling the ScriptC
constructor. In addition, ScriptIntrinsic derived classes do not seem
to throw exceptions in their constructors either. Therefore, we can
leave the guard.open() call in the Script constructor. This may be
only an approximation, but allows us to add CloseGuard for script
objects without making changes to slang.

Change-Id: I77ed45239a60b85af5c811dee6c124fb53da9060
(cherry picked from commit eb4dd08ec132f83745b8b28fa7da58eb4478b5b9)

8 years agoAllow retrieving info /system components
Todd Kennedy [Thu, 31 Mar 2016 22:11:11 +0000 (15:11 -0700)]
Allow retrieving info /system components

Generally we return info for the latest installed package; which could
either be a built-in [i.e. on the /system partition] package or a user
updated package. In certain circumstances, we want to be able to get
the version on the /system partition regardless of whether or not the
user has updated it. We do this by passing MATCH_FACTORY_ONLY to
getPackageInfo().

Bug: 27469181
Change-Id: I8dd1d110e2d72e5c6f024812d0b5d15d8b217347

8 years agoAdd death monitor to AsyncChannel Server.
Wei Wang [Mon, 28 Mar 2016 19:50:52 +0000 (12:50 -0700)]
Add death monitor to AsyncChannel Server.

Bug:27878941
Change-Id: Ia6d12b49979b47434db7969372d6c02f799bc7d4

8 years agoDo not rely on documentInfo.pageCount when selecting which pages to
Philip P. Moltmann [Thu, 31 Mar 2016 22:39:16 +0000 (15:39 -0700)]
Do not rely on documentInfo.pageCount when selecting which pages to
scrap

documentInfo.PageCount might be set to "unknown" == -1. Hence we don't
know where the last page to scrap ends. Hence defer this decision all
way until PdfManipulationService.removePages as then we know the actual
pages of the document.

Change-Id: I063c3cd084d65a3ac5c60c3d85cec3a346be2680
Fixed: 27948632

8 years agoRevert "Only call Drawable.setVisible(false) for visible outgoing drawables"
Adam Powell [Thu, 31 Mar 2016 22:35:35 +0000 (15:35 -0700)]
Revert "Only call Drawable.setVisible(false) for visible outgoing drawables"

This reverts commit 35e2ea02035e8b7eb7de5d7a1d51bf030dcb5b76.

This patch was based on two different wrong assumptions.

Bug 27822069

Change-Id: I20b1017f91f3fce3c23dd8446459d6f3e3150a48

8 years agoMerge "Handle interaction of Bundle.hasFileDescriptors() with removal" into nyc-dev
Chris Tate [Thu, 31 Mar 2016 22:22:30 +0000 (22:22 +0000)]
Merge "Handle interaction of Bundle.hasFileDescriptors() with removal" into nyc-dev

8 years agoMerge "Re-enable emoji font tests" into nyc-dev
Roozbeh Pournader [Thu, 31 Mar 2016 22:22:18 +0000 (22:22 +0000)]
Merge "Re-enable emoji font tests" into nyc-dev

8 years agoMerge "Add test for private API forceAnimationOnUI" into nyc-dev
Tenghui Zhu [Thu, 31 Mar 2016 22:06:52 +0000 (22:06 +0000)]
Merge "Add test for private API forceAnimationOnUI" into nyc-dev

8 years agoMerge "Sending WALLPAPER_CHANGED broadcast when live wallpaper changes" into nyc-dev
Sunny Goyal [Thu, 31 Mar 2016 21:59:35 +0000 (21:59 +0000)]
Merge "Sending WALLPAPER_CHANGED broadcast when live wallpaper changes" into nyc-dev

8 years agoMerge "Putting clear-all button on the right to match design." into nyc-dev
Winson Chung [Thu, 31 Mar 2016 21:58:16 +0000 (21:58 +0000)]
Merge "Putting clear-all button on the right to match design." into nyc-dev

8 years agoPutting clear-all button on the right to match design.
Winson [Thu, 31 Mar 2016 01:26:49 +0000 (18:26 -0700)]
Putting clear-all button on the right to match design.

- Moving Clear-all button on drop-target change
- Fixing issue with end-margin on title

Change-Id: I589425980cd4503275b33a555f3dcb8391ba2695

8 years agoMerge "Grant default permissions to preinstalled VrListenerServices." into nyc-dev
Ruben Brunk [Thu, 31 Mar 2016 21:57:03 +0000 (21:57 +0000)]
Merge "Grant default permissions to preinstalled VrListenerServices." into nyc-dev

8 years agoMerge "Skip mounting sdcardfs in core mode." into nyc-dev
Jeff Sharkey [Thu, 31 Mar 2016 21:49:52 +0000 (21:49 +0000)]
Merge "Skip mounting sdcardfs in core mode." into nyc-dev

8 years agoSkip mounting sdcardfs in core mode.
Jeff Sharkey [Thu, 31 Mar 2016 20:34:38 +0000 (14:34 -0600)]
Skip mounting sdcardfs in core mode.

There's no point in mounting it, since it's living on top of a tmpfs
that will be discarded in a few moments once the user authenticates.

Bug: 27932087
Change-Id: I2df2da0136eac6cc27aa402fb9b00cfd23d562a8

8 years agoMerge "Fix search view tests on handheld devices" into nyc-dev
Aga Wronska [Thu, 31 Mar 2016 21:46:59 +0000 (21:46 +0000)]
Merge "Fix search view tests on handheld devices" into nyc-dev

8 years agoMerge "Clear deferRelaunchUntilPaused flag after activity relaunch is performed"...
Chong Zhang [Thu, 31 Mar 2016 21:38:51 +0000 (21:38 +0000)]
Merge "Clear deferRelaunchUntilPaused flag after activity relaunch is performed" into nyc-dev

8 years agoMerge "Update mediamuxer documentation that it does not support muxing B-frames....
Hangyu Kuang [Thu, 31 Mar 2016 21:32:42 +0000 (21:32 +0000)]
Merge "Update mediamuxer documentation that it does not support muxing B-frames." into nyc-dev

8 years agoMerge "Replace drag and drop mouse pointer shape" into nyc-dev
Vladislav Kaznacheev [Thu, 31 Mar 2016 21:27:17 +0000 (21:27 +0000)]
Merge "Replace drag and drop mouse pointer shape" into nyc-dev

8 years agoMerge "Set build fingerprint for the new user" into nyc-dev
Fyodor Kupolov [Thu, 31 Mar 2016 21:22:02 +0000 (21:22 +0000)]
Merge "Set build fingerprint for the new user" into nyc-dev

8 years agoWhen we update slow we override the current state. Make sure to reset the state the...
Philip P. Moltmann [Thu, 31 Mar 2016 21:18:47 +0000 (14:18 -0700)]
When we update slow we override the current state. Make sure to reset the state the operation finishes.

Bug: 27945565
Change-Id: If3dc3ad54bbf9bedae0e82aeef7b295ae16e1bf0

8 years agoClear deferRelaunchUntilPaused flag after activity relaunch is performed
Chong Zhang [Thu, 31 Mar 2016 21:09:33 +0000 (14:09 -0700)]
Clear deferRelaunchUntilPaused flag after activity relaunch is performed

We set deferRelaunchUntilPaused when a relaunch is delayed due to the app
in pausing state, but this flag is not cleared after it's relaunched upon
paused. After that every time the app is paused, it relaunches again.

Change-Id: Ib98956e0760b3c4fe108d93f5c7843e2cbd313de
related-to: b/27834014

8 years agoMerge "Remove DayNight theme" into nyc-dev
Alan Viverette [Thu, 31 Mar 2016 21:04:09 +0000 (21:04 +0000)]
Merge "Remove DayNight theme" into nyc-dev

8 years agoMerge "Improve handling of AlertDialog padding between title and content" into nyc-dev
Alan Viverette [Thu, 31 Mar 2016 21:03:19 +0000 (21:03 +0000)]
Merge "Improve handling of AlertDialog padding between title and content" into nyc-dev

8 years agoHandle interaction of Bundle.hasFileDescriptors() with removal
Christopher Tate [Thu, 31 Mar 2016 20:57:42 +0000 (13:57 -0700)]
Handle interaction of Bundle.hasFileDescriptors() with removal

Removing entries from a Bundle may change its has-FDs state, so now
induce a recheck after removals.  In support of that, make the
recheck set the known state in all cases, not just in the has-FDs
case; and note that filterValues() inherently produces a result that
is known to have no FDs.

Bug 26676151

Change-Id: Ida07b77ad2046aeafb98e0b164cd571ce45d064f

8 years agoSending WALLPAPER_CHANGED broadcast when live wallpaper changes
Sunny Goyal [Thu, 31 Mar 2016 18:05:51 +0000 (11:05 -0700)]
Sending WALLPAPER_CHANGED broadcast when live wallpaper changes

Bug: 27947401
Change-Id: Ib4fb3310e124e01d8fb7d7045d565ca3b9456050

8 years agoMake sure to update the selected pages when needed in the right order.
Philip P. Moltmann [Thu, 31 Mar 2016 20:49:38 +0000 (13:49 -0700)]
Make sure to update the selected pages when needed in the right order.

Fixes: 27945066
Change-Id: I9c83a5283d6bf093a35ad835532d3c8690b4b989

8 years agoMerge "Remove support for DSA with SHA-512 from v2 sig verification." into nyc-dev
Alex Klyubin [Thu, 31 Mar 2016 20:46:03 +0000 (20:46 +0000)]
Merge "Remove support for DSA with SHA-512 from v2 sig verification." into nyc-dev

8 years agoMerge "Save whitelist status of all apps." into nyc-dev
Felipe Leme [Thu, 31 Mar 2016 20:33:10 +0000 (20:33 +0000)]
Merge "Save whitelist status of all apps." into nyc-dev

8 years agoMerge "sysui: refactor for extensibility" into nyc-dev
Xiaohui Chen [Thu, 31 Mar 2016 20:31:51 +0000 (20:31 +0000)]
Merge "sysui: refactor for extensibility" into nyc-dev

8 years agoFix search view tests on handheld devices
Aga Wronska [Thu, 31 Mar 2016 20:29:18 +0000 (13:29 -0700)]
Fix search view tests on handheld devices

Change-Id: If7107e23e93989f040abf7f909b4134b0035b8e4

8 years agoSet build fingerprint for the new user
Fyodor Kupolov [Thu, 31 Mar 2016 20:30:42 +0000 (13:30 -0700)]
Set build fingerprint for the new user

This change will prevent PRE_BOOT_COMPLETED from being sent to new users

Bug: 27939609
Change-Id: I0e49a467c792c972e0e3fc76e06842a80810e14b

8 years agoRe-enable emoji font tests
Roozbeh Pournader [Thu, 31 Mar 2016 20:05:32 +0000 (13:05 -0700)]
Re-enable emoji font tests

This re-enables the emoji font tests, but doesn't run the tests if
SMALLER_FONT_FOOTPRINT is set.

Additionally, we test that there's one and only one emoji font in the
fallback chain.

Bug: 26187231
Bug: 27785690
Change-Id: I2e6d467e3f54ee3d41737170d7c2492a0f6b30f0

8 years agoReplace drag and drop mouse pointer shape
Vladislav Kaznacheev [Thu, 31 Mar 2016 20:18:02 +0000 (13:18 -0700)]
Replace drag and drop mouse pointer shape

Use PointerIcon.STYLE_GRABBING (closed hand) instead of
PointerIcon.STYLE_GRAB (open hand) while drag by mouse is in progress.

Bug:27946394
Change-Id: I56089b2c2cc5d1271df059832282725a886fc982

8 years agoRemove DayNight theme
Alan Viverette [Thu, 31 Mar 2016 20:18:27 +0000 (16:18 -0400)]
Remove DayNight theme

Bug: 21854466
Change-Id: I739872112d0ae457d0d4620f9222206072d54b4b

8 years agoMerge "Updates Wear window animation styles." into nyc-dev
Gus Prevas [Thu, 31 Mar 2016 20:15:05 +0000 (20:15 +0000)]
Merge "Updates Wear window animation styles." into nyc-dev

8 years agoMerge "Revert "Revert "Run cleanup before end actions of ViewPropertyAnimator.""...
George Mount [Thu, 31 Mar 2016 20:14:02 +0000 (20:14 +0000)]
Merge "Revert "Revert "Run cleanup before end actions of ViewPropertyAnimator.""" into nyc-dev

8 years agoMerge "TIF: Update javadoc with a better wording" into nyc-dev
Dongwon Kang [Thu, 31 Mar 2016 19:43:42 +0000 (19:43 +0000)]
Merge "TIF: Update javadoc with a better wording" into nyc-dev

8 years agoMerge "Invalidate TextView after locale change" into nyc-dev
Roozbeh Pournader [Thu, 31 Mar 2016 19:37:54 +0000 (19:37 +0000)]
Merge "Invalidate TextView after locale change" into nyc-dev

8 years agoMerge "API review: WallpaperManager" into nyc-dev
Chris Tate [Thu, 31 Mar 2016 19:24:41 +0000 (19:24 +0000)]
Merge "API review: WallpaperManager" into nyc-dev

8 years agoMerge "The lights go down on dark theme" into nyc-dev
Jason Monk [Thu, 31 Mar 2016 19:20:00 +0000 (19:20 +0000)]
Merge "The lights go down on dark theme" into nyc-dev

8 years agoRemove support for DSA with SHA-512 from v2 sig verification.
Alex Klyubin [Thu, 31 Mar 2016 19:06:18 +0000 (12:06 -0700)]
Remove support for DSA with SHA-512 from v2 sig verification.

Android platform does not support DSA with SHA-512. Thus, it does not
make sense to support this unsupported algorithm in APK Signature
Scheme v2.

Bug: 24331392
Change-Id: Ie90b3dd8dd67bad65c64dfb7f6bf427e8ed282ba

8 years agosysui: refactor for extensibility
Xiaohui Chen [Wed, 30 Mar 2016 18:55:54 +0000 (11:55 -0700)]
sysui: refactor for extensibility

Bug: 27098123
Change-Id: Iab9b91c06b32030bbeae6a12715ea33867d13e12

8 years agoThe lights go down on dark theme
Jason Monk [Thu, 31 Mar 2016 18:27:04 +0000 (14:27 -0400)]
The lights go down on dark theme

It will be remembered.
It died not once, but twice.
ಥ_ಥ

Change-Id: I48fba2e71b1fd431d7cd0dccb36e8a59bb47709a
Fixes: 21854466