OSDN Git Service

android-x86/frameworks-base.git
7 years agoAdd access tracker to renamed accounts
Svetoslav Ganov [Sat, 17 Sep 2016 00:29:05 +0000 (17:29 -0700)]
Add access tracker to renamed accounts

We are adding access tracker to accounts cached by the
account manager to know when a process saw the account
to white list it for future access. The bug here was
that we didn't return the account from the cache but
the tracker is added when the account is cached. Now
the contract is that inserting an account in the cache
returns the instrumented account which is inteded to
be returned to clients.

bug:28163381
bug:31456742

Change-Id: I5acac1f77a9077b35c5e4892e40d2ab38f3bfc63

7 years agodocs: Clarification for location permissions and location hardware am: 1294dde183
Joe Fernandez [Fri, 16 Sep 2016 23:07:57 +0000 (23:07 +0000)]
docs: Clarification for location permissions and location hardware am: 1294dde183
am: f157e31a6c

Change-Id: I71593836a6d7aeaedcb721c010a75d33fca94545

7 years agodocs: Clarification for location permissions and location hardware
Joe Fernandez [Fri, 16 Sep 2016 22:59:50 +0000 (22:59 +0000)]
docs: Clarification for location permissions and location hardware
am: 1294dde183

Change-Id: I8c203d879fc3bfa2f7061c28d280ad8fa4557fd0

7 years agoMerge "docs: Added v7 Palette library documentation and images to DAC training. https...
Kylie Jue [Fri, 16 Sep 2016 22:44:46 +0000 (22:44 +0000)]
Merge "docs: Added v7 Palette library documentation and images to DAC training. https://android-dot-devsite.googleplex.com/training/material/palette-colors.html" into nyc-dev am: eae7f0b513
am: 6e9712663c

Change-Id: I96b5cff9de80098c17cd337e983f5c203697bca8

7 years agodocs: Added v7 Palette library documentation and images to DAC training. https:/...
Kylie Jue [Fri, 16 Sep 2016 22:24:00 +0000 (22:24 +0000)]
docs: Added v7 Palette library documentation and images to DAC training. https://android-dot-devsite.googleplex.com/training/material/palette-colors.html am: 70db4fab5c
am: 2c550571c6

Change-Id: Ib3aeef493ccdaa956ee2dfc277d94ca95f65bc11

7 years agoCatch all exceptions when parsing IME meta data am: dddc438e97
Tadashi G. Takaoka [Fri, 16 Sep 2016 22:18:25 +0000 (22:18 +0000)]
Catch all exceptions when parsing IME meta data am: dddc438e97
am: 4413895132

Change-Id: I7b8826109b5bf7a84087b28242eb2397796cc23a

7 years agoMerge "docs: Added v7 Palette library documentation and images to DAC training. https...
Kylie Jue [Fri, 16 Sep 2016 22:13:19 +0000 (22:13 +0000)]
Merge "docs: Added v7 Palette library documentation and images to DAC training. https://android-dot-devsite.googleplex.com/training/material/palette-colors.html" into nyc-dev
am: eae7f0b513

Change-Id: I316f068ab36de551622ef6c06f237ba75f783754

7 years agodocs: Added v7 Palette library documentation and images to DAC training. https:/...
Kylie Jue [Fri, 16 Sep 2016 22:13:16 +0000 (22:13 +0000)]
docs: Added v7 Palette library documentation and images to DAC training. https://android-dot-devsite.googleplex.com/training/material/palette-colors.html
am: 70db4fab5c

Change-Id: I314b0958c386f5954751cd4af82ce6a8c9258b8f

7 years agoCatch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Fri, 16 Sep 2016 22:05:04 +0000 (22:05 +0000)]
Catch all exceptions when parsing IME meta data
am: dddc438e97

Change-Id: I9f804f593e7435d5efff120c861353a9841bd479

7 years agoMerge "Slow RecyclerView item binding benchmark" into nyc-mr1-dev
Chris Craik [Fri, 16 Sep 2016 22:01:37 +0000 (22:01 +0000)]
Merge "Slow RecyclerView item binding benchmark" into nyc-mr1-dev

7 years agoMerge "docs: Added v7 Palette library documentation and images to DAC training. https...
Kylie Jue [Fri, 16 Sep 2016 21:51:15 +0000 (21:51 +0000)]
Merge "docs: Added v7 Palette library documentation and images to DAC training. https://android-dot-devsite.googleplex.com/training/material/palette-colors.html" into nyc-dev

