OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "AOD: Delay wakeup until interaction with notification"
Adrian Roos [Tue, 24 Jan 2017 19:06:11 +0000 (19:06 +0000)]
Merge "AOD: Delay wakeup until interaction with notification"

7 years agoMerge "Don't lower priority of EGL Init thread" into nyc-mr2-dev am: 9294b75354
Jesse Hall [Tue, 24 Jan 2017 19:00:15 +0000 (19:00 +0000)]
Merge "Don't lower priority of EGL Init thread" into nyc-mr2-dev am: 9294b75354
am: b0309b885d

Change-Id: If8bdc3e397757223ee1eb8aa9f779c25c88b5ff0

7 years agoDon't lower priority of EGL Init thread am: 37e63c705e
Jesse Hall [Tue, 24 Jan 2017 18:59:00 +0000 (18:59 +0000)]
Don't lower priority of EGL Init thread am: 37e63c705e
am: e8a5df8530

Change-Id: I5fe07a9c459e8be4e5ef19aca8d750eecfd44bb3

7 years agoMerge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d29...
Paul Duffin [Tue, 24 Jan 2017 18:57:58 +0000 (18:57 +0000)]
Merge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d298a am: a07f9d522b am: 5aa7e5b46f
am: 762b31f7a4  -s ours

Change-Id: I706c89818b7b27c674e6f5d2d987128269fb6bd6

7 years agoMerge "Merge "Expose more ICU4J APIs." am: e5f0221f06 am: 5272231259 am: 94eb984734...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:55:55 +0000 (18:55 +0000)]
Merge "Merge "Expose more ICU4J APIs." am: e5f0221f06 am: 5272231259 am: 94eb984734 am: e4fe6c283f"

7 years agoMerge "Expose more ICU4J APIs." am: e5f0221f06 am: 5272231259 am: 94eb984734
Joachim Sauer [Tue, 24 Jan 2017 18:54:43 +0000 (18:54 +0000)]
Merge "Expose more ICU4J APIs." am: e5f0221f06 am: 5272231259 am: 94eb984734
am: e4fe6c283f

Change-Id: I512606cdb9d6b1b793c5f8d3ac0f03967a4a5f02

7 years agoMerge "Merge "All upstream mobile connection management is now in UpstreamNetworkMoni...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:52:51 +0000 (18:52 +0000)]
Merge "Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor" am: c1987487a2 am: 555812a3e2 am: 65e01ec4ed am: 0b4b94b085"

7 years agoMerge "All upstream mobile connection management is now in UpstreamNetworkMonitor...
Erik Kline [Tue, 24 Jan 2017 18:52:06 +0000 (18:52 +0000)]
Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor" am: c1987487a2 am: 555812a3e2 am: 65e01ec4ed
am: 0b4b94b085

Change-Id: I25d009155441f1f3c58f03a11d9b93808d62d963

7 years agoMerge "DO NOT MERGE frameworks-test: adding missing @SmallTest am: 141923e5b6 -s...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:51:37 +0000 (18:51 +0000)]
Merge "DO NOT MERGE frameworks-test: adding missing @SmallTest am: 141923e5b6  -s ours"

7 years agoDO NOT MERGE frameworks-test: adding missing @SmallTest
Hugo Benichi [Tue, 24 Jan 2017 18:50:34 +0000 (18:50 +0000)]
DO NOT MERGE frameworks-test: adding missing @SmallTest
am: 141923e5b6  -s ours

Change-Id: I8499fb3133f75170de4cfb177ab538d155ccc738

7 years agoMerge "Merge "support suw and post-suw cases for default app" am: 9fc8d99c76 am:...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:50:17 +0000 (18:50 +0000)]
Merge "Merge "support suw and post-suw cases for default app" am: 9fc8d99c76 am: ea55399ecc am: f2a5e432b0 am: 5ef316e34d"

7 years agoMerge "support suw and post-suw cases for default app" am: 9fc8d99c76 am: ea55399ecc...
Chen Xu [Tue, 24 Jan 2017 18:49:06 +0000 (18:49 +0000)]
Merge "support suw and post-suw cases for default app" am: 9fc8d99c76 am: ea55399ecc am: f2a5e432b0
am: 5ef316e34d

Change-Id: Ib32941ab4965e1554e8e7bdd228fa59f860451a1

7 years agoMerge changes from topic 'am-20fc942671704f459c945a1b626498cb'
Android Build Merger (Role) [Tue, 24 Jan 2017 18:48:35 +0000 (18:48 +0000)]
Merge changes from topic 'am-20fc942671704f459c945a1b626498cb'

