34108 Commits

Author SHA1 Message Date
Jorim Jaggi
30d64f3a93 Revert "Revert "Handle case when snapshot dimensions don't match""
This reverts commit ba53d8ae410976709e1413b74173a791e8dead15.

Also fixes that we always had a size mismatch.

Test: TaskSnapshotSurfaceTest
Test: Open app in different orientation than snapshot, make sure
looks ok.

Bug: 36991071
Change-Id: If572b68fd72cec7679984fdff0be5905caba69f4
Fixes: 36703868
2017-04-10 18:10:44 -07:00
Daniel Nishi
fcf746b27c Merge "Fix crash when measuring storage." into oc-dev
am: a6bd937c93

Change-Id: I33eaab3e22b9e3de0db3e5a9328cb52bf93113ab
2017-04-10 23:27:51 +00:00
Jack He
b111c6f753 Merge "Add developer setting and system API for inband ringing support" am: 1da38b2bcd am: d86c1fca76
am: 25c086b7e2

Change-Id: I7bf3b83c55a2b1dfaf23af65780529cc5a5fa8d4
2017-04-10 23:20:08 +00:00
Daniel Nishi
a6bd937c93 Merge "Fix crash when measuring storage." into oc-dev 2017-04-10 23:12:21 +00:00
Jack He
25c086b7e2 Merge "Add developer setting and system API for inband ringing support" am: 1da38b2bcd
am: d86c1fca76

Change-Id: I711f396cbf1a63177fc8e61956264c3d7ce5a375
2017-04-10 23:11:15 +00:00
Fan Zhang
c1ae9cd296 Update string description and char limits
Change-Id: Idba5977e614094c3a96b1101f1234f26433300c8
Fix: 36680364
Test: builds
2017-04-10 16:08:30 -07:00
Jack He
e86bdcaed1 Add developer setting and system API for inband ringing support
* Add 1 system API to check inband ringing flag in config.xml
	static isInbandRingingSupported(Context)
* Add developer menu options to enable this feature

Bug: 19171297
Test: mm -j 40, HFP regression testing, testplans/82144
Change-Id: Iaf56ea41911f546bbc7ae1f82e399d0f8d48f75f
2017-04-10 19:49:36 +00:00
TreeHugger Robot
73e510e6fa Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-08 08:01:11 +00:00
TreeHugger Robot
c2f554292e Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-08 07:59:30 +00:00
TreeHugger Robot
ce1e6999a0 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-08 07:58:44 +00:00
TreeHugger Robot
99c95f8dd8 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-08 07:53:26 +00:00
TreeHugger Robot
df12f01abd Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-08 07:47:37 +00:00
TreeHugger Robot
bcc90073ce Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-08 07:42:22 +00:00
Bill Yi
a48a21c4a6 Import translations. DO NOT MERGE
Change-Id: I46d2b42e600a83d18ae13b2b4e55f244def1a070
Auto-generated-cl: translation import
2017-04-07 19:21:23 -07:00
Bill Yi
0ce53e517b Import translations. DO NOT MERGE
Change-Id: I9a94d8ec49ccccaa96264255fb25880194d8b1d1
Auto-generated-cl: translation import
2017-04-07 18:13:06 -07:00
Bill Yi
f20444c9dd Import translations. DO NOT MERGE
Change-Id: If7648048872859a1d4a2032a2f6de6a6e9cf19f6
Auto-generated-cl: translation import
2017-04-07 18:05:51 -07:00
Bill Yi
8e7ad54464 Import translations. DO NOT MERGE
Change-Id: I71ee4b0792217988e13df03f2ced891e83cf038e
Auto-generated-cl: translation import
2017-04-07 17:48:48 -07:00
Bill Yi
349a2e84a7 Import translations. DO NOT MERGE
Change-Id: Iec85eee89b58459da6cac37267b31b16fc01d14c
Auto-generated-cl: translation import
2017-04-07 17:38:37 -07:00
TreeHugger Robot
5cd4797c7a Merge "Add RecommendationPlugin for Cloud Print" into oc-dev 2017-04-07 22:21:42 +00:00
Jorim Jaggi
90fb71789a Merge changes I5d41419a,I763be06c into oc-dev
am: bc4bd823d9