7 years agodocs: Clarification for location permissions and location hardware
Joe Fernandez [Fri, 16 Sep 2016 16:51:48 +0000 (09:51 -0700)]
docs: Clarification for location permissions and location hardware

b/28052540

Change-Id: I54fa08a3339c1d373164a003a02adeed156fa331

7 years agoCollect status on uncrypt time cost
Tianjie Xu [Fri, 9 Sep 2016 18:27:32 +0000 (11:27 -0700)]
Collect status on uncrypt time cost

Read and report time cost of uncrypt (in seconds) from last_install.

Bug: 31383361

Change-Id: I283970c33b2a0324f2f51cde328e3e527eff7c58
(cherry picked from commit 3477efce30b1d7f6f8bd07e31d9f1befadda2a34)

7 years agoMerge "Don't update publisher version code without scanning manifest" into nyc-mr1-dev
Makoto Onuki [Fri, 16 Sep 2016 18:50:25 +0000 (18:50 +0000)]
Merge "Don't update publisher version code without scanning manifest" into nyc-mr1-dev

7 years agoMerge "Remove synchronization from getCurrentInputMethodSubtype()" into nyc-mr1-dev
Yohei Yukawa [Fri, 16 Sep 2016 17:34:46 +0000 (17:34 +0000)]
Merge "Remove synchronization from getCurrentInputMethodSubtype()" into nyc-mr1-dev

7 years agoUpdate the avoid bad wifi settings on the handler thread.
Lorenzo Colitti [Fri, 16 Sep 2016 17:32:09 +0000 (17:32 +0000)]
Update the avoid bad wifi settings on the handler thread.
am: 2618c1b7f0

Change-Id: I595949881353f5779ed2bb55ff05f27b513cd6de

7 years agodocs: Added v7 Palette library documentation and images to DAC training.
Kylie Jue [Thu, 8 Sep 2016 22:28:47 +0000 (15:28 -0700)]
docs: Added v7 Palette library documentation and images to DAC training.
https://android-dot-devsite.googleplex.com/training/material/palette-colors.html

Bug: 30034142

Change-Id: I1e82b82a84def6ef72e0401418085694d5bbeee2

7 years agoMerge "Fix system crash due to mismatching begin/finishBroadcast()" into nyc-mr1-dev
Makoto Onuki [Fri, 16 Sep 2016 17:13:15 +0000 (17:13 +0000)]
Merge "Fix system crash due to mismatching begin/finishBroadcast()" into nyc-mr1-dev

7 years agoUpdate the avoid bad wifi settings on the handler thread.
Lorenzo Colitti [Fri, 16 Sep 2016 14:43:38 +0000 (23:43 +0900)]
Update the avoid bad wifi settings on the handler thread.

Currently, every call to avoidBadWifi fetches the current value
of the config variable and setting whenever it is called. This
means that the score of an unvalidated wifi network can
unpredictably change at any time, creating a data race.

Instead, persist the value and only update it when something
changes.

Bug: 31075769
Change-Id: I0f4e0e742c91ef77fabc95d3ebb494338396aca5

7 years agoDisable network switching toasts on Verizon.
Hugo Benichi [Fri, 16 Sep 2016 13:03:21 +0000 (13:03 +0000)]
Disable network switching toasts on Verizon.
am: 8041e897de

Change-Id: I561309ef9878d712ece49337ee835954869f8864

7 years agoDisable network switching toasts on Verizon.
Hugo Benichi [Thu, 15 Sep 2016 08:07:34 +0000 (17:07 +0900)]
Disable network switching toasts on Verizon.

Bug: 31025214
Bug: 31075769
Change-Id: I08fb351b713734f29b9c2caf69dfba2e1d73ca05

7 years agoRemove synchronization from getCurrentInputMethodSubtype()
Gopal Krishna Shukla [Thu, 30 Jun 2016 06:04:21 +0000 (11:34 +0530)]
Remove synchronization from getCurrentInputMethodSubtype()

getCurrentInputMethodSubtype() acquires InputManagerService.mMethodMap
within its body. There seems to be no reason for holding
InputMethodManager.mH to call getCurrentInputMethodSubtype(). Holding mH
can cause potential deadlock b/w two threads acquiring mH and mMethodMap
in different orders.

Bug: 31247871
Bug: 31273203
Bug: b.android.com/218423
Change-Id: I20cf2c20f49b1b02c0f7a18257b49d4bcc081b5d

7 years agoCatch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Fri, 16 Sep 2016 02:41:07 +0000 (11:41 +0900)]
Catch all exceptions when parsing IME meta data

Bug: 30568284
Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2

