OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix issue with unresolved IDs in adaptive icons" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:54:06 +0000 (20:54 +0000)]
Merge "Fix issue with unresolved IDs in adaptive icons" into oc-dev

7 years agoMerge "QS BluetoothTile proiritizes connected device" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:44:21 +0000 (20:44 +0000)]
Merge "QS BluetoothTile proiritizes connected device" into oc-dev

7 years agoMerge "Move CompanionDeviceManagerService to a place of its own" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:42:31 +0000 (20:42 +0000)]
Merge "Move CompanionDeviceManagerService to a place of its own" into oc-dev

7 years agoMerge "Fix compose shader child local matrix mutation" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:41:02 +0000 (20:41 +0000)]
Merge "Fix compose shader child local matrix mutation" into oc-dev

7 years agoMerge "Don't show starting window for overlay activities" into oc-dev
Wale Ogunwale [Wed, 19 Apr 2017 20:36:36 +0000 (20:36 +0000)]
Merge "Don't show starting window for overlay activities" into oc-dev

7 years agoMerge "Flesh out more API docs." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:31:01 +0000 (20:31 +0000)]
Merge "Flesh out more API docs." into oc-dev

7 years agoMerge "Only send HOST_STATE intents when host mode is used." into oc-dev
Jerry Zhang [Wed, 19 Apr 2017 20:28:03 +0000 (20:28 +0000)]
Merge "Only send HOST_STATE intents when host mode is used." into oc-dev

7 years agoMerge "Up the character limit for thermal strings" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:24:14 +0000 (20:24 +0000)]
Merge "Up the character limit for thermal strings" into oc-dev

7 years agoMerge "Handle shared libraries for split apks." into oc-dev
Jeff Hao [Wed, 19 Apr 2017 20:16:18 +0000 (20:16 +0000)]
Merge "Handle shared libraries for split apks." into oc-dev

7 years agoMerge "Make javadoc of companion service name more like others" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:14:59 +0000 (20:14 +0000)]
Merge "Make javadoc of companion service name more like others" into oc-dev

7 years agoMerge "Some folks like sending null fields." into oc-dev
Jeff Sharkey [Wed, 19 Apr 2017 20:11:23 +0000 (20:11 +0000)]
Merge "Some folks like sending null fields." into oc-dev

7 years agoMerge "Add comment to Typeface.Builder about file descriptor." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:08:53 +0000 (20:08 +0000)]
Merge "Add comment to Typeface.Builder about file descriptor." into oc-dev

7 years agoMerge "Add unit test for Skia path behavior" into oc-dev
Matt Sarett [Wed, 19 Apr 2017 20:03:49 +0000 (20:03 +0000)]
Merge "Add unit test for Skia path behavior" into oc-dev

7 years agoMerge "Improve ViewDebug reporting for focus properties" into oc-dev
Evan Rosky [Wed, 19 Apr 2017 19:50:24 +0000 (19:50 +0000)]
Merge "Improve ViewDebug reporting for focus properties" into oc-dev

7 years agoMerge "Force data usage bottom label to be LTR." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:43:53 +0000 (19:43 +0000)]
Merge "Force data usage bottom label to be LTR." into oc-dev

7 years agoMerge "Bring up the QS state colors to increase contrast" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:43:02 +0000 (19:43 +0000)]
Merge "Bring up the QS state colors to increase contrast" into oc-dev

7 years agoForce data usage bottom label to be LTR.
Fan Zhang [Tue, 18 Apr 2017 22:15:21 +0000 (15:15 -0700)]
Force data usage bottom label to be LTR.

The bottom label has to be LTR to be in sync with the main view above
it, which does not support RTL.

Change-Id: Ib5cccd1cccb249dad0badd36f4d491faf0bbb562
Fix: 37222561
Test: visual

7 years agoMerge "TextClassifierImpl: Fix empty locale list issue." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:20:39 +0000 (19:20 +0000)]
Merge "TextClassifierImpl: Fix empty locale list issue." into oc-dev

7 years agoMerge "Fix FragmentTransaction.show() to show the fragment." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:06:04 +0000 (19:06 +0000)]
Merge "Fix FragmentTransaction.show() to show the fragment." into oc-dev

7 years agoMerge "Add a wakelock timeout when downloading xtra data for GNSS." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:00:54 +0000 (19:00 +0000)]
Merge "Add a wakelock timeout when downloading xtra data for GNSS." into oc-dev

