OSDN Git Service

android-x86/frameworks-base.git
7 years agoReduce scrypt time in synthetic password flow
Rubin Xu [Mon, 24 Apr 2017 14:51:59 +0000 (15:51 +0100)]
Reduce scrypt time in synthetic password flow

Reduce from 13:3:1 (100ms) to 11:3:1 (25ms)

Bug: 37268178
Test: Manual with time instrumentation in code.
Change-Id: I14d734858d824ec494127d057dd821fc88f8a0f5

7 years agoMerge "Send ACTION_POWER_SAVE_MODE_CHANGED to all user" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:44:44 +0000 (16:44 +0000)]
Merge "Send ACTION_POWER_SAVE_MODE_CHANGED to all user" into oc-dev

7 years agoMerge "Move companion device check to the handler" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:43:20 +0000 (16:43 +0000)]
Merge "Move companion device check to the handler" into oc-dev

7 years agoMerge "QS + DND interaction again" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:35:02 +0000 (16:35 +0000)]
Merge "QS + DND interaction again" into oc-dev

7 years agoMerge "Fix javadoc for some user restrictions." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:28:45 +0000 (16:28 +0000)]
Merge "Fix javadoc for some user restrictions." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:21:57 +0000 (16:21 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Ignore request to add starting window if already visible" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:16:43 +0000 (16:16 +0000)]
Merge "Ignore request to add starting window if already visible" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 16:12:22 +0000 (16:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Support fraction type for inset* for InsetDrawable. b/36024318" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 15:14:18 +0000 (15:14 +0000)]
Merge "Support fraction type for inset* for InsetDrawable. b/36024318" into oc-dev

7 years agoMerge "Fix/suppress error-prone warnings in framework's fragment." into oc-dev
Aurimas Liutikas [Fri, 21 Apr 2017 15:14:04 +0000 (15:14 +0000)]
Merge "Fix/suppress error-prone warnings in framework's fragment." into oc-dev

7 years agoFix javadoc for some user restrictions.
Pavel Grafov [Fri, 21 Apr 2017 13:48:21 +0000 (14:48 +0100)]
Fix javadoc for some user restrictions.

DISALLOW_UNMUTE_MICROPHONE and DISALLOW_ADJUST_VOLUME can
be set by POs on secondary users as well. But they have no
effect on managed profiles.

(In the bug I erroneously mentionted DISALLOW_UNMUTE_DEVICE
which is @hidden instead of *_MICROPHONE).

Bug: 36024135
Test: IntelliJ quickdoc popup renders correctly.
Change-Id: I7a0e77ac993846cdc3a4ddf4d457e1282872107f

7 years agoMove companion device check to the handler
Julia Reynolds [Thu, 20 Apr 2017 15:31:30 +0000 (11:31 -0400)]
Move companion device check to the handler

To return faster to the app that's creating channels, since
companion device manager has to read from xml.

Fixes: 37534164
Test: runtest systemui-notification, manual with an app with strict
mode on.

Change-Id: I78909ba3ca6b33302fb78756b49c9014de5aeb12

7 years agoMerge "[DO NOT MERGE] Fix potential NPE in Trampoline.requestBackup()." into oc-dev
Michal Karpinski [Fri, 21 Apr 2017 12:20:58 +0000 (12:20 +0000)]
Merge "[DO NOT MERGE] Fix potential NPE in Trampoline.requestBackup()." into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 21 Apr 2017 11:21:57 +0000 (04:21 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ida4d17127df81670a51a4bf933d8df61729fa2c4
Auto-generated-cl: translation import

7 years agoMerge "SmartSelection ConfigUpdater: Ignore version numbers" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 11:05:45 +0000 (11:05 +0000)]
Merge "SmartSelection ConfigUpdater: Ignore version numbers" into oc-dev

7 years ago[DO NOT MERGE] Fix potential NPE in Trampoline.requestBackup().
Artem Iglikov [Fri, 21 Apr 2017 08:50:56 +0000 (09:50 +0100)]
[DO NOT MERGE] Fix potential NPE in Trampoline.requestBackup().

Before it was returning null in case the service was not initialized,
but as the method signature has int as the return type, this was boxed
and unboxed which would cause NPE.

Now it will return BackupManager.ERROR_BACKUP_NOT_ALLOWED instead.

This doesn't include fix for the test, because it's going to be
cherry-picked into oc-dev, which doesn't have the tests.

Test: manually ran unit tests

Bug: 37535747

Change-Id: I186cf812a4ec67be943b5c4334c82e9af5320b7a

7 years agoMerge "Update Typeface callback docs about error codes" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 09:44:48 +0000 (09:44 +0000)]
Merge "Update Typeface callback docs about error codes" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 21 Apr 2017 09:42:01 +0000 (02:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: I231c6c8609a64f510f3902840053fb056a7e8509
Auto-generated-cl: translation import

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 07:57:49 +0000 (07:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Add local-only hotspot info into tether state change broadcast" into oc-dev
Erik Kline [Fri, 21 Apr 2017 06:53:32 +0000 (06:53 +0000)]
Merge "Add local-only hotspot info into tether state change broadcast" into oc-dev

7 years agoMerge "Don't trigger new partition on fields from SaveInfo" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 06:06:49 +0000 (06:06 +0000)]
Merge "Don't trigger new partition on fields from SaveInfo" into oc-dev

7 years agoMerge "Correctly compute visible views" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 05:15:36 +0000 (05:15 +0000)]
Merge "Correctly compute visible views" into oc-dev

7 years agoAdd local-only hotspot info into tether state change broadcast
Erik Kline [Mon, 17 Apr 2017 07:47:23 +0000 (16:47 +0900)]
Add local-only hotspot info into tether state change broadcast

Test: as follows
    - build
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - manually starting tethering shows Settings and icon updates
Bug: 31466854
Bug: 32163131

Change-Id: I938074587dfeec221c5cdb43a392802ad3fc3589

7 years agoMerge "MediaPlayer/ModularDrm API review: Document/runtime exception update" into...
Hassan Shojania [Fri, 21 Apr 2017 02:58:21 +0000 (02:58 +0000)]
Merge "MediaPlayer/ModularDrm API review: Document/runtime exception update" into oc-dev

7 years agoMerge "Implemented FillResponse.setIgnoredIds()." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 02:54:05 +0000 (02:54 +0000)]
Merge "Implemented FillResponse.setIgnoredIds()." into oc-dev