7 years agoMerge "MediaPlayer: add comments of restriction for setNextMediaPlayer." into nyc...
Wei Jia [Fri, 16 Sep 2016 00:24:14 +0000 (00:24 +0000)]
Merge "MediaPlayer: add comments of restriction for setNextMediaPlayer." into nyc-mr1-dev

7 years agoMerge "Fix scope for visualizer object release" into nyc-mr1-dev
Ricardo Garcia [Thu, 15 Sep 2016 23:22:21 +0000 (23:22 +0000)]
Merge "Fix scope for visualizer object release" into nyc-mr1-dev

7 years agoMerge "Do not show roaming icon for Personal operator of Argentina" into nyc-mr1-dev
TreeHugger Robot [Thu, 15 Sep 2016 22:48:42 +0000 (22:48 +0000)]
Merge "Do not show roaming icon for Personal operator of Argentina" into nyc-mr1-dev

7 years agoMerge "Handle charging state separately from temporary parole" into nyc-mr1-dev
TreeHugger Robot [Thu, 15 Sep 2016 22:01:39 +0000 (22:01 +0000)]
Merge "Handle charging state separately from temporary parole" into nyc-mr1-dev

7 years agoMediaPlayer: add comments of restriction for setNextMediaPlayer.
Wei Jia [Thu, 15 Sep 2016 21:54:35 +0000 (14:54 -0700)]
MediaPlayer: add comments of restriction for setNextMediaPlayer.

Bug: 31517393
Change-Id: I50d1c6cb45d2544b0dcc8f0a3e7cc5818fcd024e

7 years agoMerge "Adding advanced pattern support to PatternMatcher" into nyc-mr1-dev
Patrick Baumann [Thu, 15 Sep 2016 21:20:32 +0000 (21:20 +0000)]
Merge "Adding advanced pattern support to PatternMatcher" into nyc-mr1-dev

7 years agoDo not show roaming icon for Personal operator of Argentina
Sungmin Choi [Mon, 25 Jul 2016 01:11:46 +0000 (10:11 +0900)]
Do not show roaming icon for Personal operator of Argentina

Bug: 30344976
Change-Id: I99d6f42c56c48f9700c6b26d0090fa5ed6737b0c

7 years agoHandle charging state separately from temporary parole
Amith Yamasani [Tue, 13 Sep 2016 21:24:01 +0000 (14:24 -0700)]
Handle charging state separately from temporary parole

Don't use the parole state to deal with the plugged-in trigger.
Otherwise standby apps will only be paroled for a few minutes
after plugging in to charge and not the entire duration.

Use a different intent for charging state, since the CHARGING
intent takes several seconds to be received.

A refactor some time ago changed the charging state behavior
that caused this regression.

Bug: 31399882
Change-Id: Ic036de5e136b3151b225473d0c3f440adb3b48e7

7 years agoFix system crash due to mismatching begin/finishBroadcast()
Makoto Onuki [Thu, 15 Sep 2016 19:52:57 +0000 (12:52 -0700)]
Fix system crash due to mismatching begin/finishBroadcast()

Bug 31449363

Change-Id: I514196355a2566c5e4f7f3af91fbf3c57cb67a48

7 years agoMerge "MediaExtractor: clarify EOS behavior for local files" into nyc-mr1-dev
Robert Shih [Thu, 15 Sep 2016 19:57:17 +0000 (19:57 +0000)]
Merge "MediaExtractor: clarify EOS behavior for local files" into nyc-mr1-dev

7 years agoFix scope for visualizer object release
rago [Thu, 15 Sep 2016 00:33:45 +0000 (17:33 -0700)]
Fix scope for visualizer object release

Bug: 30684284
Change-Id: I4170511c6c7f36aa1bce3e439054bc6b8a4a2623

7 years agoAdding advanced pattern support to PatternMatcher
Patrick Baumann [Thu, 25 Aug 2016 22:56:46 +0000 (15:56 -0700)]
Adding advanced pattern support to PatternMatcher

This change adds a new pathMatch attribute to the intent-filter tag
that supports a subset of regular expression syntax. Supported
tokens include dot (.) and set ([]) and supported modifiers include
zero-or-more (*), one-or-more(+) and ranges ({}).

Change-Id: I2ec3bc8a9eb3e94d21caf34a1ed0f3fd3fb33a35
Bug: 30805203

7 years agoMerge "Non-blockable notification packages." into nyc-mr1-dev
Julia Reynolds [Thu, 15 Sep 2016 17:01:52 +0000 (17:01 +0000)]
Merge "Non-blockable notification packages." into nyc-mr1-dev