7 years agoMerge "Fix issue where the notification could snap to the menu while its invisible...
TreeHugger Robot [Wed, 19 Apr 2017 18:42:31 +0000 (18:42 +0000)]
Merge "Fix issue where the notification could snap to the menu while its invisible" into oc-dev

7 years agoMerge "Update snooze visuals to match latest design" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 18:41:44 +0000 (18:41 +0000)]
Merge "Update snooze visuals to match latest design" into oc-dev

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
Zheng Zhang [Wed, 19 Apr 2017 18:32:55 +0000 (18:32 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev am: 5b84ba3b15  -s ours
am: 74b8c15d2b  -s ours

Change-Id: I4e023353faf1cbded69661da7013785bd130297c

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
Zheng Zhang [Wed, 19 Apr 2017 18:26:33 +0000 (18:26 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev
am: 5b84ba3b15  -s ours

Change-Id: Ic447d9ee4910f467e8ca6dad7d02693846e4fab8

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
TreeHugger Robot [Wed, 19 Apr 2017 18:21:43 +0000 (18:21 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev

7 years agoMerge "Adds getLayoutInflater() to return a cached value." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 18:15:31 +0000 (18:15 +0000)]
Merge "Adds getLayoutInflater() to return a cached value." into oc-dev

7 years agoMerge "Adding consistent platform PiP action asset." into oc-dev
Winson Chung [Wed, 19 Apr 2017 18:10:16 +0000 (18:10 +0000)]
Merge "Adding consistent platform PiP action asset." into oc-dev

7 years agoMerge "Handle edge-case where no focusables exist" into oc-dev
Evan Rosky [Wed, 19 Apr 2017 18:08:23 +0000 (18:08 +0000)]
Merge "Handle edge-case where no focusables exist" into oc-dev

7 years agoMerge "Swap back content alphas for light and dark." into oc-dev
Jason Monk [Wed, 19 Apr 2017 18:07:04 +0000 (18:07 +0000)]
Merge "Swap back content alphas for light and dark." into oc-dev

7 years agoHandle shared libraries for split apks.
Jeff Hao [Thu, 6 Apr 2017 00:09:59 +0000 (17:09 -0700)]
Handle shared libraries for split apks.

As we dexopt all the code paths of a package, we now append the code
paths to the list of shared libraries. These paths are passed as
relative paths since the apks are staged during installation, and are
not where they will be at runtime.

Part of a multi-project change.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

(cherry-picked from commit 832641bb7205126829d425401a5262ab2e26fa80)

Change-Id: I28b1f8db6035ec62a5947679ed09013b1f9523a2

7 years agoFix compose shader child local matrix mutation
Chris Craik [Wed, 19 Apr 2017 17:38:14 +0000 (10:38 -0700)]
Fix compose shader child local matrix mutation

Bug: 37495696
Test: cts-tradefed run singleCommand cts-dev --module CtsGraphicsTestCases --test android.graphics.cts.ComposeShaderTest

Adds back the verify step that discards a stale native ComposeShader if a child
changes.

Change-Id: I44f40c1edfdb7633994a69efb583cf28ee2c26b2

7 years agoFlesh out more API docs.
Jeff Sharkey [Wed, 19 Apr 2017 00:19:16 +0000 (18:19 -0600)]
Flesh out more API docs.

Flesh out docs for Context.getCacheDir(), Intent.addFlags(),
Intent.removeFlags(), and PackageManager.setApplicationCategoryHint().

Test: builds, boots
Bug: 374704733732777435812899
Change-Id: Ided031185258a89c3e275d65c162d537065ad49e

7 years agoMerge "Avoid acquiring a lock on the InputReader thread" into oc-dev
Yohei Yukawa [Wed, 19 Apr 2017 17:37:13 +0000 (17:37 +0000)]
Merge "Avoid acquiring a lock on the InputReader thread" into oc-dev

7 years agoMerge "Add missing services to incident_report" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:33:55 +0000 (17:33 +0000)]
Merge "Add missing services to incident_report" into oc-dev

7 years agoMerge "Fix issue with fontScale changes not taking effect" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:32:25 +0000 (17:32 +0000)]
Merge "Fix issue with fontScale changes not taking effect" into oc-dev

7 years agoMerge "AAPT: Auto-alias application adaptive-icon" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:32:02 +0000 (17:32 +0000)]
Merge "AAPT: Auto-alias application adaptive-icon" into oc-dev

7 years agoSome folks like sending null fields.
Jeff Sharkey [Wed, 19 Apr 2017 17:22:02 +0000 (11:22 -0600)]
Some folks like sending null fields.

Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.ComponentInfoTest
Bug: 37495524
Change-Id: I9040534d717ac70d580bd2a7f5488369ab7c3a47

7 years agoMerge "Internal copy of Palette API." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:24:02 +0000 (17:24 +0000)]
Merge "Internal copy of Palette API." into oc-dev

7 years agoBring up the QS state colors to increase contrast
Jason Monk [Wed, 19 Apr 2017 17:11:11 +0000 (13:11 -0400)]
Bring up the QS state colors to increase contrast

Test: visual
Change-Id: I5182e3dae7be89bf38d0ed33e3cbefedc664c718
Fixes: 37443237

7 years agoMerge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host...
Sunny Goyal [Wed, 19 Apr 2017 17:10:37 +0000 (17:10 +0000)]
Merge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host" into oc-dev

7 years agoMerge "Mark Restricted APN connections as restricted." into oc-dev
Robert Greenwalt [Wed, 19 Apr 2017 17:09:30 +0000 (17:09 +0000)]
Merge "Mark Restricted APN connections as restricted." into oc-dev

7 years agoDO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123.
Zheng Zhang [Wed, 19 Apr 2017 01:16:33 +0000 (18:16 -0700)]
DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123.

HFP profile config landed late in Emerald development, and was committed
as version 122 there.
When it merged to master, there were conflicts since 122 was already
taken, so it was resolved as version 123.
We didn't catch the subtle bug then:
This means Emerald devices will reset HFP profile config in error once
they upgrade to Feldspar.
Correct this by merging 122, and making 123 a no-op.

Bug: 37338202
Change-Id: Ibf4c824d27300641fd1bb15f5884baf056bd8d7e

7 years agoMerge "MediaSessionService: Nullify the media button sesison when it's removed" into...
TreeHugger Robot [Wed, 19 Apr 2017 16:42:38 +0000 (16:42 +0000)]
Merge "MediaSessionService: Nullify the media button sesison when it's removed" into oc-dev

7 years agoMerge "RecoverySystem: Enable the package compatibility verification." into oc-dev
Tao Bao [Wed, 19 Apr 2017 16:30:22 +0000 (16:30 +0000)]
Merge "RecoverySystem: Enable the package compatibility verification." into oc-dev

7 years agoMerge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev
Keun-young Park [Wed, 19 Apr 2017 16:12:02 +0000 (16:12 +0000)]
Merge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev

7 years agoMerge "RecoverySystem: Verify the package compatibility." into oc-dev
Tao Bao [Wed, 19 Apr 2017 15:54:18 +0000 (15:54 +0000)]
Merge "RecoverySystem: Verify the package compatibility." into oc-dev

7 years agoQS BluetoothTile proiritizes connected device
tturney [Tue, 18 Apr 2017 20:59:40 +0000 (13:59 -0700)]
QS BluetoothTile proiritizes connected device

When there is a connected device and the
Bluetooth Cacheded Device list is too large
it doesn't guarantee a connected device
will show up at all in the Bluetooth
Quick Settings Tile. This code modifies
the tile to match Wifi witch guarantees
connected devices be at the top of the
Bluetooth Tile list.

Bug: 37438599
Test: Manually pair multiple deivces to create
a large list and change connected states.

Change-Id: I93caa43743e1d63f4eab6b8bc636e8e8b2b40ec4

7 years agoSwap back content alphas for light and dark.
Jason Monk [Wed, 19 Apr 2017 14:49:37 +0000 (10:49 -0400)]
Swap back content alphas for light and dark.

Someone may have accidentally switched them...

Change-Id: If9039398548a7ce9d7f38941ba774a05e8bedcb8
Fixes: 37483431
Test: visual

7 years agoDon't show starting window for overlay activities
Wale Ogunwale [Wed, 19 Apr 2017 13:05:13 +0000 (06:05 -0700)]
Don't show starting window for overlay activities

Since they are just overlaying other activities in the task.

Change-Id: I5d9b8e22c9858e282fc36ed4c3f7aff9f9b7654d
Fixes: 37199644
Test: manual

7 years agoFix FragmentTransaction.show() to show the fragment.
George Mount [Wed, 19 Apr 2017 14:29:45 +0000 (07:29 -0700)]
Fix FragmentTransaction.show() to show the fragment.

Bug 37413327

When there was an animation and the fragment transaction wasn't
optimized, the fragment visiiblity wasn't being set during show().

Test: I0fd4029a02d6c9f082011bf56f0d3c8245803f68
Change-Id: Idc2c74ae2fc4759a755a5988ce6ca1b39ef8d554

7 years agoMerge changes I1d00d86e,I16d81113 into oc-dev
Julia Reynolds [Wed, 19 Apr 2017 13:45:02 +0000 (13:45 +0000)]
Merge changes I1d00d86e,I16d81113 into oc-dev

* changes:
  Silence non-clickable imagebutton
  Remove log spam

7 years agoMerge "Don't clear snoozed components on restore." into oc-dev
Julia Reynolds [Wed, 19 Apr 2017 13:44:18 +0000 (13:44 +0000)]
Merge "Don't clear snoozed components on restore." into oc-dev

7 years agoTextClassifierImpl: Fix empty locale list issue.
Abodunrinwa Toki [Thu, 13 Apr 2017 08:56:52 +0000 (09:56 +0100)]
TextClassifierImpl: Fix empty locale list issue.

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug: 37289966
Change-Id: Ib822f2cc2fbaeb67dcc06e1f9fea306ee1c8c9ef

7 years agoAdd unit test for Skia path behavior
Matt Sarett [Tue, 18 Apr 2017 22:09:52 +0000 (18:09 -0400)]
Add unit test for Skia path behavior

Test: This is a test.
Bug: 35369941

Change-Id: Iaf21d3a903702f81a20e08e8b50b782f311ce7f3

7 years agoMerge "Redesign of QSSecurityFooter" into oc-dev
Philipp Weiß [Wed, 19 Apr 2017 09:25:38 +0000 (09:25 +0000)]
Merge "Redesign of QSSecurityFooter" into oc-dev

7 years agoMerge "Binder: Log details of pending exception." into oc-dev
Narayan Kamath [Wed, 19 Apr 2017 08:03:00 +0000 (08:03 +0000)]
Merge "Binder: Log details of pending exception." into oc-dev

7 years agoMediaSessionService: Nullify the media button sesison when it's removed
Jaewan Kim [Wed, 29 Mar 2017 18:22:03 +0000 (03:22 +0900)]
MediaSessionService: Nullify the media button sesison when it's removed

When the media button sesison is removed, we'd better not pick the
alternative media button session within the app because the alternative
media session might be a dummy which isn't able to handle media keys.

Test: Run the CtsMediaTest (MediaSessionTest and MediaSessionManagerTest)
  and the manual test (Launch a media app which creates two media
  sessions, and confirmed that another media session doesn't become the
  media button session when the media button session is removed)

Change-Id: I376a34ee4b5d2344007594134c40b135b2c5a1bf

7 years agoMerge "Some Autofill API changes." into oc-dev
Felipe Leme [Wed, 19 Apr 2017 05:05:44 +0000 (05:05 +0000)]
Merge "Some Autofill API changes." into oc-dev

7 years agofs_stat: ignore quota fix caused by tree optimization
Keun-young Park [Mon, 17 Apr 2017 23:17:28 +0000 (16:17 -0700)]
fs_stat: ignore quota fix caused by tree optimization

- tree optimization leads into quota fix which is not a real fix.
- Distinguish such case from real file system fix to get fs statistics
  correctly.
- This is only for correct fs stat metric collection. There is no
  functionality change in device side.
- Full parsing is only run when fs fix is detected from fs_stat.
  Examplt of fsck fix that will be ignored as optimization:
  e2fsck 1.43.3 (04-Sep-2016)
  Pass 1: Checking inodes, blocks, and sizes
  Inode 877141 extent tree (at level 1) could be shorter.  Fix? yes

  Pass 1E: Optimizing extent trees
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information
  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (71667712, 1000) != expected (71671808, 1000)
  Update quota info for quota type 0? yes

  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (59555840, 953) != expected (59559936, 953)
  Update quota info for quota type 1? yes

  /dev/block/platform/soc/624000.ufshc/by-name/userdata: ***** FILE SYSTEM WAS MODIFIED *****
- also added unit test for the fsck log parsing

bug: 36391645
Test: many reboots with fs_stat check, runtest frameworks-services -c com.android.server.BootReceiverFixFsckFsStatTest
Change-Id: I86a97a3b50ee573db51d19d2cd243b8f7795a165

7 years agoMerge "Fix for SurfaceView out of a view hierarchy" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 03:17:45 +0000 (03:17 +0000)]
Merge "Fix for SurfaceView out of a view hierarchy" into oc-dev