7 years agoMerge "fix KeyEvent can't correctly finish when inputmethod time out happend" into...
TreeHugger Robot [Fri, 21 Apr 2017 02:36:06 +0000 (02:36 +0000)]
Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" into oc-dev

7 years agoMerge "Stop restoring tasks added before recent is loaded" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 02:12:34 +0000 (02:12 +0000)]
Merge "Stop restoring tasks added before recent is loaded" into oc-dev

7 years agoMerge "media: Change setNextOutputFile to address API review comments." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 02:06:13 +0000 (02:06 +0000)]
Merge "media: Change setNextOutputFile to address API review comments." into oc-dev

7 years agoMerge "Fix #37305009 : Beam crash in secondary users" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 02:04:12 +0000 (02:04 +0000)]
Merge "Fix #37305009 : Beam crash in secondary users" into oc-dev

7 years agoMerge "Auto-generate docs based on annotations." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 02:03:29 +0000 (02:03 +0000)]
Merge "Auto-generate docs based on annotations." into oc-dev

7 years agoMerge "Always create display content with system identity" into oc-dev
Andrii Kulian [Fri, 21 Apr 2017 01:52:15 +0000 (01:52 +0000)]
Merge "Always create display content with system identity" into oc-dev

7 years agoMerge "Update ClipDescription.getTimeStamp to use currentTimeMillis timebase." into...
Sudheer Shanka [Fri, 21 Apr 2017 01:51:22 +0000 (01:51 +0000)]
Merge "Update ClipDescription.getTimeStamp to use currentTimeMillis timebase." into oc-dev