7 years agoMerge "docs: Add docs on OnboardingFragment" into nyc-dev am: f3f6921b57
Dan Yu [Thu, 15 Sep 2016 16:28:27 +0000 (16:28 +0000)]
Merge "docs: Add docs on OnboardingFragment" into nyc-dev am: f3f6921b57
am: 4802f77335

Change-Id: Iaef0eff44fd3c8d1007e4aa9ab1f9465fabf574c

7 years agodocs: Add docs on OnboardingFragment am: d64f8bfe1f
Daniel Yu [Thu, 15 Sep 2016 16:28:23 +0000 (16:28 +0000)]
docs: Add docs on OnboardingFragment am: d64f8bfe1f
am: 31d62b3284

Change-Id: I8a05e9836dfb02375157b0685cd21ef071328815

7 years agoMerge "docs: Add docs on OnboardingFragment" into nyc-dev
Dan Yu [Thu, 15 Sep 2016 16:22:12 +0000 (16:22 +0000)]
Merge "docs: Add docs on OnboardingFragment" into nyc-dev
am: f3f6921b57

Change-Id: I4ee66e11815954bc5566004536cdc7c5c6ba5639

7 years agodocs: Add docs on OnboardingFragment
Daniel Yu [Thu, 15 Sep 2016 16:22:05 +0000 (16:22 +0000)]
docs: Add docs on OnboardingFragment
am: d64f8bfe1f

Change-Id: I5d4a7269c6b33604888a5df6f14a728caef7ef7b

7 years agoMerge "docs: Add docs on OnboardingFragment" into nyc-dev
Dan Yu [Thu, 15 Sep 2016 16:13:18 +0000 (16:13 +0000)]
Merge "docs: Add docs on OnboardingFragment" into nyc-dev

7 years agoUnit tests for avoid bad wifi networks setting.
Lorenzo Colitti [Thu, 15 Sep 2016 16:05:45 +0000 (16:05 +0000)]
Unit tests for avoid bad wifi networks setting.
am: 73b20938c7

Change-Id: I6491f1a93f93f222e23ef6e5e437631556637e44

7 years agoSupport displaying a dialog when wifi becomes unvalidated.
Lorenzo Colitti [Thu, 15 Sep 2016 16:04:03 +0000 (16:04 +0000)]
Support displaying a dialog when wifi becomes unvalidated.
am: 9be58c5580

Change-Id: I8b8e2b652510ca75407a9ad3c29ed111367941e0

7 years agoMerge "Support ignoring penalty for bad wifi networks" into nyc-dr1-dev
Lorenzo Colitti [Thu, 15 Sep 2016 15:23:59 +0000 (15:23 +0000)]
Merge "Support ignoring penalty for bad wifi networks" into nyc-dr1-dev
am: def7f61932

Change-Id: Ia3c2a115b3c925da1414703667efe39aaa594b46

7 years agoSupport ignoring penalty for bad wifi networks
Hugo Benichi [Thu, 15 Sep 2016 15:23:57 +0000 (15:23 +0000)]
Support ignoring penalty for bad wifi networks
am: c8e9e1229a

Change-Id: I6666ee45e9a08c02444c6268b2232bbe8aa2adec

7 years agoMerge "Explicitly pass old score to updateCapabilities" into nyc-dr1-dev
Lorenzo Colitti [Thu, 15 Sep 2016 15:23:53 +0000 (15:23 +0000)]
Merge "Explicitly pass old score to updateCapabilities" into nyc-dr1-dev
am: 33a900a91d

Change-Id: I23931e80b52bd9921924d44b44c4df37c971f9e4

7 years agoMerge "resolve merge conflicts of f15b282 to nyc-mr1-dev" into nyc-mr1-dev
TreeHugger Robot [Thu, 15 Sep 2016 15:20:12 +0000 (15:20 +0000)]
Merge "resolve merge conflicts of f15b282 to nyc-mr1-dev" into nyc-mr1-dev

7 years agoUnit tests for avoid bad wifi networks setting.
Lorenzo Colitti [Thu, 15 Sep 2016 13:18:09 +0000 (22:18 +0900)]
Unit tests for avoid bad wifi networks setting.

Bug: 31075769
Change-Id: I21ba20df59ddce5731ef1ebe8846b3f00578a674

7 years agoSupport displaying a dialog when wifi becomes unvalidated.
Lorenzo Colitti [Thu, 15 Sep 2016 05:02:29 +0000 (14:02 +0900)]
Support displaying a dialog when wifi becomes unvalidated.

Bug: 31075769
Change-Id: I7a6e7580769365bea930f638bd44edcaa28df134