7 years agoMerge "Address API council comments" into oc-dev
Svetoslav Ganov [Wed, 19 Apr 2017 02:44:11 +0000 (02:44 +0000)]
Merge "Address API council comments" into oc-dev

7 years agoMerge "Creating a common class for loading drawables and handling various badging...
TreeHugger Robot [Wed, 19 Apr 2017 02:43:40 +0000 (02:43 +0000)]
Merge "Creating a common class for loading drawables and handling various badging" into oc-dev

7 years agoMerge "Add a way to read the last AutofillSelection." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 02:43:00 +0000 (02:43 +0000)]
Merge "Add a way to read the last AutofillSelection." into oc-dev

7 years agoSome Autofill API changes.
Felipe Leme [Wed, 19 Apr 2017 00:48:49 +0000 (17:48 -0700)]
Some Autofill API changes.

- Added View.IMPORTANT_FOR_AUTOFILL_YES_INCLUDE_DESCENDANTS
- Added View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
- Added FillResponse.Builder.setIgnoredIds()
- Fixed javadoc links.

These changes are not implemented yet....

Bug: 37424141
Bug: 36171235
Test: m update-api

Change-Id: I604960443ab08cd3f2a84a70b0a2cece7cb0a00c

7 years agoAdding consistent platform PiP action asset.
Winson Chung [Wed, 19 Apr 2017 02:01:40 +0000 (19:01 -0700)]
Adding consistent platform PiP action asset.