7 years agoMerge "OOM-adjust an app to the foreground for startForegroundService" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 01:42:29 +0000 (01:42 +0000)]
Merge "OOM-adjust an app to the foreground for startForegroundService" into oc-dev

7 years agoDon't trigger new partition on fields from SaveInfo
Felipe Leme [Fri, 21 Apr 2017 01:28:27 +0000 (18:28 -0700)]
Don't trigger new partition on fields from SaveInfo

Fixes: 37551943

Test: existing CtsAutoFillServiceTestCases pass
Test: modified LoginActivityTest.testSaveOnly
Test: new LoginActivityTest.testSaveOnlyOptionalField

Change-Id: I2ae11c4f0aebe63fd02f81fbc37466435e3a2820

7 years agoMerge "Fixed NPE on dump() and other minor fixes..." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 01:20:19 +0000 (01:20 +0000)]
Merge "Fixed NPE on dump() and other minor fixes..." into oc-dev

7 years agoMerge "Fix a11y text location in clipped views" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 01:11:07 +0000 (01:11 +0000)]
Merge "Fix a11y text location in clipped views" into oc-dev

7 years agoImplemented FillResponse.setIgnoredIds().
Felipe Leme [Thu, 20 Apr 2017 22:58:30 +0000 (15:58 -0700)]
Implemented FillResponse.setIgnoredIds().

Fixes: 37424141

Test: existing CtsAutoFillServiceTestCases pass
Test: PartitionedActivityTest.testIgnoredFieldsDontTriggerAutofill

Change-Id: I09bd95230c45d2970080514e25cb53320de49b56

7 years agoMerge "Renaming setAsyncExecutor to setExecutor" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 00:31:05 +0000 (00:31 +0000)]
Merge "Renaming setAsyncExecutor to setExecutor" into oc-dev

7 years agoMerge "browserIntent needs proper flags for PendingIntent" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 00:30:15 +0000 (00:30 +0000)]
Merge "browserIntent needs proper flags for PendingIntent" into oc-dev

7 years agoMerge "Hide API to listen to a11y service state" into oc-dev
Phil Weaver [Fri, 21 Apr 2017 00:11:03 +0000 (00:11 +0000)]
Merge "Hide API to listen to a11y service state" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 21 Apr 2017 00:02:11 +0000 (17:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1add27afc0da8fbc26654fe0b82e194fe5b72514
Auto-generated-cl: translation import

7 years agoCorrectly compute visible views
Philip P. Moltmann [Thu, 20 Apr 2017 22:19:06 +0000 (15:19 -0700)]
Correctly compute visible views

addToSet needs the same set as parameters as it returns. Otherwise the
returned set it overrridden.

In this case only the last visible view was added as the set was
overriden with the invisible views.

Test: CtsAutoFillTestCases
Fixes: 37550229
Change-Id: I80e16cbd8a1af83373d7ea7b0f84a7c4d157119f

7 years agoMerge "Kill running animations on fragment view's when removed." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 23:52:41 +0000 (23:52 +0000)]
Merge "Kill running animations on fragment view's when removed." into oc-dev

7 years agoMerge "Execute pending transactions after FM state change." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 23:51:03 +0000 (23:51 +0000)]
Merge "Execute pending transactions after FM state change." into oc-dev

7 years agoIgnore request to add starting window if already visible
Wale Ogunwale [Thu, 20 Apr 2017 23:45:13 +0000 (16:45 -0700)]
Ignore request to add starting window if already visible

No need to display a starting winow for an app that already has its
main window visible and drawn.

Test: manual
Change-Id: Ibb6c74d0c5cc91cef335749d7546001fff1f7678
Fixes: 37199644

7 years agoMerge "Added missing important-for-autofill mappings." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 23:43:33 +0000 (23:43 +0000)]
Merge "Added missing important-for-autofill mappings." into oc-dev