7 years agoMerge "Support ignoring penalty for bad wifi networks" into nyc-dr1-dev
Lorenzo Colitti [Thu, 15 Sep 2016 14:05:58 +0000 (14:05 +0000)]
Merge "Support ignoring penalty for bad wifi networks" into nyc-dr1-dev

7 years agoresolve merge conflicts of f15b282 to nyc-mr1-dev
Lorenzo Colitti [Thu, 15 Sep 2016 13:47:08 +0000 (22:47 +0900)]
resolve merge conflicts of f15b282 to nyc-mr1-dev

Change-Id: Ib1294563c6ae20454e44bfa5fc9fb2797864b8f5

7 years agoMerge "Ignore HasAlphaLayer flag to fix b/30929229" into nyc-mr1-dev
Yuqian Li [Thu, 15 Sep 2016 13:46:58 +0000 (13:46 +0000)]
Merge "Ignore HasAlphaLayer flag to fix b/30929229" into nyc-mr1-dev

7 years agoMerge "Explicitly pass old score to updateCapabilities" into nyc-dr1-dev
Lorenzo Colitti [Thu, 15 Sep 2016 12:35:30 +0000 (12:35 +0000)]
Merge "Explicitly pass old score to updateCapabilities" into nyc-dr1-dev

7 years agoSupport ignoring penalty for bad wifi networks
Hugo Benichi [Wed, 14 Sep 2016 23:23:08 +0000 (23:23 +0000)]
Support ignoring penalty for bad wifi networks

This patch adds a way to configure devices so that a validated network
that becomes unvalidated is not penalized in the network scoring and
selection logic.

The intent is to prevent devices configured to do so from switching to a
lower scoring network such as cellular networks when a higher scoring
network such as wifi networks loses internet connectivity.

Bug: 31075769
Change-Id: Ie7e0f2607d214a178367fedfbef6c44768fa00a4

7 years agoExplicitly pass old score to updateCapabilities
Hugo Benichi [Thu, 15 Sep 2016 09:18:48 +0000 (18:18 +0900)]
Explicitly pass old score to updateCapabilities

This allows simplification of getCurrentScore function in
NetworkAgentInfo and its return value to depend on everValidated and
lastValidated.

Bug: 31075769
Change-Id: I0b3c85e3a61b006733e900e0a231424878317476

7 years agoMerge "Revert "add dev guide for constraint layout."" into nyc-dev am: a688419378
Scott Main [Thu, 15 Sep 2016 03:51:36 +0000 (03:51 +0000)]
Merge "Revert "add dev guide for constraint layout."" into nyc-dev am: a688419378
am: d320605bde

Change-Id: Ie36c3045c17dc45b118f72b7ee70b6764d271cca

7 years agoRevert "add dev guide for constraint layout." am: e6469e8211
Scott Main [Thu, 15 Sep 2016 03:51:34 +0000 (03:51 +0000)]
Revert "add dev guide for constraint layout." am: e6469e8211
am: cafc00f7df

Change-Id: Id6613682eebc651600dce5530e3bdf538b104190

7 years agoMerge "Revert "add dev guide for constraint layout."" into nyc-dev
Scott Main [Thu, 15 Sep 2016 03:43:25 +0000 (03:43 +0000)]
Merge "Revert "add dev guide for constraint layout."" into nyc-dev
am: a688419378

Change-Id: I910b8c015c547320dd1c62d60214ee9a85d0eddd

7 years agoRevert "add dev guide for constraint layout."
Scott Main [Thu, 15 Sep 2016 03:43:21 +0000 (03:43 +0000)]
Revert "add dev guide for constraint layout."
am: e6469e8211

Change-Id: I75c75dc27464ded7555644e16834421cdd6ffa4f

7 years agoMerge "Revert "add dev guide for constraint layout."" into nyc-dev
Scott Main [Thu, 15 Sep 2016 03:38:39 +0000 (03:38 +0000)]
Merge "Revert "add dev guide for constraint layout."" into nyc-dev

7 years agoRevert "add dev guide for constraint layout."
Scott Main [Thu, 15 Sep 2016 03:37:37 +0000 (03:37 +0000)]
Revert "add dev guide for constraint layout."

studio 2.2 launch delayed

This reverts commit 346f6d395ccf1196a289f4314d26aa026a2dbba5.

Change-Id: I61a555ed3f804dfdc4ef3e9a84e869154206639d

7 years agoMerge "Only return password for account session flow if the caller is signed with...
Hongming Jin [Wed, 14 Sep 2016 23:32:31 +0000 (23:32 +0000)]
Merge "Only return password for account session flow if the caller is signed with system key and have get_password permission." into nyc-dev am: 0c04977949
am: 702b0cb04a