Bug: 36782878
Test: This is just an asset
Change-Id: I43fdafcc8d2626d5fe0c61935ff09137ad0d6e0a

7 years agoMerge "Remove newly added remove methods in Location and deprecate the old ones,...
Yu Liu [Wed, 19 Apr 2017 01:33:04 +0000 (01:33 +0000)]
Merge "Remove newly added remove methods in Location and deprecate the old ones, this is the request from the android API council Test: Existing unit tests still pass. BUG: 36552859" into oc-dev

7 years agoMerge "update docs per API council" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 01:31:41 +0000 (01:31 +0000)]
Merge "update docs per API council" into oc-dev

7 years agoMerge changes I062b6c37,Ie5165364,Ib3cce253 into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 01:29:10 +0000 (01:29 +0000)]
Merge changes I062b6c37,Ie5165364,Ib3cce253 into oc-dev

* changes:
  Add remaining default media icons.
  Disable PiP when a task is locked.
  Fix issue with PiP actions flashing.

7 years agoFix issue with unresolved IDs in adaptive icons
Adam Lesinski [Sat, 15 Apr 2017 01:44:30 +0000 (18:44 -0700)]
Fix issue with unresolved IDs in adaptive icons

Adaptive icons were versioned correctly, but skipped the compilation
/ resource ID assignment phase. This CL fixes the glitch.