7 years agoMerge "Deprecate BSSID Hostlist system API" into oc-dev
Michael Plass [Thu, 20 Apr 2017 23:37:47 +0000 (23:37 +0000)]
Merge "Deprecate BSSID Hostlist system API" into oc-dev

7 years agoAlways create display content with system identity
Andrii Kulian [Thu, 20 Apr 2017 23:02:47 +0000 (16:02 -0700)]
Always create display content with system identity

If an app tried to use a virtual display that it had just created
and add a window to it before it was registered in WM, WM would try
to create a DisplayContent instance. This would be executed with
app's calling identity and fail permission check.
This CL ensures that we always clear the calling identity before
creating display content.

Bug: 37422998
Test: android.display.cts.VirtualDisplayTest#testPrivateVirtualDisplay
Change-Id: I442cca65055886b384a28eeefcc35f2a36e482d0

7 years agoFix #37305009 : Beam crash in secondary users
Christopher Tate [Thu, 20 Apr 2017 23:24:31 +0000 (16:24 -0700)]
Fix #37305009 : Beam crash in secondary users

The background-policy check for a-priori app uids needs to be an appId
check rather than nominal uid.

Along the way, even though the code is not invoked after the boot
sequence currently, make the "is this uid on the a-priori list?"
check thread safe.

Bug 37305009
Test: manual

Change-Id: I7c2525f86e73b213057cd4b7f327191ec20c4a6d

7 years agoSupport fraction type for inset* for InsetDrawable.
Hyunyoung Song [Tue, 14 Mar 2017 07:58:33 +0000 (00:58 -0700)]
Support fraction type for inset* for InsetDrawable.
b/36024318

Test: manually tested on default icons.
Test: $ runtest --path=cts/tests/tests/graphics/src/android/graphics/drawable/cts/InsetDrawableTest.java

adb  shell am instrument -e class 'android.graphics.drawable.cts.InsetDrawableTest' -w 'android.graphics.cts/android.support.test.runner.AndroidJUnitRunner'

android.graphics.drawable.cts.InsetDrawableTest:........................

Time: 0.132

OK (26 tests)

Change-Id: Ie8d24680b6884e65017f07723a371120f5ae610c

7 years agoAuto-generate docs based on annotations.
Jeff Sharkey [Thu, 20 Apr 2017 05:24:18 +0000 (23:24 -0600)]
Auto-generate docs based on annotations.

We have a handful of annotations that we've been sprinkling across
the platform APIs, such as @Nullable, @NonNull, @IntDef, etc.  It
would be really helpful to surface these contracts to developers
through the SDK docs.

This change allows annotations like those mentioned above to declare
the following new javadoc fields:

@memberDoc: docs to append to a field or method definition.
@paramDoc: docs to append to a @param definition.
@returnDoc: docs to append to a @return definition.

This change also builds a docstring to describe the list of all
constants listed in an @IntDef annotation.  Sadly AnnotationDesc
only passes along raw constant values, so we need the help of the
new "prefix" annotation argument to help find the field names.

Test: builds
Bug: 37526420
Change-Id: I4cfc00dd904e5dfa945b406d546e36846b7c0c28

7 years agoFixed NPE on dump() and other minor fixes...
Felipe Leme [Thu, 20 Apr 2017 22:46:18 +0000 (15:46 -0700)]
Fixed NPE on dump() and other minor fixes...

Bug: 36871500
Test: manual verification
Change-Id: I1c3a8406344280da37b728eae56f26447c48e0b2

7 years agoRenaming setAsyncExecutor to setExecutor
Sunny Goyal [Thu, 20 Apr 2017 22:25:47 +0000 (15:25 -0700)]
Renaming setAsyncExecutor to setExecutor

Bug: 37534990
Test: Tests updated
Change-Id: I9ea467d05b4ac4d96c23d53750727096a511686d

7 years agoMerge "Fix status bar not hiding quickly" into oc-dev
Jason Monk [Thu, 20 Apr 2017 22:18:18 +0000 (22:18 +0000)]
Merge "Fix status bar not hiding quickly" into oc-dev