Change-Id: I1c23329a3a18fb58d42c13e91e030f589e19025b
2017-04-07 22:14:59 +00:00
TreeHugger Robot
bc4bd823d9 Merge changes I5d41419a,I763be06c into oc-dev
* changes:
  Introduce android.anim thread in system_server
  Fix thread booster
2017-04-07 22:05:18 +00:00
Daniel Nishi
140ceb1dcc Use the real filters when determining Other Apps.
This fixes a bug where an app could be classified twice.

Fixes: 36535527
Test: SettingsLib Unit Test
Change-Id: I830a76fa33680b1dd71b285d9419139f84f1d60d
2017-04-07 14:26:38 -07:00
Daniel Nishi
45c23fa689 Add support for movies & tv apps querying.
Bug: 36223441
Test: Robotest
Change-Id: Icbb9b8947112f45d37858ceb5cfb1d76f06bda32
Merged-In: Icfb34844601f87d11b7309eacf9385d49ed36338
2017-04-07 14:20:36 -07:00
Jorim Jaggi
ed7993b5d1 Introduce android.anim thread in system_server
We create a new thread on which everything is running that
directly impacts window animations, i.e. layout, anim tick and
starting window creation. This is such that any work on
android.display can not lead to jank in the window animation,
specifically lock contention on activity manager lock that blocks
callbacks from android.display into AM can not lead to window
animation jank.

Test: Run animation, take systrace, make sure animation is on
android.anim
Test: AppWindowContainerControllerTestTest: AppWindowContainerControllerTestss
Fixes: 36792959

Change-Id: I5d41419a709b7984724e7053a3afdcc1ffe1aaa2
2017-04-07 22:10:34 +02:00
Jason Monk
e241a3c15a Merge "Fix theming on brightness dialog" into oc-dev
am: 3d82322c7c

Change-Id: I6c7e8a47686d5f3cfa1f4e235ef1bbb94dd753a7
2017-04-07 17:49:33 +00:00
Adrian Roos
df8508de66 Merge "Revert "Ignore a broken test until it can be fixed."" into oc-dev
am: 2d691791e7

Change-Id: If8de068e9e42dc8ccac513c3ad624ef38c6ac1dc
2017-04-07 17:43:08 +00:00
TreeHugger Robot
3d82322c7c Merge "Fix theming on brightness dialog" into oc-dev 2017-04-07 17:37:50 +00:00
Adrian Roos
2d691791e7 Merge "Revert "Ignore a broken test until it can be fixed."" into oc-dev 2017-04-07 17:35:48 +00:00
Jason Monk
84dbc7b20e Merge "Make sure to synchronize on references to plugin dependencies" into oc-dev
am: 157017c8a8

Change-Id: Ia6feb2f2e41ce6f4551cd6cd8713e09b0f5c5275
2017-04-07 17:32:19 +00:00
Jason Monk
5d6deab0c1 Merge "Synchronize on sysui dependency references" into oc-dev
am: ed8051b528

Change-Id: Ica1d06c345112b7632c9892576edc0c7352ba2bb
2017-04-07 17:31:05 +00:00
TreeHugger Robot
157017c8a8 Merge "Make sure to synchronize on references to plugin dependencies" into oc-dev 2017-04-07 17:25:01 +00:00
TreeHugger Robot
ed8051b528 Merge "Synchronize on sysui dependency references" into oc-dev 2017-04-07 17:23:37 +00:00
Philip P. Moltmann
b2565935d1 Add RecommendationPlugin for Cloud Print
Reuses already existing infrastructure. The mMDNSFilteredDiscovery lambda
is called for every network service that supports #PRIVET_SERVICE. Then
the plugin checks the txt fields to make sure the printer is valid. The
check is not complete but good enough to make sure this is either a
cloud print capable printer or something that tries really hard.

Test: Connected to network with three printers, 2 GCP capable. Found the
      two printers
Fixes: 35766193
Change-Id: I7c9180c8c154fa092fec5b943a94bad77da74c86
2017-04-07 09:52:54 -07:00
Adrian Roos
1ac141639e Merge "AOD: More VisD updates" into oc-dev
am: 67ee79e84f