Bug: 34829129
Test: manual
Change-Id: I93739a8b10fac53a048d95b330edf381684a807c

7 years agoMerge "Hide Socket+DatagramSocket IpSecTransform methods" into oc-dev
Nathan Harold [Wed, 19 Apr 2017 00:36:16 +0000 (00:36 +0000)]
Merge "Hide Socket+DatagramSocket IpSecTransform methods" into oc-dev

7 years agoMerge "better defualt behaviour for msim" into oc-dev
Chen Xu [Wed, 19 Apr 2017 00:34:52 +0000 (00:34 +0000)]
Merge "better defualt behaviour for msim" into oc-dev

7 years agoMerge "Consistenly Throw IOExceptions from IpSecManager" into oc-dev
Nathan Harold [Wed, 19 Apr 2017 00:34:20 +0000 (00:34 +0000)]
Merge "Consistenly Throw IOExceptions from IpSecManager" into oc-dev

7 years agoMerge "Update Overview content descriptions." into oc-dev
Winson Chung [Wed, 19 Apr 2017 00:22:35 +0000 (00:22 +0000)]
Merge "Update Overview content descriptions." into oc-dev

7 years agoMerge "Clone autofill service settings on managed profile." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 00:20:05 +0000 (00:20 +0000)]
Merge "Clone autofill service settings on managed profile." into oc-dev