7 years agoOOM-adjust an app to the foreground for startForegroundService
Christopher Tate [Thu, 20 Apr 2017 21:48:13 +0000 (14:48 -0700)]
OOM-adjust an app to the foreground for startForegroundService

That is, OOM adjust it appropriately when the service is kicked off.
Previously it was mistakenly not recognizing the foreground intention
at the OOM level until the service called startForeground(), so there
was a period of inappropriate OOM vulnerability.

Bug 36990485
Test: manual

Change-Id: Ic9b56ef29d5120bf7912681900e9ebaeb0abc5d6

7 years agobrowserIntent needs proper flags for PendingIntent
Jesse Evans [Thu, 20 Apr 2017 21:44:49 +0000 (14:44 -0700)]
browserIntent needs proper flags for PendingIntent

Previously the browserIntent was updated after the call to
PendingIntent.getActivity. It should be updated correctly
before the PendingIntent.getActivity call so that the
PendingIntent is correctly created for the browser instead
of the Instant App.

Test: Existing tests, manually tested fixed behavior.

Bug: 35873804
Change-Id: Ie77344a4190fbc6a3896b02e3adfcdd29985006d

7 years agoMerge "docs: Restoring file to allow staging reference docs from Gerrit" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 21:23:59 +0000 (21:23 +0000)]
Merge "docs: Restoring file to allow staging reference docs from Gerrit" into oc-dev

7 years agomedia: Change setNextOutputFile to address API review comments.
Hangyu Kuang [Thu, 20 Apr 2017 20:53:48 +0000 (13:53 -0700)]
media: Change setNextOutputFile to address API review comments.

Bug: 37514763
Test: CTS test
Change-Id: If0fb59f26ecf3882600ca7a8b26b6c248615bbd0

7 years agoMerge "fix NPE when fragment container is null" into oc-dev
George Mount [Thu, 20 Apr 2017 20:38:07 +0000 (20:38 +0000)]
Merge "fix NPE when fragment container is null" into oc-dev

7 years agofix NPE when fragment container is null
George Mount [Thu, 20 Apr 2017 20:16:52 +0000 (13:16 -0700)]
fix NPE when fragment container is null

Bug 37529822

Test: ran against breaking application

Change-Id: Ib829b817eddf2e91898989a2f9e7885a6f5847e5

7 years agoMerge "Enhance the shortcut manager javadoc." into oc-dev
Makoto Onuki [Thu, 20 Apr 2017 20:14:23 +0000 (20:14 +0000)]
Merge "Enhance the shortcut manager javadoc." into oc-dev

7 years agoMerge "Address API review comments for registerReceiver" into oc-dev
Chad Brubaker [Thu, 20 Apr 2017 19:52:44 +0000 (19:52 +0000)]
Merge "Address API review comments for registerReceiver" into oc-dev

7 years agoQS + DND interaction again
Jason Monk [Thu, 20 Apr 2017 19:51:16 +0000 (15:51 -0400)]
QS + DND interaction again

 - Fix up attach/detach because those aren't good signals for DND
   panels, instead use aggregate visibility
 - Do better initialization on open because filling in that state
   is now important (previously it was guaranteed to be just turned
   on)
 - Fix when forever is selected, if DND is on and doesn't have a
   condition, it doesn't mean we should turn one on.

Test: manual
Change-Id: I61dcf3c2b17179b5867f017c767d0c2d6d4940f3
Fixes: 37366004

7 years agoFix a11y text location in clipped views
Phil Weaver [Thu, 20 Apr 2017 19:11:15 +0000 (12:11 -0700)]
Fix a11y text location in clipped views

Bug: 37482849
Test: Run Select to Speak, open apps, scroll so top row is
partially visible, have it read the screen.

Change-Id: Ibbd51221f8e93372ccff6d5fb57cdc2a09f2c19f

7 years agoMerge "Stop fetching font data if the context is restricted." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 18:56:39 +0000 (18:56 +0000)]
Merge "Stop fetching font data if the context is restricted." into oc-dev