Change-Id: I24e515682ee7903bf2b1f68d0ba00490d48bb6aa

7 years agoOnly return password for account session flow if the caller is signed with system...
Hongming Jin [Wed, 14 Sep 2016 23:32:29 +0000 (23:32 +0000)]
Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6
am: 8b75ebf0bb

Change-Id: I95794bb5269c849fe740576a344e43da4306ac56

7 years agoMediaExtractor: clarify EOS behavior for local files
Robert Shih [Fri, 9 Sep 2016 03:48:52 +0000 (20:48 -0700)]
MediaExtractor: clarify EOS behavior for local files

Bug: 30726795
Change-Id: Iecd0ceb2bd0e32e0ae3387c534e181a2daf2005b

7 years agoMerge "Change bang to x for indication of no internet" into nyc-dr1-dev
Jason Monk [Wed, 14 Sep 2016 23:23:11 +0000 (23:23 +0000)]
Merge "Change bang to x for indication of no internet" into nyc-dr1-dev
am: 72ed4c3735

Change-Id: Ic26c5d2dc64d3c53c9b5f12da7e4419336594ad6

7 years agoMerge "Only return password for account session flow if the caller is signed with...
Hongming Jin [Wed, 14 Sep 2016 23:23:08 +0000 (23:23 +0000)]
Merge "Only return password for account session flow if the caller is signed with system key and have get_password permission." into nyc-dev
am: 0c04977949

Change-Id: I268b499addf728f53a4f8e66f84f45e3bfeed70f

7 years agoChange bang to x for indication of no internet
Jason Monk [Wed, 14 Sep 2016 23:23:08 +0000 (23:23 +0000)]
Change bang to x for indication of no internet
am: d67fbe6201

Change-Id: Ibeb766a13acfe74574009f6df1bac6d1bdd69268

7 years agoOnly return password for account session flow if the caller is signed with system...
Hongming Jin [Wed, 14 Sep 2016 23:23:05 +0000 (23:23 +0000)]
Only return password for account session flow if the caller is signed with system key and have get_password permission.
am: 9342e137c6

Change-Id: I932c85bdc302899b42342d3efc249a5420da764c

7 years agoMerge "Only return password for account session flow if the caller is signed with...
Hongming Jin [Wed, 14 Sep 2016 23:10:34 +0000 (23:10 +0000)]
Merge "Only return password for account session flow if the caller is signed with system key and have get_password permission." into nyc-dev

7 years agoMerge "Change bang to x for indication of no internet" into nyc-dr1-dev
Jason Monk [Wed, 14 Sep 2016 22:35:51 +0000 (22:35 +0000)]
Merge "Change bang to x for indication of no internet" into nyc-dr1-dev

7 years agoMerge "MediaScanner: check build fingerprint for system sound scan" into nyc-mr1-dev
Jean-Michel Trivi [Wed, 14 Sep 2016 22:23:24 +0000 (22:23 +0000)]
Merge "MediaScanner: check build fingerprint for system sound scan" into nyc-mr1-dev

7 years agoMerge "add dev guide for constraint layout." into nyc-dev am: 03ed8f30cb
Scott Main [Wed, 14 Sep 2016 21:50:58 +0000 (21:50 +0000)]
Merge "add dev guide for constraint layout." into nyc-dev am: 03ed8f30cb
am: 58af489c4c

Change-Id: Iae7f60db39619b90380082a1ebe0ef3b3acb2c30

7 years agoadd dev guide for constraint layout. am: 346f6d395c
smain@google.com [Wed, 14 Sep 2016 21:50:54 +0000 (21:50 +0000)]
add dev guide for constraint layout. am: 346f6d395c
am: 9189623177

Change-Id: I08e26134ddad4fb9f7fe5812c4f2cb10d8c50557

7 years agoMerge "add dev guide for constraint layout." into nyc-dev
Scott Main [Wed, 14 Sep 2016 21:44:42 +0000 (21:44 +0000)]
Merge "add dev guide for constraint layout." into nyc-dev
am: 03ed8f30cb

Change-Id: Id7b2a86f14499fe2d98ec3500fe3a790baec2a41

7 years agoadd dev guide for constraint layout.
smain@google.com [Wed, 14 Sep 2016 21:44:34 +0000 (21:44 +0000)]
add dev guide for constraint layout.
am: 346f6d395c

Change-Id: Ide3d87ba6592605478ed12def37d9f63ad3f4e1d

