OSDN Git Service
TreeHugger Robot [Tue, 24 Jan 2017 19:49:51 +0000 (19:49 +0000)]
Merge "Revert "Workaround libmemunreachable lockup""
TreeHugger Robot [Tue, 24 Jan 2017 19:35:18 +0000 (19:35 +0000)]
Merge "Temporarily disable LauncherApps reverse access check"
Sanket Agarwal [Tue, 24 Jan 2017 19:33:19 +0000 (19:33 +0000)]
Merge "Change HFP Client API to support multi device" am:
01f2e67648 am:
aaa490025b am:
ccf418fc4d
am:
2ba1fda3fe
Change-Id: Ia653aabb543d4689de0198cf69d95ba553607d84
Fyodor Kupolov [Tue, 24 Jan 2017 19:32:04 +0000 (19:32 +0000)]
Merge "[DO NOT MERGE] Do not log boot times for secondary users and upgrades" into nyc-mr2-dev am:
fcb06b3735
am:
34cf649e90 -s ours
Change-Id: I401b6356be18871631b2adc04b4c55a9437a965d
Fyodor Kupolov [Tue, 24 Jan 2017 19:30:58 +0000 (19:30 +0000)]
[DO NOT MERGE] Do not log boot times for secondary users and upgrades am:
1cd8508ba8
am:
7ed9a12e33 -s ours
Change-Id: I4c4026b515fc86c2b2306d756fd87a6dec399026
TreeHugger Robot [Tue, 24 Jan 2017 19:20:06 +0000 (19:20 +0000)]
Merge "Disabling crash dialogs on TV"
TreeHugger Robot [Tue, 24 Jan 2017 19:19:15 +0000 (19:19 +0000)]
Merge "TIF: Add new TvContract fields for guide view on launcher"
TreeHugger Robot [Tue, 24 Jan 2017 19:15:27 +0000 (19:15 +0000)]
Merge "Add intent to browse recording schedules"
Sanket Agarwal [Tue, 24 Jan 2017 19:15:17 +0000 (19:15 +0000)]
Merge "Change HFP Client API to support multi device" am:
01f2e67648 am:
aaa490025b
am:
ccf418fc4d
Change-Id: Iad5f61ad2a5e2f7ab8d8c74567eea5c519ba87ca
Sanket Agarwal [Tue, 24 Jan 2017 19:11:21 +0000 (19:11 +0000)]
Merge "Change HFP Client API to support multi device" am:
01f2e67648
am:
aaa490025b
Change-Id: I2e5a77ba5efece7af1d4be91ca795cd97e96acf3
Sanket Agarwal [Tue, 24 Jan 2017 19:06:40 +0000 (19:06 +0000)]
Merge "Change HFP Client API to support multi device"
am:
01f2e67648
Change-Id: I887b83939581fe1fd4068f7a4a72a6910c994c74
Adrian Roos [Tue, 24 Jan 2017 19:06:11 +0000 (19:06 +0000)]
Merge "AOD: Delay wakeup until interaction with notification"
Fyodor Kupolov [Tue, 24 Jan 2017 19:04:52 +0000 (19:04 +0000)]
Merge "[DO NOT MERGE] Do not log boot times for secondary users and upgrades" into nyc-mr2-dev
am:
fcb06b3735
Change-Id: I322bc1977cce2292db5b86d66eaa91519d758950
Fyodor Kupolov [Tue, 24 Jan 2017 19:04:46 +0000 (19:04 +0000)]
[DO NOT MERGE] Do not log boot times for secondary users and upgrades
am:
1cd8508ba8
Change-Id: Ie6ca85107afcc79e905a748827aef3879807fd36
Sanket Agarwal [Tue, 24 Jan 2017 19:01:13 +0000 (19:01 +0000)]
Merge "Change HFP Client API to support multi device"
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
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
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
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"
TreeHugger Robot [Tue, 24 Jan 2017 18:55:13 +0000 (18:55 +0000)]
Merge "[DO NOT MERGE] Do not log boot times for secondary users and upgrades" into nyc-mr2-dev
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
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"
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
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"
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
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"
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
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
Christine Franks [Tue, 24 Jan 2017 18:46:41 +0000 (18:46 +0000)]
Merge "Increase Night Display transition to 3 seconds"
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
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
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"
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
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"
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
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"
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
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"
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
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"
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
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"
TreeHugger Robot [Tue, 24 Jan 2017 18:38:49 +0000 (18:38 +0000)]
Merge "Adding AppOps setting for entering PiP when hidden."
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
TreeHugger Robot [Tue, 24 Jan 2017 18:20:09 +0000 (18:20 +0000)]
Merge "Fixing error calculating the top pinned activity."
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
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
John Reck [Tue, 24 Jan 2017 18:13:03 +0000 (18:13 +0000)]
Revert "Workaround libmemunreachable lockup"
This reverts commit
553ae6ab071b1db5e783c8c02f9311b4969729f6.
Change-Id: I593b78f7073d84a5e16372849d27e943af65694c
Fixes:
34586922
Makoto Onuki [Tue, 24 Jan 2017 17:00:15 +0000 (09:00 -0800)]
Temporarily disable LauncherApps reverse access check
Bug
34650921
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
With the reverted CTS,
Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testManagedUser'
Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest'
Change-Id: Id9d13c11816fca10b2dacac92537b2baded3ac9c
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
Dmitri Plotnikov [Sat, 21 Jan 2017 01:53:56 +0000 (17:53 -0800)]
Disabling crash dialogs on TV
Bug:
34518944
Test: threw an exception and saw the app nicely disappear without a dialog
Change-Id: I08ccfe7b34af6e2af6f91fea8750e81955901f40
Jason Monk [Tue, 24 Jan 2017 17:49:43 +0000 (17:49 +0000)]
Merge "Add long-click to app info for plugin settings"
Andrew Sapperstein [Tue, 24 Jan 2017 17:34:28 +0000 (17:34 +0000)]
Merge "Add Settings.Global configs to high temp warning."
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!
TreeHugger Robot [Tue, 24 Jan 2017 17:23:04 +0000 (17:23 +0000)]
Merge "Fix crash on user switch"
Niels Egberts [Tue, 24 Jan 2017 17:19:30 +0000 (17:19 +0000)]
Merge "Implement time markers for TTS."
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>
TreeHugger Robot [Tue, 24 Jan 2017 16:54:52 +0000 (16:54 +0000)]
Merge "Implement TextClassification-related methods."
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."
Yohei Yukawa [Tue, 24 Jan 2017 16:37:06 +0000 (16:37 +0000)]
Merge "Fix ImeSubtypeListItem#compareTo()"
Alexander Hills [Tue, 24 Jan 2017 16:31:38 +0000 (16:31 +0000)]
Merge "Changes the default value of Notification.Action.mAllowGeneratedReplies"
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
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
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
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)"
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
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
Mahaver Chopra [Tue, 24 Jan 2017 15:33:53 +0000 (15:33 +0000)]
Merge "Provisioning terms screen constants"
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
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
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
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
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
Julia Reynolds [Tue, 24 Jan 2017 15:15:24 +0000 (15:15 +0000)]
Merge "Add updatable fields to Ranking"
TreeHugger Robot [Tue, 24 Jan 2017 15:13:47 +0000 (15:13 +0000)]
Merge "add "splitName" attribute"
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
TreeHugger Robot [Tue, 24 Jan 2017 15:05:22 +0000 (15:05 +0000)]
Merge "[SettingsProvider] Auto disable ringtone sync"
Abodunrinwa Toki [Tue, 24 Jan 2017 15:04:26 +0000 (15:04 +0000)]
Merge "Update 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
Alison Cichowlas [Tue, 24 Jan 2017 14:39:26 +0000 (14:39 +0000)]
Merge "Tron - Omit overlong lines and warn when doing so."
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
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
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
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
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
Joachim Sauer [Tue, 24 Jan 2017 12:35:30 +0000 (12:35 +0000)]
Merge "Expose more ICU4J APIs."
am:
e5f0221f06
Change-Id: I77e300979bdfe781ad9ab7aff5241b92491e5660
Joachim Sauer [Tue, 24 Jan 2017 12:30:11 +0000 (12:30 +0000)]
Merge "Expose more ICU4J APIs."
TreeHugger Robot [Tue, 24 Jan 2017 11:35:14 +0000 (11:35 +0000)]
Merge "Merge commit '
12562abcd47de4aee3b0469cb04bf771c2072113' into manual_merge_12562abcd47d"
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
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
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
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
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
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
Treehugger Robot [Tue, 24 Jan 2017 07:54:20 +0000 (07:54 +0000)]
Merge "All upstream mobile connection management is now in UpstreamNetworkMonitor"
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
TreeHugger Robot [Tue, 24 Jan 2017 05:58:36 +0000 (05:58 +0000)]
Merge "Add an accidentally removed call to update libs"
TreeHugger Robot [Tue, 24 Jan 2017 05:32:56 +0000 (05:32 +0000)]
Merge "More APIs for cache status and behavior."
Chulwoo Lee [Mon, 23 Jan 2017 21:58:31 +0000 (13:58 -0800)]
Add intent to browse recording schedules
Test: Cts passes. Will add tests to Cts-Verifier.
Bug:
30843557
Change-Id: If84b3ae862f204a25343b0ad3b1c262826e6130e
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