7 years agoUpdate ClipDescription.getTimeStamp to use currentTimeMillis timebase.
Sudheer Shanka [Thu, 20 Apr 2017 18:30:48 +0000 (11:30 -0700)]
Update ClipDescription.getTimeStamp to use currentTimeMillis timebase.

Bug: 37419581
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases -t \
      android.content.cts.ClipDescriptionTest

Change-Id: I699bfc073c471534eee0b3aa0300a6b6682ab8dd

7 years agoEnhance the shortcut manager javadoc.
Makoto Onuki [Mon, 17 Apr 2017 17:55:21 +0000 (10:55 -0700)]
Enhance the shortcut manager javadoc.

Test: make -j offline-sdk-docs
Bug 37418396

Change-Id: Ic82eb45ea232c2f032abaade12ac9ca967c35cae

7 years agoMerge "Fix overlay view not updated during scaling TvView" into oc-dev
Conrad Chen [Thu, 20 Apr 2017 18:08:09 +0000 (18:08 +0000)]
Merge "Fix overlay view not updated during scaling TvView" into oc-dev

7 years agoMerge "StopScan before each new Companion device scan" into oc-dev
Eugene Susla [Thu, 20 Apr 2017 17:50:55 +0000 (17:50 +0000)]
Merge "StopScan before each new Companion device scan" into oc-dev

7 years agoMerge "Moved getAutofillOptions() logic from SpinnerAbs to AdapterView and Adapter...
TreeHugger Robot [Thu, 20 Apr 2017 17:25:15 +0000 (17:25 +0000)]
Merge "Moved getAutofillOptions() logic from SpinnerAbs to AdapterView and Adapter." into oc-dev

7 years agoMerge changes I8953967a,If17eddad into oc-dev
Jason Monk [Thu, 20 Apr 2017 17:24:20 +0000 (17:24 +0000)]
Merge changes I8953967a,If17eddad into oc-dev

* changes:
  Add go to web action for instant apps
  Fix when instant app notif is showing

7 years agoFix/suppress error-prone warnings in framework's fragment.
Aurimas Liutikas [Thu, 30 Mar 2017 23:32:58 +0000 (16:32 -0700)]
Fix/suppress error-prone warnings in framework's fragment.

Bug: 37537860
Test: Compile
Change-Id: I0f30c423a712819ee78d16764acf20386360240f

7 years agoMerge "Use SubscriptionId instead of SubId" into oc-dev
Jordan Liu [Thu, 20 Apr 2017 17:02:50 +0000 (17:02 +0000)]
Merge "Use SubscriptionId instead of SubId" into oc-dev

7 years agoMerge "Remove swipe to exit persistent Vr mode behavior" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 17:02:11 +0000 (17:02 +0000)]
Merge "Remove swipe to exit persistent Vr mode behavior" into oc-dev

7 years agoMerge "Revert "Add new api Activity.getStartInitiatedTime."" into oc-dev
Sudheer Shanka [Thu, 20 Apr 2017 16:32:34 +0000 (16:32 +0000)]
Merge "Revert "Add new api Activity.getStartInitiatedTime."" into oc-dev

7 years agoMerge "Do not pause resumed activity in resumeTopActivityUncheckedLocked." into oc-dev
Bryce Lee [Thu, 20 Apr 2017 16:27:51 +0000 (16:27 +0000)]
Merge "Do not pause resumed activity in resumeTopActivityUncheckedLocked." into oc-dev

7 years agoMerge "Remove QS wifi alpha state animations, they need more work" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 16:17:08 +0000 (16:17 +0000)]
Merge "Remove QS wifi alpha state animations, they need more work" into oc-dev

7 years agoMerge "Fix touch target on QS date" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 16:14:18 +0000 (16:14 +0000)]
Merge "Fix touch target on QS date" into oc-dev

7 years agoMerge "Fix QS label layout" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 16:02:46 +0000 (16:02 +0000)]
Merge "Fix QS label layout" into oc-dev