* changes:
  Merge "Change HFP Client API to support multi device am: c8399321e9" into nyc-mr2-dev-plus-aosp am: 9ac9632ed3
  Change HFP Client API to support multi device am: c8399321e9 am: 3978435d5a

7 years agoMerge "Increase Night Display transition to 3 seconds"
Christine Franks [Tue, 24 Jan 2017 18:46:41 +0000 (18:46 +0000)]
Merge "Increase Night Display transition to 3 seconds"

7 years agoMerge "Change HFP Client API to support multi device am: c8399321e9" into nyc-mr2...
Sanket Agarwal [Tue, 24 Jan 2017 18:46:11 +0000 (18:46 +0000)]
Merge "Change HFP Client API to support multi device am: c8399321e9" into nyc-mr2-dev-plus-aosp
am: 9ac9632ed3

Change-Id: I544e52352fd8d66c8f2028ad610f13aa9d6d6ba6

7 years agoChange HFP Client API to support multi device am: c8399321e9
Sanket Agarwal [Tue, 24 Jan 2017 18:45:43 +0000 (18:45 +0000)]
Change HFP Client API to support multi device am: c8399321e9
am: 3978435d5a

Change-Id: Ib9b59a18cb9633caa63c5ac723e9e12c1138f513

7 years agoMerge "Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am: 70f920fa...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:45:10 +0000 (18:45 +0000)]
Merge "Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am: 70f920fa0c am: 5c2aa05bfb"