7 years agoAdd a way to read the last AutofillSelection.
Philip P. Moltmann [Mon, 17 Apr 2017 21:18:33 +0000 (14:18 -0700)]
Add a way to read the last AutofillSelection.

- Check UID to make sure one service cannot read FillSelections of other
  services
- Add id to Dataset to allow to tag the datasets. This id is then found
  in the FillSelection.Event
- Add clientState to FillSelection to allow service to store more data

Fixes: 36871500
Test: CtsAutoFillServiceTestCases
Change-Id: Ice894245508227265294a1c59ea97842175e5aec

7 years agoFix issue with fontScale changes not taking effect
Adam Lesinski [Tue, 18 Apr 2017 21:42:22 +0000 (14:42 -0700)]
Fix issue with fontScale changes not taking effect

If a configuration change occurs, and an underlying ResourcesImpl is
swapped out under a Resources object, the DisplayMetrics cached by
TypedArray will be stale and not up-to-date.

Bug: 34120637
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerConfigChangeTests
Change-Id: Id78a6d259250950387c2e95c4a2292fdd095c7af

7 years agoUp the character limit for thermal strings
Salvador Martinez [Tue, 18 Apr 2017 23:51:19 +0000 (16:51 -0700)]
Up the character limit for thermal strings

Some thermal strings needed for warning users
when their phone shut down due to overheating
were too hard to translate with the set char
limit. This CL ups the char limit to allow for
easier translation of this strings.

Test: Manual, see screenshot in comments
Bug: 3745234137452235
Change-Id: I5a9e24f413a759d83911a1054da8bfce222cfe9a

7 years agoAddress API council comments
Svetoslav Ganov [Tue, 18 Apr 2017 21:28:35 +0000 (14:28 -0700)]
Address API council comments

Test: all static shared lib CTS tests pass

bug:37327970

Change-Id: Ie8c4d853da5fa0a6125b9def38831860f79ce53d

7 years agoMerge "Add logging to WebView zygote package preload." into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:43:21 +0000 (23:43 +0000)]
Merge "Add logging to WebView zygote package preload." into oc-dev

7 years agoCreating a common class for loading drawables and handling various badging
Sunny Goyal [Wed, 12 Apr 2017 22:36:42 +0000 (15:36 -0700)]
Creating a common class for loading drawables and handling various badging

Test: Manually tested on device
Bug: 36591157
Change-Id: Ic847537d416650015cecaeb68f47f7f032e0dbaa

7 years agoMerge "guard against nulls in LogMaker" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:32:02 +0000 (23:32 +0000)]
Merge "guard against nulls in LogMaker" into oc-dev

7 years agoupdate docs per API council
Todd Kennedy [Mon, 17 Apr 2017 22:29:46 +0000 (15:29 -0700)]
update docs per API council

Change-Id: Id32be4db7671d3ef99e155f5fc2f3946eac707dd
Fixes: 37322490
Test: treehugger

7 years agoMerge "Change nullability of colorspace parameter" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:25:53 +0000 (23:25 +0000)]
Merge "Change nullability of colorspace parameter" into oc-dev

7 years agoAdd remaining default media icons.
Winson Chung [Tue, 18 Apr 2017 22:05:31 +0000 (15:05 -0700)]
Add remaining default media icons.

- Fix issue where strings were only in overlay and not in base resources

Bug: 36778575
Test: Launch PiP activity with media session, ensure actions show
Change-Id: I062b6c37ff4789bf375670e8ce872f28c578ffca

7 years agoMerge "Use wifi icon for wifi devices in companion chooser" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:12:35 +0000 (23:12 +0000)]
Merge "Use wifi icon for wifi devices in companion chooser" into oc-dev

7 years agoRemove newly added remove methods in Location and deprecate the old ones, this is...
Yu Liu [Tue, 18 Apr 2017 23:08:29 +0000 (16:08 -0700)]
Remove newly added remove methods in Location and deprecate the old ones, this is the request from the android API council
Test: Existing unit tests still pass.
BUG: 36552859

Change-Id: Ib4cdcef90be3d5b3be329dd780bcb40275b89ef4