7 years agoMerge "Fix alpha on wifi disconnected icon" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 15:59:40 +0000 (15:59 +0000)]
Merge "Fix alpha on wifi disconnected icon" into oc-dev

7 years agoMerge "Fix alpha on wifi connected 4 bars no inet icon" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 15:50:41 +0000 (15:50 +0000)]
Merge "Fix alpha on wifi connected 4 bars no inet icon" into oc-dev

7 years agoMerge "Revert "Revert "AudioAttributes: remove static getVolumeControlStream method...
Jean-Michel Trivi [Thu, 20 Apr 2017 15:45:06 +0000 (15:45 +0000)]
Merge "Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""" into oc-dev

7 years agoMerge "Stop hwbinder threads from app_process." into oc-dev
Martijn Coenen [Thu, 20 Apr 2017 15:33:28 +0000 (15:33 +0000)]
Merge "Stop hwbinder threads from app_process." into oc-dev

7 years agoMerge "Redesign QSSecurityFooter dialog" into oc-dev
Philipp Weiß [Thu, 20 Apr 2017 15:28:24 +0000 (15:28 +0000)]
Merge "Redesign QSSecurityFooter dialog" into oc-dev

7 years agoMerge "String fixes in QSFooter" into oc-dev
Philipp Weiß [Thu, 20 Apr 2017 15:26:55 +0000 (15:26 +0000)]
Merge "String fixes in QSFooter" into oc-dev

7 years agoFix status bar not hiding quickly
Jason Monk [Thu, 20 Apr 2017 15:26:36 +0000 (11:26 -0400)]
Fix status bar not hiding quickly

Appears to be from the delay of posting in the CommandQueue, skip
post when possible.

Test: Turn screen off the right back on.
Change-Id: I285b45544f32891ab86fd1f4a4aba3204bcbfdb4
Fixes: 36463611

7 years agoAdded missing important-for-autofill mappings.
Felipe Leme [Thu, 20 Apr 2017 15:21:23 +0000 (08:21 -0700)]
Added missing important-for-autofill mappings.

Bug: 36171235
Test: m update-api
Change-Id: I7bbbe7a323110c89976cab3e4f5c8f4acba407d7

7 years agoSend ACTION_POWER_SAVE_MODE_CHANGED to all user
Tony Mak [Thu, 20 Apr 2017 15:11:10 +0000 (16:11 +0100)]
Send ACTION_POWER_SAVE_MODE_CHANGED to all user

Fix: 36174715

Test: Install an app that listens to ACTION_POWER_SAVE_MODE_CHANGED in
      work profile. Make sure it receives the broadcast.

Change-Id: I26df6710bc996792212d52189cd04bd2d30ac6d1

7 years agoRemove swipe to exit persistent Vr mode behavior
Stephen Kiazyk [Tue, 4 Apr 2017 21:46:59 +0000 (14:46 -0700)]
Remove swipe to exit persistent Vr mode behavior

This behavior is somewhat redundant now
* It is currently already possible to exit Vr mode in normal
circumstances by pressing the X in the top left of the screen.
* If a 'safety hatch' is needed, one can just press the power button,
which will require going through the Don flow again, which can then be
cancelled by pressing the X button.

As it is, the swipe behavior is likely just to cause confusion (and
currently, it puts the device in a bad state where the vr app is still
running, but the screen is blank except for the overlay). My proposition
is just to remove it and use the power button as the safe/guaranteed way
to exit vr mode.

Bug: 36965697
Test: Swiping no longer drops the screen to the overlay when in a
vrflinger application.

Change-Id: I461828f5dce67361a5f4d60c47ac7d6371a4efb3

7 years agoAdd go to web action for instant apps
Jason Monk [Wed, 19 Apr 2017 22:41:06 +0000 (18:41 -0400)]
Add go to web action for instant apps

Test: manual
Change-Id: I8953967ac849f5a5d4129c514172238e17d54df7
Fixes: 35873804