7 years agoMerge "add dev guide for constraint layout." into nyc-dev
Scott Main [Wed, 14 Sep 2016 21:33:07 +0000 (21:33 +0000)]
Merge "add dev guide for constraint layout." into nyc-dev

7 years agoMerge "AudioService: restore A2DP/wired headset auto selection" into nyc-mr1-dev
Eric Laurent [Wed, 14 Sep 2016 21:19:14 +0000 (21:19 +0000)]
Merge "AudioService: restore A2DP/wired headset auto selection" into nyc-mr1-dev

7 years agoOnly return password for account session flow if the caller is signed
Hongming Jin [Fri, 29 Jul 2016 21:29:54 +0000 (14:29 -0700)]
Only return password for account session flow if the caller is signed
with system key and have get_password permission.

Bug: 30455516
Change-Id: I78484c59e4de1dff685ab91a0a8e7a756fffd9bf

7 years agodocs: Fixed language directory issue. am: e9d0adb735 -s ours am: 192688f756
Eric Schmidt [Wed, 14 Sep 2016 21:14:57 +0000 (21:14 +0000)]
docs: Fixed language directory issue. am: e9d0adb735  -s ours am: 192688f756
am: 7c540b370d

Change-Id: I01ecfc47340f9899ebc691f4d69fb06d289c50b1

7 years agodocs: Fixed language directory issue. am: e9d0adb735 -s ours
Eric Schmidt [Wed, 14 Sep 2016 21:07:40 +0000 (21:07 +0000)]
docs: Fixed language directory issue. am: e9d0adb735  -s ours
am: 192688f756

Change-Id: I4900273d9cbd543ad0e22870f02f548816e0af71

7 years agodocs: Fixed language directory issue.
Eric Schmidt [Wed, 14 Sep 2016 20:58:45 +0000 (20:58 +0000)]
docs: Fixed language directory issue.
am: e9d0adb735  -s ours

Change-Id: Icdffa01fe8ee2a9683cee436a2822a243d915c12

7 years agoMediaScanner: check build fingerprint for system sound scan
Jean-Michel Trivi [Wed, 14 Sep 2016 19:37:40 +0000 (12:37 -0700)]
MediaScanner: check build fingerprint for system sound scan

Always scan notification, ringtones and alarm files under /system
  when the build fingerprint has changed since the last scan,
  because the dates on those files is not set correctly
  (by design), and hence cannot be trusted in the date-based
  scanning logic.
Remove some dead code

Bug 30476971

Change-Id: I638c787dc177f7f5fb17c1c2a576be190c1c85f9

7 years agoMerge "Improve swiping to reveal gear for ongoing notifications with time check"...
Mady Mellor [Wed, 14 Sep 2016 19:34:31 +0000 (19:34 +0000)]
Merge "Improve swiping to reveal gear for ongoing notifications with time check" into nyc-mr1-dev

7 years agodocs: Fixed language directory issue.
Eric Schmidt [Sun, 11 Sep 2016 22:51:35 +0000 (15:51 -0700)]
docs: Fixed language directory issue.

Bug: 31096141
Change-Id: Ibc6789f0381b25ec1449e2b180f20c96cb38a0e3

7 years agoMerge "Fix notification being slided over with the gear not showing" into nyc-mr1-dev
Mady Mellor [Wed, 14 Sep 2016 18:51:53 +0000 (18:51 +0000)]
Merge "Fix notification being slided over with the gear not showing" into nyc-mr1-dev

7 years agoNon-blockable notification packages.
Julia Reynolds [Mon, 12 Sep 2016 12:53:47 +0000 (08:53 -0400)]
Non-blockable notification packages.

Adds a resource for listing packages whose notifications users
cannot block.

Bug: 31404047
Change-Id: I6247f0826fe1c2cf080b33fea6b7fdcf1e9f0cc6

7 years agoMerge "Allow direct-boot aware activity to show before profile is unlocked" into...
Rubin Xu [Wed, 14 Sep 2016 16:39:07 +0000 (16:39 +0000)]
Merge "Allow direct-boot aware activity to show before profile is unlocked" into nyc-mr1-dev

7 years agoMerge "Parse -1 as WARNING_DISABLED in NetworkPolicyManager." into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 16:24:18 +0000 (16:24 +0000)]
Merge "Parse -1 as WARNING_DISABLED in NetworkPolicyManager." into nyc-mr1-dev

7 years agoFix notification being slided over with the gear not showing
Mady Mellor [Wed, 14 Sep 2016 15:58:25 +0000 (08:58 -0700)]
Fix notification being slided over with the gear not showing