7 years agoMerge "Part of global strings change from cellular —> mobile." into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:03:00 +0000 (23:03 +0000)]
Merge "Part of global strings change from cellular —> mobile." into oc-dev

7 years agoRecoverySystem: Enable the package compatibility verification.
Tao Bao [Tue, 18 Apr 2017 22:53:40 +0000 (15:53 -0700)]
RecoverySystem: Enable the package compatibility verification.

Hook up to android.os.VintfObject.verify().

Bug: 36592877
Test: Flash on marlin; verify with package that has and doesn't have
      compatibility.zip entry.
Change-Id: I4e73fa42f4e3fd2e1c5ffec2ffa6152538d62eee

7 years agoMerge "Ignore nested keyboard navigation clusters" into oc-dev
Evan Rosky [Tue, 18 Apr 2017 22:54:01 +0000 (22:54 +0000)]
Merge "Ignore nested keyboard navigation clusters" into oc-dev

7 years agoHandle edge-case where no focusables exist
Evan Rosky [Mon, 17 Apr 2017 23:40:16 +0000 (16:40 -0700)]
Handle edge-case where no focusables exist

cluster navigation was previously crashing if there was
nothing focusable..

Bug: 37438383
Test: Added CTS: ContentPaneFocusTest#testNoFocusablesInContent
      Ran against support-v7-demos Toolbar demos to verify
      crash didn't occur

Change-Id: Ia1382cec138a948d080aeded4d38735983df2152

7 years agoMerge "Change saveOnAllViewsInsible from boolean to flags" into oc-dev
Philip P. Moltmann [Tue, 18 Apr 2017 22:28:13 +0000 (22:28 +0000)]
Merge "Change saveOnAllViewsInsible from boolean to flags" into oc-dev

7 years agoMerge "Fixed WTF that happens on race condition." into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 22:15:13 +0000 (22:15 +0000)]
Merge "Fixed WTF that happens on race condition." into oc-dev

7 years agoClone autofill service settings on managed profile.
Felipe Leme [Tue, 18 Apr 2017 21:54:33 +0000 (14:54 -0700)]
Clone autofill service settings on managed profile.

Test: manual verification
Change-Id: I9d13e4230265b18444bfd30fd403c5fb98b88159
Fixes: 37351722

7 years agoMerge "update docs per API council" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 22:09:25 +0000 (22:09 +0000)]
Merge "update docs per API council" into oc-dev

7 years agoMerge "Re-hide shader mutation, remove colorfilter mutation" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 22:05:30 +0000 (22:05 +0000)]
Merge "Re-hide shader mutation, remove colorfilter mutation" into oc-dev

7 years agoDisable PiP when a task is locked.
Winson Chung [Tue, 18 Apr 2017 21:52:36 +0000 (14:52 -0700)]
Disable PiP when a task is locked.

Bug: 37135610
Test: Start PiP, enable screen pinning, ensure that PiP is dismissed.
Change-Id: Ie5165364db891b13dd4ef282089f915fe9f99615

7 years agoguard against nulls in LogMaker
Chris Wren [Tue, 18 Apr 2017 17:40:32 +0000 (13:40 -0400)]
guard against nulls in LogMaker

Bug: 36909905
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: Ibd12bf12f9b1ed5fbc926ec04bbfa429ff98f7d2

7 years agoMerge "Adjust some of the timings around animating / showing the dismiss gradient...
TreeHugger Robot [Tue, 18 Apr 2017 21:39:39 +0000 (21:39 +0000)]
Merge "Adjust some of the timings around animating / showing the dismiss gradient" into oc-dev

7 years agoMerge "Allow at most one pinned stack task." into oc-dev
Bryce Lee [Tue, 18 Apr 2017 21:30:58 +0000 (21:30 +0000)]
Merge "Allow at most one pinned stack task." into oc-dev

7 years agoAdd logging to WebView zygote package preload.
Torne (Richard Coles) [Tue, 18 Apr 2017 21:16:36 +0000 (17:16 -0400)]
Add logging to WebView zygote package preload.

This is a potentially slow event and having a timestamp for when it
started/completed may help to track down a currently-open bug (as well
as enable us to see how long preloading took). This only happens once
per boot and once per WebView update so won't cause a significant amount
of logging.

Bug: 37347817
Test: check for messages in logcat on first use of WebView
Change-Id: Ib6c50eea71324f81cda5b5b1ac91f9dc806e0ab4