7 years agoFix when instant app notif is showing
Jason Monk [Wed, 19 Apr 2017 21:13:41 +0000 (17:13 -0400)]
Fix when instant app notif is showing

Test: manual
Change-Id: If17eddad60f8207fecf9518430a280261bde5b30
Fixes: 37107497

7 years agoMerge "Do not check user escrow state if synthetic password is not enabled yet" into...
TreeHugger Robot [Thu, 20 Apr 2017 14:56:20 +0000 (14:56 +0000)]
Merge "Do not check user escrow state if synthetic password is not enabled yet" into oc-dev

7 years agoMerge "Make a11y clickable span work after node recycle" into oc-dev
Phil Weaver [Thu, 20 Apr 2017 14:51:37 +0000 (14:51 +0000)]
Merge "Make a11y clickable span work after node recycle" into oc-dev

7 years agoMerge "Vulkan compute 0 only requires variable pointers" into oc-dev
Jesse Hall [Thu, 20 Apr 2017 14:51:33 +0000 (14:51 +0000)]
Merge "Vulkan compute 0 only requires variable pointers" into oc-dev

7 years agofix KeyEvent can't correctly finish when inputmethod time out happend
gaoshang [Thu, 20 Apr 2017 06:14:18 +0000 (14:14 +0800)]
fix KeyEvent can't correctly finish when inputmethod time out happend

Symptom: If inputmethod handle an KeyEvent time out ,
Did not finish this event correctly , eventually lead to app ANR
Root Cause: without seq number when obtainMessage MSG_TIMEOUT_INPUT_EVENT
Solution: add seq parameter

Test: Input
Test: InputMethod
Bug: 28635475

Change-Id: I3a2b964b34aa57267bd777305200a2bfdc66f65c
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
7 years agoMerge "Deprecate Activity#requestVisibleBehind" into oc-dev
Bryce Lee [Thu, 20 Apr 2017 14:19:13 +0000 (14:19 +0000)]
Merge "Deprecate Activity#requestVisibleBehind" into oc-dev

7 years agoDo not pause resumed activity in resumeTopActivityUncheckedLocked.
Bryce Lee [Wed, 19 Apr 2017 17:40:42 +0000 (10:40 -0700)]
Do not pause resumed activity in resumeTopActivityUncheckedLocked.

A number of operations occur between setting the resumed activity and
notifying the activity to resume. One of these steps is updating the
configuration, which can cause the device to pause the resumed
activity. Since the activity has not been told to resume, this leads
to a pause before resume.

This changelist addresses the issue by checking whether we are in the
middle of resuming the top activity before attempting to stop the
currently set resumed activity.

Change-Id: I3b5b61de6b1b5a35b7773912b4e63d6c69096c04
Fixes: 35637717
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackTests#testNoPauseDuringResumeTopActivity

7 years agoMerge "Listen to USER_STARTED instead of USER_ADDED from WebViewUpdateService." into...
Gustav Sennton [Thu, 20 Apr 2017 13:56:59 +0000 (13:56 +0000)]
Merge "Listen to USER_STARTED instead of USER_ADDED from WebViewUpdateService." into oc-dev

7 years agoSmartSelection ConfigUpdater: Ignore version numbers
Abodunrinwa Toki [Wed, 19 Apr 2017 21:00:34 +0000 (22:00 +0100)]
SmartSelection ConfigUpdater: Ignore version numbers

These model files are updated when the user changes the device
language. When this happens, there is no guarantee that the new model
file (e.g. in English) has a higher version number than the old model
file (e.g. in Italian).

Test: none
Bug: 34780396
Change-Id: Ida70c5cd85fe246d4085a299711ad8838dafa1e9

7 years agoMerge changes from topics 'smartselectconfig', 'langidconfig' into oc-dev
Abodunrinwa Toki [Thu, 20 Apr 2017 13:30:30 +0000 (13:30 +0000)]
Merge changes from topics 'smartselectconfig', 'langidconfig' into oc-dev

* changes:
  SmartSelection Config installer.
  LangId Config installer.