Change-Id: Ie88590d0e098ef447c26cabb230cbf67aadcbb17
2017-04-07 16:14:34 +00:00
Selim Cinek
e1fcf8edd6 Merge changes If96c0146,I0d68ad60 into oc-dev
am: 5393a0e2d9

Change-Id: Ic70d9eb07b53ccda5fafb8c37177e130d4b279de
2017-04-07 16:08:26 +00:00
TreeHugger Robot
67ee79e84f Merge "AOD: More VisD updates" into oc-dev 2017-04-07 16:03:33 +00:00
TreeHugger Robot
5393a0e2d9 Merge changes If96c0146,I0d68ad60 into oc-dev
* changes:
  Improved accessibility behavior of the notification shelf
  Fixed a bug where the indeterminate progressbar janky
2017-04-07 15:59:17 +00:00
Bill Yi
a7916661b8 Import translations. DO NOT MERGE
Change-Id: I47751b435795e850ded7fcc84e0d8fa88dd5c694
Auto-generated-cl: translation import
2017-04-07 08:30:10 -07:00
Filip Pavlis
3b3bf87165 Merge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev
am: 59dd2ebfc1

Change-Id: I2ad78ef36e3c459308bb201d0798e8af3d55f2eb
2017-04-07 10:38:35 +00:00
Filip Pavlis
59dd2ebfc1 Merge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev 2017-04-07 10:31:44 +00:00
Daichi Hirono
98f48479e9 Use Context#startForegroundService in MTP provider
NotificationManager.startServiceInForeground() was moved to
Context#startForegroundService. MtpDocumentsProvider should use new one.

Bug: 36794559
Test: MtpDocumentsProviderTests
Change-Id: I84723ee8c3f0f8bfe4d5ea8ad035c01c42ce8bab
(cherry picked from commit 203be491ef479deea1f39f8b63f3e1916501a37a)
2017-04-07 05:12:37 +00:00
Philip P. Moltmann
d45000c1a9 resolve merge conflicts of 3c002e45dda1 to oc-dev-plus-aosp
Test: Trivial resolution
Change-Id: Ifc41cc692406d52f508b595465f4f7469f74c6f5
2017-04-06 20:25:45 -07:00
Philip P. Moltmann
3c002e45dd Merge "Return inet addr for discoverable printers" into oc-dev 2017-04-07 03:04:17 +00:00
Jason Monk
574642fef7 Merge "Tuner plugin settings updates" into oc-dev
am: eaf6b3b193

Change-Id: If20613b2a78c70b073b00dfc33bd832e3c4b5dc9
2017-04-07 01:49:16 +00:00
Tadashi G. Takaoka
46699675aa Remove supportsDismissingSelfWindow attribute of IME
This partially reverts CL I0f6b130a7df57557e40b52a7b7ac00be965a17c3.

Fixes: 34133139
Test: Confirm that unit test passed.
    adb install out/target/product/.../data/app/FrameworksCoreTests/FrameworksCoreTests.apk
    adb shell am instrument -w \
        -e class android.view.inputmethod.InputMethodInfoTest \
        com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I2b94263b2a0bf330bf9973567fea2d35176754d7
2017-04-07 10:43:43 +09:00
Jason Monk
eaf6b3b193 Merge "Tuner plugin settings updates" into oc-dev 2017-04-07 01:39:28 +00:00
Jason Monk
e2aec43121 Merge "Add metrics for nav buttons through KeyButtonView" into oc-dev
am: 809b79da2f

Change-Id: I1e66207bb9c5fc882f3a8b41e44a6f85d894401b
2017-04-07 00:45:35 +00:00
Adrian Roos
29a518f2b0 Merge "NotiViewWrapper: Fix test that breaks on master" into oc-dev
am: ad27aa11b1

Change-Id: I4a74e401b9c4cdaeb0b27919b03e24b88855edb8
2017-04-07 00:39:42 +00:00
TreeHugger Robot
809b79da2f Merge "Add metrics for nav buttons through KeyButtonView" into oc-dev 2017-04-07 00:39:31 +00:00
TreeHugger Robot
ad27aa11b1 Merge "NotiViewWrapper: Fix test that breaks on master" into oc-dev 2017-04-07 00:26:34 +00:00