7 years agoMerge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am: 70f920fa0c
Ta-wei Yen [Tue, 24 Jan 2017 18:43:58 +0000 (18:43 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am: 70f920fa0c
am: 5c2aa05bfb

Change-Id: I583722ca6ac52499d027f6660393647e6051a4c5

7 years agoMerge "Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4 am: e696c3d911"
Android Build Merger (Role) [Tue, 24 Jan 2017 18:43:24 +0000 (18:43 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4 am: e696c3d911"

7 years agoFix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4
Ta-wei Yen [Tue, 24 Jan 2017 18:42:46 +0000 (18:42 +0000)]
Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4
am: e696c3d911

Change-Id: I380e1a15f1c13009b876dd0347ef811cd3f70aed

7 years agoMerge "Merge "Mark the INetworkScoreCache as oneway." am: edadb3efc3 am: 4fcc44dc9a...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:42:22 +0000 (18:42 +0000)]
Merge "Merge "Mark the INetworkScoreCache as oneway." am: edadb3efc3 am: 4fcc44dc9a am: ea65f9d392 am: 577aac1385"

7 years agoMerge "Mark the INetworkScoreCache as oneway." am: edadb3efc3 am: 4fcc44dc9a am:...
Jeremy Joslin [Tue, 24 Jan 2017 18:41:47 +0000 (18:41 +0000)]
Merge "Mark the INetworkScoreCache as oneway." am: edadb3efc3 am: 4fcc44dc9a am: ea65f9d392
am: 577aac1385

Change-Id: I9044cfa8445014d08bc416e46811c57e5972d653

7 years agoMerge "Merge "Query for the settings package in KeyguardManager instead of hardcoding...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:41:22 +0000 (18:41 +0000)]
Merge "Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: 20d79203be am: 60e03c36b7"

7 years agoMerge "Query for the settings package in KeyguardManager instead of hardcoding it...
Nancy Zheng [Tue, 24 Jan 2017 18:40:42 +0000 (18:40 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: 20d79203be
am: 60e03c36b7

Change-Id: I5790f4748bf2b3f09b4d2efb66ecba117d289844

7 years agoMerge "Query for the settings package in KeyguardManager instead of hardcoding it...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:40:18 +0000 (18:40 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it. am: e256a18dcd am: 11bdbd1145 am: 52b8412742"

7 years agoQuery for the settings package in KeyguardManager instead of hardcoding it. am: e256a...
Nancy Zheng [Tue, 24 Jan 2017 18:39:42 +0000 (18:39 +0000)]
Query for the settings package in KeyguardManager instead of hardcoding it. am: e256a18dcd am: 11bdbd1145
am: 52b8412742

Change-Id: I050903bafefed0d80961901ac98d67f7cc22dfaa

7 years agoMerge "Merge "Query for the settings package in KeyguardManager instead of hardcoding...
Android Build Merger (Role) [Tue, 24 Jan 2017 18:39:23 +0000 (18:39 +0000)]
Merge "Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: d0c5f0047f am: 7a86073718"

7 years agoMerge "Adding AppOps setting for entering PiP when hidden."
TreeHugger Robot [Tue, 24 Jan 2017 18:38:49 +0000 (18:38 +0000)]
Merge "Adding AppOps setting for entering PiP when hidden."

7 years agoMerge "Query for the settings package in KeyguardManager instead of hardcoding it...
Nancy Zheng [Tue, 24 Jan 2017 18:38:41 +0000 (18:38 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: d0c5f0047f
am: 7a86073718

Change-Id: I9c1cc2e674be02d9440024c3b64432cf0c3d371d

7 years agoMerge "Fixing error calculating the top pinned activity."
TreeHugger Robot [Tue, 24 Jan 2017 18:20:09 +0000 (18:20 +0000)]
Merge "Fixing error calculating the top pinned activity."

7 years agoMerge "Don't lower priority of EGL Init thread" into nyc-mr2-dev
Jesse Hall [Tue, 24 Jan 2017 18:13:13 +0000 (18:13 +0000)]
Merge "Don't lower priority of EGL Init thread" into nyc-mr2-dev
am: 9294b75354

Change-Id: I8caf1f80fdbbf43198594c9072b8418f78818f09

7 years agoDon't lower priority of EGL Init thread
Jesse Hall [Tue, 24 Jan 2017 18:13:07 +0000 (18:13 +0000)]
Don't lower priority of EGL Init thread
am: 37e63c705e

Change-Id: Icd21c9243558f4427d48f967f4ea4ae7aa1e2b02

7 years agoMerge "Don't lower priority of EGL Init thread" into nyc-mr2-dev
Jesse Hall [Tue, 24 Jan 2017 18:08:12 +0000 (18:08 +0000)]
Merge "Don't lower priority of EGL Init thread" into nyc-mr2-dev

7 years agoMerge "Add long-click to app info for plugin settings"
Jason Monk [Tue, 24 Jan 2017 17:49:43 +0000 (17:49 +0000)]
Merge "Add long-click to app info for plugin settings"

7 years agoMerge "Add Settings.Global configs to high temp warning."
Andrew Sapperstein [Tue, 24 Jan 2017 17:34:28 +0000 (17:34 +0000)]
Merge "Add Settings.Global configs to high temp warning."

7 years agoMerge changes I5df77ae5,Ice538d09,I2451be87,I953ab6cb,Ie1b8debc
Jorim Jaggi [Tue, 24 Jan 2017 17:32:28 +0000 (17:32 +0000)]
Merge changes I5df77ae5,Ice538d09,I2451be87,I953ab6cb,Ie1b8debc

* changes:
  If the surface of a window is displayed, screenshot
  Update starting window fade out to spec
  Fill task snapshot with background color
  Add starting windows while unlocking
  Starting window tests, yay!

7 years agoMerge "Fix crash on user switch"
TreeHugger Robot [Tue, 24 Jan 2017 17:23:04 +0000 (17:23 +0000)]
Merge "Fix crash on user switch"

7 years agoMerge "Implement time markers for TTS."
Niels Egberts [Tue, 24 Jan 2017 17:19:30 +0000 (17:19 +0000)]
Merge "Implement time markers for TTS."

7 years agoAdding AppOps setting for entering PiP when hidden.
Winson Chung [Sat, 21 Jan 2017 00:14:51 +0000 (16:14 -0800)]
Adding AppOps setting for entering PiP when hidden.

- In O, apps can request to enter picture-in-picture when the user
  effectively leaves their activity for another task by default. To
  prevent this from being abused, we need to add a setting for the
  user to disable this behavior per-package in the system level.
  When disabled, any activity from that package will only be able
  to enter picture-in-picture when it is visible and resumed.

Bug: 34520451
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testAppOpsDenyPipOnPause
Change-Id: Ib3a993e99ffb071706c6b7d3fb1c882b74acc5d7
Signed-off-by: Winson Chung <winsonc@google.com>
7 years agoMerge "Implement TextClassification-related methods."
TreeHugger Robot [Tue, 24 Jan 2017 16:54:52 +0000 (16:54 +0000)]
Merge "Implement TextClassification-related methods."

7 years agoMerge "Create Public API which exposes if the device is in a state where simultaneous...
Pankaj Kanwar [Tue, 24 Jan 2017 16:47:02 +0000 (16:47 +0000)]
Merge "Create Public API which exposes if the device is in a state where simultaneous voice and data are possible."

7 years agoMerge "Fix ImeSubtypeListItem#compareTo()"
Yohei Yukawa [Tue, 24 Jan 2017 16:37:06 +0000 (16:37 +0000)]
Merge "Fix ImeSubtypeListItem#compareTo()"

7 years agoMerge "Changes the default value of Notification.Action.mAllowGeneratedReplies"
Alexander Hills [Tue, 24 Jan 2017 16:31:38 +0000 (16:31 +0000)]
Merge "Changes the default value of Notification.Action.mAllowGeneratedReplies"

7 years agoMerge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d29...
Paul Duffin [Tue, 24 Jan 2017 16:18:43 +0000 (16:18 +0000)]
Merge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d298a am: a07f9d522b
am: 5aa7e5b46f

Change-Id: I6aede1f1e2216233493cebe3efba43686aa3ad0d

7 years agoMerge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d298a
Paul Duffin [Tue, 24 Jan 2017 16:12:57 +0000 (16:12 +0000)]
Merge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d298a
am: a07f9d522b

Change-Id: I758123e58a78ac515fb4ed0ce8e1647cfd1a3dc8

7 years agoMerge "Prepare for removal of legacy-test from default targets (Part 2)"
Paul Duffin [Tue, 24 Jan 2017 16:08:26 +0000 (16:08 +0000)]
Merge "Prepare for removal of legacy-test from default targets (Part 2)"
am: 5a3a3d298a

Change-Id: I14fd4502454a98baf01f5ace83fe0c583005a52d

7 years agoMerge "Prepare for removal of legacy-test from default targets (Part 2)"
Paul Duffin [Tue, 24 Jan 2017 16:01:59 +0000 (16:01 +0000)]
Merge "Prepare for removal of legacy-test from default targets (Part 2)"

7 years agoFix crash on user switch
Jason Monk [Tue, 24 Jan 2017 15:53:57 +0000 (10:53 -0500)]
Fix crash on user switch

Don't re-register a user switcher while getting a user switched
callback, because that will cause a crash.

Test: switch users.
Fixes: 34661001
Change-Id: I31453d75aabe6ecd657e7500cf1823890d5262a0

7 years agoChanges the default value of Notification.Action.mAllowGeneratedReplies
Alex Hills [Thu, 12 Jan 2017 16:24:46 +0000 (11:24 -0500)]
Changes the default value of Notification.Action.mAllowGeneratedReplies

Changes the default from false to true

Bug:31934635
Fixes:31934635
Test: CTS tests in ag/1824710
Change-Id: I1c7097627e77eed12bb9cc644c1cbb5c3197a750

7 years agoMerge "Provisioning terms screen constants"
Mahaver Chopra [Tue, 24 Jan 2017 15:33:53 +0000 (15:33 +0000)]
Merge "Provisioning terms screen constants"

7 years agoImplement time markers for TTS.
Niels Egberts [Fri, 23 Dec 2016 12:01:32 +0000 (12:01 +0000)]
Implement time markers for TTS.

The service can inform the framework at which frame a part of the input
is spoken, and that information is then relayed to the client.

This can be used to highlight the currently spoken word/sentence or to
resume synthesis requests at the start of the last word/sentence.

Test: manual
Change-Id: Ie20a6764a8788cc3539cb058425e55eb6fde07db

7 years agoPrepare for removal of legacy-test from default targets (Part 2)
Paul Duffin [Tue, 24 Jan 2017 14:28:20 +0000 (14:28 +0000)]
Prepare for removal of legacy-test from default targets (Part 2)

In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Merged-In: If507b641624a2933e722f61e815890fcdf442265
Change-Id: Icdcad50f1cc32e900bc9e882f1db2867ea170fbf

7 years agoIf the surface of a window is displayed, screenshot
Jorim Jaggi [Tue, 24 Jan 2017 15:21:39 +0000 (16:21 +0100)]
If the surface of a window is displayed, screenshot

We really really don't care about whether it's actually visible,
onScreen, displayed, winVisible, visibleNow, readyForDisplay or
whatever. The only thing that matters when screenshotting is the
fact whether the surface is shown or not. If it's shown, it must
be good enough for screenshotting. Period.

Test: Go to settings, go to recents, make sure screenshot is taken
all the time.
Bug: 31339431
Change-Id: I5df77ae537b5e70f6cb17e5e18405926135d4312

7 years agoUpdate starting window fade out to spec
Jorim Jaggi [Mon, 23 Jan 2017 15:30:43 +0000 (16:30 +0100)]
Update starting window fade out to spec

Test: Open app, make sure starting window disappears nicely
Bug: 31339431
Change-Id: Ice538d0937f17ed6901ab56ef208f9a327250d51

7 years agoFill task snapshot with background color
Jorim Jaggi [Mon, 23 Jan 2017 15:20:53 +0000 (16:20 +0100)]
Fill task snapshot with background color

Make sure to fill the portions that are not covered by the
snapshot are filled with the task background color.

Also fix an issue where the starting window was removed across
configuration changes.

Test: runtest frameworks-services -c
com.android.server.wm.TaskSnapshotSurfaceTest
Bug: 31339431
Change-Id: I2451be87aff79b337015ab4bba72cfa03c0d3582

7 years agoMerge "Add updatable fields to Ranking"
Julia Reynolds [Tue, 24 Jan 2017 15:15:24 +0000 (15:15 +0000)]
Merge "Add updatable fields to Ranking"

7 years agoMerge "add "splitName" attribute"
TreeHugger Robot [Tue, 24 Jan 2017 15:13:47 +0000 (15:13 +0000)]
Merge "add "splitName" attribute"

7 years agoImplement TextClassification-related methods.
Abodunrinwa Toki [Fri, 13 Jan 2017 21:46:33 +0000 (13:46 -0800)]
Implement TextClassification-related methods.

 Implements TextClassificationManager.detectLanguages
 Implements TextClassifier interface

Bug: 34661057
Test: See: Ic2a5eceeaec4cd2943c6c753084df46d30511fee
Change-Id: Ic640b96f48bcad7cdd8c4dfac354b008a7ae3961

7 years agoMerge "[SettingsProvider] Auto disable ringtone sync"
TreeHugger Robot [Tue, 24 Jan 2017 15:05:22 +0000 (15:05 +0000)]
Merge "[SettingsProvider] Auto disable ringtone sync"

7 years agoMerge "Update TextAssistant interface."
Abodunrinwa Toki [Tue, 24 Jan 2017 15:04:26 +0000 (15:04 +0000)]
Merge "Update TextAssistant interface."

7 years agoUpdate TextAssistant interface.
Abodunrinwa Toki [Wed, 4 Jan 2017 23:51:42 +0000 (23:51 +0000)]
Update TextAssistant interface.

Rename to TextClassifier
Move to android.view.textclassifier package
Adds getTextClassifierInfo(...)
Changes addLinks(...) to getLinks(...)

This CL also integrates this interface with framework components
and passes a context to TextClassificationManager.

Test: Tests will be added with implementation.
Bug: 34661057
Change-Id: If9e90f034ebb702c1f78e72b6a844f39eebf738f

7 years agoMerge "Tron - Omit overlong lines and warn when doing so."
Alison Cichowlas [Tue, 24 Jan 2017 14:39:26 +0000 (14:39 +0000)]
Merge "Tron - Omit overlong lines and warn when doing so."

7 years agoAdd updatable fields to Ranking
Julia Reynolds [Thu, 19 Jan 2017 14:52:07 +0000 (09:52 -0500)]
Add updatable fields to Ranking

- NotificationChannel
- Badging

Test: runtest systemuinotification & cts

Change-Id: I7fd1f2dc06148927e9a4bd5b760d436e2c5e8a98

7 years agoAdd starting windows while unlocking
Jorim Jaggi [Fri, 20 Jan 2017 15:59:03 +0000 (16:59 +0100)]
Add starting windows while unlocking

- Modify screen capturing logic a bit such that it can also take a
  screenshot when the display is off.
- Also take snapshot when app visibility is changing without
  proper app transition.
- When unlocking, add strating windows for all visible apps.

Test: Unlock phone.
Test: Have an app that sleeps in onStart, make sure unlocking is
instant.
Bug: 31339431
Change-Id: I953ab6cb30d0d264554fd49a46bdc56e23356d13

7 years agoStarting window tests, yay!
Jorim Jaggi [Thu, 19 Jan 2017 16:28:30 +0000 (17:28 +0100)]
Starting window tests, yay!

Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowContainerControllerTests
Fixes: 34364463
Fixes: 34361417
Change-Id: Ie1b8debc894e5cad8fe517912a1991a38661dfaa

7 years agoMerge "Expose more ICU4J APIs." am: e5f0221f06 am: 5272231259
Joachim Sauer [Tue, 24 Jan 2017 12:46:56 +0000 (12:46 +0000)]
Merge "Expose more ICU4J APIs." am: e5f0221f06 am: 5272231259
am: 94eb984734

Change-Id: I429dcc34cc09d8ceadb6bb6af42efce0572ed00f

7 years agoMerge "Expose more ICU4J APIs." am: e5f0221f06
Joachim Sauer [Tue, 24 Jan 2017 12:41:57 +0000 (12:41 +0000)]
Merge "Expose more ICU4J APIs." am: e5f0221f06
am: 5272231259

Change-Id: I2714668baf99fb18d726212917a32e8e98b734a2

7 years agoMerge "Expose more ICU4J APIs."
Joachim Sauer [Tue, 24 Jan 2017 12:35:30 +0000 (12:35 +0000)]
Merge "Expose more ICU4J APIs."
am: e5f0221f06

Change-Id: I77e300979bdfe781ad9ab7aff5241b92491e5660

7 years agoMerge "Expose more ICU4J APIs."
Joachim Sauer [Tue, 24 Jan 2017 12:30:11 +0000 (12:30 +0000)]
Merge "Expose more ICU4J APIs."

7 years agoMerge "Merge commit '12562abcd47de4aee3b0469cb04bf771c2072113' into manual_merge_1256...
TreeHugger Robot [Tue, 24 Jan 2017 11:35:14 +0000 (11:35 +0000)]
Merge "Merge commit '12562abcd47de4aee3b0469cb04bf771c2072113' into manual_merge_12562abcd47d"

7 years ago[SettingsProvider] Auto disable ringtone sync
Andre Lago [Thu, 22 Sep 2016 17:00:41 +0000 (18:00 +0100)]
[SettingsProvider] Auto disable ringtone sync

Disable the SYNC_PARENT_SOUNDS setting if a work profile ringtone is set

Test: cts-tradefed --test com.android.cts.devicepolicy.ManagedProfileTest
Bug: 30658854
Change-Id: I172f5396b47f03ac8afa365db0ec90f3a2dd0e29

7 years agoFix ImeSubtypeListItem#compareTo()
Yohei Yukawa [Tue, 24 Jan 2017 08:29:07 +0000 (00:29 -0800)]
Fix ImeSubtypeListItem#compareTo()

It turns out that ImeSubtypeListItem#compareTo() does not satisfy the
contract of Comparable#compareTo(), which can trigger
IllegalArgumentException from Collections.sort() depending on the
runtime condition.

This CL makes it clear that two instances of ImeSubtypeListItem will be
compared with with those fileds in the following order.

  1. ImeSubtypeListItem#mImeName
  2. ImeSubtypeListItem#mSubtypeName
  3. ImeSubtypeListItem#mIsSystemLocale
  4. ImeSubtypeListItem#mIsSystemLanguage

Bug: 34255739
Test: adb shell am instrument -w -e class com.android.internal.inputmethod.InputMethodSubtypeSwitchingControllerTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I47f902cc8f5873926d238c30e462d08d7dbebcf7

7 years agoMerge "All upstream mobile connection management is now in UpstreamNetworkMonitor...
Erik Kline [Tue, 24 Jan 2017 08:11:51 +0000 (08:11 +0000)]
Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor" am: c1987487a2 am: 555812a3e2
am: 65e01ec4ed

Change-Id: Idfe2c34bad70e0044d7281ba9b9aaaf26f7e2fb5

7 years agoDon't lower priority of EGL Init thread
Jesse Hall [Tue, 24 Jan 2017 08:09:27 +0000 (00:09 -0800)]
Don't lower priority of EGL Init thread

The EGL Init thread spends a lot of time loading shared libraries,
which involves reading pages and adjusting VM pages. Previously it was
a low priority thread, which meant that when it blocked while holding
a VM lock, it might take a while to be scheduled again once ready, so
it would hold the VM lock longer than necessary, blocking other
threads waiting on soft faults, etc. Classic priority inversion.
Leaving the thread at normal priority causes it to interfere *less*
with critical-path Activity launch work.

Bug: 34611670
Test: go/platform-startup, specifically:
    ./tradefed.sh run google/template/local --template:map test
    google/test/performance/app-launch-perf
    --post-boot-command "service call persistent_data_block 6 i32 1"
    --post-boot-command "service call persistent_data_block 7 i32 1"
    --apps Clock alarmclock --trial-launch --launch-iteration 10
    --launch-order cyclic --drop-cache --trace-directory sdcard
    --trace-iteration 2 --simple-perf-cmd "simpleperf stat -a"
    --report-metrics all --force-skip-system-props --alt-dir `pwd`

Change-Id: I17647c657da64d15f40f8f2b97ee3400e1f0be7f

7 years agoMerge "All upstream mobile connection management is now in UpstreamNetworkMonitor...
Erik Kline [Tue, 24 Jan 2017 08:05:25 +0000 (08:05 +0000)]
Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor" am: c1987487a2
am: 555812a3e2

Change-Id: Icac0e50bae970e7aaa9eecc3d7be3c19b2111a78

7 years agoMerge "All upstream mobile connection management is now in UpstreamNetworkMonitor"
Erik Kline [Tue, 24 Jan 2017 08:00:48 +0000 (08:00 +0000)]
Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor"
am: c1987487a2

Change-Id: I2b7e0f63c8198c8fde52396f989c16d795e612a8

7 years agoMerge "All upstream mobile connection management is now in UpstreamNetworkMonitor"
Treehugger Robot [Tue, 24 Jan 2017 07:54:20 +0000 (07:54 +0000)]
Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor"

7 years agoDO NOT MERGE frameworks-test: adding missing @SmallTest
Hugo Benichi [Fri, 4 Nov 2016 07:06:34 +0000 (16:06 +0900)]
DO NOT MERGE frameworks-test: adding missing @SmallTest

This activates all frameworks-test tests in runs of the continuous
platform tests.

Test: $ runtest frameworks-net passes (expect Tether
Bug: 32561414

(cherry picked from commit fa8a6f6220d1a0027ba7969c2d3f72690ddc6495)

Change-Id: I84f9aecfbf9ebe07c6fcfec26acb2c2cfaae2d60

7 years agoMerge "Add an accidentally removed call to update libs"
TreeHugger Robot [Tue, 24 Jan 2017 05:58:36 +0000 (05:58 +0000)]
Merge "Add an accidentally removed call to update libs"

7 years agoMerge "More APIs for cache status and behavior."
TreeHugger Robot [Tue, 24 Jan 2017 05:32:56 +0000 (05:32 +0000)]
Merge "More APIs for cache status and behavior."

7 years agoAll upstream mobile connection management is now in UpstreamNetworkMonitor
Erik Kline [Mon, 23 Jan 2017 07:42:01 +0000 (16:42 +0900)]
All upstream mobile connection management is now in UpstreamNetworkMonitor

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131

Change-Id: Ifbd430d5bf2d2191469c9810ad8f073506abde46

7 years agoMerge "Fix crashloop in CarStatusBar."
TreeHugger Robot [Tue, 24 Jan 2017 04:04:34 +0000 (04:04 +0000)]
Merge "Fix crashloop in CarStatusBar."

7 years agoMore APIs for cache status and behavior.
Jeff Sharkey [Tue, 24 Jan 2017 03:37:05 +0000 (20:37 -0700)]
More APIs for cache status and behavior.

Add APIs for apps to query their cache usage compared to their
currently allocated quota.  Since an app's private storage may live
on a different storage volume than the primary shared/external
storage, offer APIs to retrieve those values separately.

Add APIs to control two new cache purging behaviors:

-- setCacheBehaviorAtomic() which causes a marked directory and its
contents to be treated as an atomic unit.
-- setCacheBehaviorTombstone() which causes the OS to truncate
files instead of deleting them.

Test: builds, boots
Bug: 338118263396585827948817
Change-Id: I45de165623775c359f78b4ee544c2b5831b8d483

7 years agoMerge "Introduce RecoverableSecurityException."
Jeff Sharkey [Tue, 24 Jan 2017 03:19:15 +0000 (03:19 +0000)]
Merge "Introduce RecoverableSecurityException."

7 years agoFixing error calculating the top pinned activity.
Winson Chung [Tue, 24 Jan 2017 03:08:37 +0000 (19:08 -0800)]
Fixing error calculating the top pinned activity.

- When the menu was open, we were not calculating the correct
  top-activity to determine whether to relaunch fullscreen or to show
  media controller actions for.  Also fixes a bad condition check
  where we were setting the expand to fullscreen flag incorrectly.

Bug: 33754261
Test: Open a PIP activity, try to launch it again from launcher while the menu is visible
Change-Id: I3fd3dfe83a017c76cca9709f29c08621b16fb088

7 years agoMerge "support suw and post-suw cases for default app" am: 9fc8d99c76 am: ea55399ecc
Chen Xu [Tue, 24 Jan 2017 02:48:00 +0000 (02:48 +0000)]
Merge "support suw and post-suw cases for default app" am: 9fc8d99c76 am: ea55399ecc
am: f2a5e432b0

Change-Id: Ica33178ed47d877d6ab723a42dce032456e15201

7 years agoMerge "Allow the profile owner to enforce auto time."
Jason Parks [Tue, 24 Jan 2017 02:46:26 +0000 (02:46 +0000)]
Merge "Allow the profile owner to enforce auto time."

7 years agoMerge "support suw and post-suw cases for default app" am: 9fc8d99c76
Chen Xu [Tue, 24 Jan 2017 02:43:28 +0000 (02:43 +0000)]
Merge "support suw and post-suw cases for default app" am: 9fc8d99c76
am: ea55399ecc

Change-Id: I1b3a5c7aed8a2930ed98c81b1c2c391769d87fe5

7 years agoMerge "support suw and post-suw cases for default app"
Chen Xu [Tue, 24 Jan 2017 02:39:55 +0000 (02:39 +0000)]
Merge "support suw and post-suw cases for default app"
am: 9fc8d99c76

Change-Id: I7a451bf2cfdfd6db65208a46db9d664039297ace

7 years agoMerge "support suw and post-suw cases for default app"
Chen Xu [Tue, 24 Jan 2017 02:30:58 +0000 (02:30 +0000)]
Merge "support suw and post-suw cases for default app"

7 years agoMerge "Change HFP Client API to support multi device am: c8399321e9" into nyc-mr2...
Android Build Merger (Role) [Tue, 24 Jan 2017 02:20:07 +0000 (02:20 +0000)]
Merge "Change HFP Client API to support multi device am: c8399321e9" into nyc-mr2-dev-plus-aosp

7 years agoChange HFP Client API to support multi device
Sanket Agarwal [Tue, 24 Jan 2017 02:18:54 +0000 (02:18 +0000)]
Change HFP Client API to support multi device
am: c8399321e9

Change-Id: I96dd85f1bee2f39f683d6ee11b5ab4e8b9a7f217

7 years agoMerge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev
Ta-wei Yen [Tue, 24 Jan 2017 02:18:30 +0000 (02:18 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev
am: 70f920fa0c

Change-Id: If2936ae00b37750362a56975ba7c42a6c30984aa

7 years agoFix typo in the IS_OMPT_VOICEMAIL field.
Ta-wei Yen [Tue, 24 Jan 2017 02:18:26 +0000 (02:18 +0000)]
Fix typo in the IS_OMPT_VOICEMAIL field.
am: 57365441d4

Change-Id: I060ed862bd929875848753d77e6fc3ff8a48e32c

7 years agoMerge "Document dependency between Intent symbols and dumpstate"
Chris Tate [Tue, 24 Jan 2017 02:17:11 +0000 (02:17 +0000)]
Merge "Document dependency between Intent symbols and dumpstate"

7 years agoMerge "Expose colorimetry capabilities on Display"
TreeHugger Robot [Tue, 24 Jan 2017 02:15:54 +0000 (02:15 +0000)]
Merge "Expose colorimetry capabilities on Display"

7 years agoDocument dependency between Intent symbols and dumpstate
Christopher Tate [Mon, 23 Jan 2017 20:21:13 +0000 (12:21 -0800)]
Document dependency between Intent symbols and dumpstate

Bug 34594835

Test: N/A
Change-Id: I4494c224bc6341c7a41b79361ba599befc408341

7 years agoFix crashloop in CarStatusBar.
Rakesh Iyer [Tue, 24 Jan 2017 02:10:21 +0000 (18:10 -0800)]
Fix crashloop in CarStatusBar.

System ui seems to be undergoing a refactor to bring in
dependency injection, in the process, mBatteryController
in CarStatusBar was not being set, causing a NPE.

Since it looks like the work is still ongoing, this is
just a spot fix for the crash, once the dependency injection
migration is complete, we can reexamine the CarStatusBar
implementation.

Bug: 34633087
Test: Verified that system booted correctly.
Change-Id: Idd3e0286fd87196ae572349904d5bef744d54353

7 years agoCreate Public API which exposes if the device is in a state where simultaneous
pkanwar [Thu, 19 Jan 2017 20:24:19 +0000 (12:24 -0800)]
Create Public API which exposes if the device is in a state where simultaneous
voice and data are possible.

BUG: 32912296
Test: Not required.
Change-Id: If603aa37c774157f0a3af12ca4ac6bafad94340d

7 years agoMerge "Delay tasks from IMMS constructor to later phase"
Yohei Yukawa [Tue, 24 Jan 2017 01:51:04 +0000 (01:51 +0000)]
Merge "Delay tasks from IMMS constructor to later phase"