If a notification is updated to be non-dismissable it gets "snapped back"
into place, if the notification was slid over to show the gear when this
happens it'll snap back to the gear. If the screen is turned off during
this time, the notification tries to reset itself back over the gear.

The translation animator was not cancelled in the reset method, so the gear
visibility would get reset, but the translation animation to snap back
into position would continue. This results in the notification being slid
over but the gear being invisible.

The fix is to simply cancel the animator when the translation is reset.

Bug: 31437688
Change-Id: Icb9d777e30ee3a5578c49475b89f6d46c1096053

7 years agoIgnore HasAlphaLayer flag to fix b/30929229
Yuqian Li [Wed, 14 Sep 2016 15:14:06 +0000 (11:14 -0400)]
Ignore HasAlphaLayer flag to fix b/30929229

BUG:30929229
Change-Id: Iebadc6b3d224efa0554cbbb99ea43f871c28722b

7 years agoChange bang to x for indication of no internet
Jason Monk [Wed, 14 Sep 2016 15:14:06 +0000 (11:14 -0400)]
Change bang to x for indication of no internet

Bug: 31271895
Change-Id: I14f71974f0549991d448fe68b30573d2ae033b19

7 years agoMerge "Fixed NPE when pause is complete on a dead app." into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 13:49:57 +0000 (13:49 +0000)]
Merge "Fixed NPE when pause is complete on a dead app." into nyc-mr1-dev

7 years agoAllow direct-boot aware activity to show before profile is unlocked
Rubin Xu [Thu, 28 Jul 2016 13:34:26 +0000 (14:34 +0100)]
Allow direct-boot aware activity to show before profile is unlocked

Work profile challenge is shown by intercepting normal activity launching and
replacing it with the confirm credential activity. For direct boot aware
activities, they should be able to be displayed when the work profile is
still locked, so add a conditional in the activity intercepting logic to bypass
work challenge in this case.

Also launching work profile activities from notification is handled specially
in order to avoid dismissing the notification if the work challenge is canceled,
so add similar logic there to allow direct boot aware activity to go through.

Bug: 30296144
Change-Id: Ib6395271cee2d4781009bb08d50351d73824de0c

7 years agoMerge "Add test coverage for background networks." into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 03:17:44 +0000 (03:17 +0000)]
Merge "Add test coverage for background networks." into nyc-mr1-dev

7 years agoAudioService: restore A2DP/wired headset auto selection
Eric Laurent [Tue, 13 Sep 2016 18:22:52 +0000 (11:22 -0700)]
AudioService: restore A2DP/wired headset auto selection

Restore automatic routing behavior when wired headset or BT headset
is connected.
This behavior was changed by commit 0234587b
This change mostly reverts 0234587b but keeps public methods
setBluetoothA2dpOn() and isBluetoothA2dpOn() deprecated with
stub implementations.

Bug: 30963785
Bug: 31424965
Change-Id: I90ea04584df595a778993595ad0076fef809ed98

7 years agoMerge "OtaDexoptService: Add tron logging" into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 01:21:22 +0000 (01:21 +0000)]
Merge "OtaDexoptService: Add tron logging" into nyc-mr1-dev

7 years agoFixed NPE when pause is complete on a dead app.
Wale Ogunwale [Tue, 13 Sep 2016 23:34:57 +0000 (16:34 -0700)]
Fixed NPE when pause is complete on a dead app.

Cause by trying to stop freezing the screen on an activity
record whose refrence we already set to null because the app
is dead. WM will no longer freeze the screen for a dead app.

Bug: 31441504
Change-Id: I6617a5536bce5748b2f4559428ee856f54f0ab81

7 years agoOtaDexoptService: Add tron logging
Andreas Gampe [Tue, 13 Sep 2016 18:12:13 +0000 (11:12 -0700)]
OtaDexoptService: Add tron logging

Log key properties of A/B OTA dexopting.

Bug: 31458900
Change-Id: Iba1e5a40ff8b4998d4d876800ee59940f01afb6e

7 years agoMerge "Strengthen language about use of a11y API." into nyc-mr1-dev
Phil Weaver [Tue, 13 Sep 2016 22:17:00 +0000 (22:17 +0000)]
Merge "Strengthen language about use of a11y API." into nyc-mr1-dev

7 years agoSlow RecyclerView item binding benchmark
Chris Craik [Tue, 6 Sep 2016 18:06:44 +0000 (11:06 -0700)]
Slow RecyclerView item binding benchmark

bug:27106058
bug:31063101

Change-Id: Ib903a31be707ba16fccf95cbbe24cd0f0b3baee3