Commit Graph

416684 Commits

Author SHA1 Message Date
Ying Liu
d6c8e026b9 Merge "Modified camera framework stress tests." into qt-dev 2019-05-23 23:06:41 +00:00
TreeHugger Robot
d63c92bb62 Merge "Fix up accessibility issues in Time picker." into qt-dev 2019-05-23 22:49:56 +00:00
TreeHugger Robot
2d2508c3ae Merge "Re-add resetTranslation() call that went missing" into qt-dev 2019-05-23 22:49:47 +00:00
Sudheer Shanka
5af9bed265 Merge "Trigger a mediascan when downloads get renamed." into qt-dev 2019-05-23 22:36:09 +00:00
TreeHugger Robot
8af0af88cc Merge "Fixed an issue where notification groups could be empty" into qt-dev 2019-05-23 22:04:21 +00:00
Selim Cinek
7e5f30f220 Merge "HeadsUpAppearanceController: allow heads-up to draw beyond bounds" into qt-dev 2019-05-23 22:01:40 +00:00
TreeHugger Robot
31b3161a4e Merge "Only use grid layout for power menu when wallet is visible" into qt-dev 2019-05-23 21:48:58 +00:00
Yao Chen
318296726d Increase the size limit of incident reports.
Bug: 133425862
Test: incidentd_test
Change-Id: I323878958a93e0280b782de1745ed59e44f79b0b
2019-05-23 21:31:25 +00:00
TreeHugger Robot
9a7f304d2f Merge "Use pointer width from res before getWidth is ready" into qt-dev 2019-05-23 21:22:45 +00:00
Etan Cohen
285b665784 Merge changes from topic "on_unavailable_fix" into qt-dev
* changes:
  [CM] Fix NPE due to unvalidated callback value
  [CM] Fix NPE due to unvalidated callback value
2019-05-23 20:57:22 +00:00
Evan Laird
ab1faeed70 Re-add resetTranslation() call that went missing
A while back the call for ExpandableNotificationRow#resetTranslation()
went missing when reworking the blocking helper. Bring it back

Fixes: 131908593
Test: visual
Change-Id: I3a96c165e892bfee71398972d2e1dd289d09168b
2019-05-23 16:53:10 -04:00
Hai Zhang
c3c75a49ea Merge "Exclude packages that's not installed from the hash for role." into qt-dev 2019-05-23 20:38:36 +00:00
Ying Liu
dec6989bbf Modified camera framework stress tests.
Bug:130821349
Test: local run pass
'adb shell am instrument -w -r   -e waitIntervalMs 1000 -e timeout_msec
7200000 -e iterations 1 -e class
'com.android.mediaframeworktest.stress.Camera2RecordingTest#testBasicRecording'
com.android.mediaframeworktest/androidx.test.runner.AndroidJUnitRunner'

Change-Id: I2c2d84babd229b49cddeaf913d8e027189f2cbf6
(cherry picked from commit 909962d7ed)
2019-05-23 20:20:07 +00:00
Abodunrinwa Toki
a578ecce46 Merge "Convert TextClassifierEvent to SelectionEvent for logging in the default TC." into qt-dev 2019-05-23 19:35:24 +00:00
TreeHugger Robot
42fb4bb1e9 Merge "Statsd: Add watchdog rollback to experiment ids" into qt-dev 2019-05-23 19:25:43 +00:00
Peter Cai
a8178f5454 HeadsUpAppearanceController: allow heads-up to draw beyond bounds
On some devices with huge `rounded_corner_content_padding`, the icon of
heads-up notifications will be clipped or even completely removed from
view. This is caused by `HeadsUpStatusBarView` trying to align the
heads-up icon with where the icon would be on a normal notification
card, which would end up outside of the status bar contents view when
`rounded_corner_content_padding` is set to beyond a certain value.

This patch fixes the problem by allowing heads-up content to overflow
the normal status bar content region when it is shown. As long as the
rounded corner is not too huge, the aligning position of the icon should
not be a problem of its own.

Fixes: 131813566
Test: atest SystemUiTests
Change-Id: I0fb8856c301a438ca87b06fcdbcf5323d9cda18c
2019-05-23 12:24:14 -07:00
Fabian Kozynski
0d6f1636e8 Merge "Fix some attributes in themable icons" into qt-dev 2019-05-23 19:01:38 +00:00
TreeHugger Robot
f087f06ed9 Merge "Document device ID access restriction target SDK behavior" into qt-dev 2019-05-23 18:35:44 +00:00
Lyn Han
9a2f5cfcfc Use pointer width from res before getWidth is ready
Fix bug where the first time that bubble stack expands
-mPointerView.getWidth() returns 0 while mPointerView is being created
-setPointerPosition adjusts pointer position by 0
-pointer points to right of center

Also
-replace mPointerView.getHeight() with mPointerHeight
-remove unused getExpandedSize()

Bug: 131849856
Test: manual
Change-Id: I433cf7755152e49c2f8a2fd3df0b70c6dd079b57
2019-05-23 11:28:48 -07:00
Steve Elliott
dc165631a3 Only use grid layout for power menu when wallet is visible
Fixes: 133426008
Test: manual
Change-Id: I55d46f16feb71e4b6733706e0ebaf154e1ca074e
2019-05-23 14:26:31 -04:00
Selim Cinek
0149739cb2 Fixed an issue where notification groups could be empty
Because we were looking at the theoretical and not the actual
showing public state, notifications could get updated to
invisible without ever recovering.
The actual showingPublic state now determins the visibility.

Fixes: 117272628
Test: add low priority child while group is on lockscreen and invisible
Change-Id: Iacdd984451a2e3d69a0aaa8186b6afab5447188e
2019-05-23 11:22:23 -07:00
Ying Zheng
1765dd1ebd Merge "Fix usb service broadcasting for automotive." into qt-dev 2019-05-23 18:04:23 +00:00
Sudheer Shanka
c0ff908a40 Trigger a mediascan when downloads get renamed.
Fixes: 132811564
Test: manual
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/DownloadManagerLegacyTest.java
Test: atest cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/DownloadManagerApi28Test.java
Change-Id: I319a5b45e703b1eda5846d085c5e1e1e86bbae2b
2019-05-23 10:47:30 -07:00
Fabian Kozynski
762f064edf Fix some attributes in themable icons
* Added auto-mirrored for ic_arrow_back
* Fixed color for ic_brightness_thumb

Fixes: 132227230
Bug: 132997623
Test: visual
Change-Id: I0f0f61739d9dd93021ec371a8a8af6e28ab894e3
2019-05-23 13:27:38 -04:00
Lucas Dupin
0a8fcb3a8b Merge "Add shadow to text on keyguard" into qt-dev 2019-05-23 17:15:15 +00:00
Michal Karpinski
09575fa47b Merge "Introduce a grace period for bg activity starts" into qt-dev 2019-05-23 17:00:48 +00:00
Ben Murdoch
a2fcdafa41 Merge "Add worksource AAB bucket to WakeupAlarmOccurred WW atom." into qt-dev 2019-05-23 16:54:14 +00:00
TreeHugger Robot
4292c260dc Merge "Add a mapping for kDownloadMetadataSignatureMismatch." into qt-dev 2019-05-23 16:45:05 +00:00
Amit Mahajan
3aa54b1fff Merge changes from topic "Correct subId in divideMessage()" into qt-dev
* changes:
  Fix the default sub id returned by SmsManager.
  Divide a message text into correctly sized parts
2019-05-23 16:42:19 +00:00
Keun-young Park
a47901806e Merge "Remove special handling of wakeup alarm for car" into qt-dev 2019-05-23 16:29:33 +00:00
Etan Cohen
9869b47cc2 [CM] Fix NPE due to unvalidated callback value
Fix flaky test resulting from the above fix.

Bug: 132950880
Test: atest ConnectivityServiceTest
Merged-In: Ia2cc04b42288ea987483e5ab0e0a10093dc49502
Change-Id: Ia2cc04b42288ea987483e5ab0e0a10093dc49502
(cherry picked from commit cc65a628eb)
2019-05-23 16:23:13 +00:00
Etan Cohen
46c23572b6 [CM] Fix NPE due to unvalidated callback value
When unregistering callback due to ON_UNAVAILABLE did not check for
a non-null callback.

Bug: 132950880
Test: atest ConnectivityServiceTest
Merged-In: Ib3fde31d88c36469cdee1e3578606d130a9817cb
Change-Id: Ib3fde31d88c36469cdee1e3578606d130a9817cb
(cherry picked from commit 51ddc176ab)
2019-05-23 16:20:15 +00:00
TreeHugger Robot
3fce56e79c Merge "Mark the stack nullable so IntelliJ will warn about using it without a null check." into qt-dev 2019-05-23 15:55:41 +00:00
Calvin Pan
261b3b13b0 Merge "Get the resources associated with subid to support MSIM" into qt-dev 2019-05-23 13:15:31 +00:00
Abodunrinwa Toki
5258633e2d Convert TextClassifierEvent to SelectionEvent
for logging in the default TC.

TCEvents for selection and links are not currently being written to
default TC logs. This changelist writes these events as SelEvents.

Bug: 131228248
Test: atest android.view.textclassifier.TextClassifierEventTest
Change-Id: I191f2f9281eab1b8a427ef21717fff283a304a22
2019-05-23 13:37:59 +01:00
Remi NGUYEN VAN
6c7a94d6ff Merge "Add getInterfaceVersion to NetdEventListener" into qt-dev 2019-05-23 12:22:15 +00:00
Michal Karpinski
fc6872ee83 Introduce a grace period for bg activity starts
We allow processes that either had an activity started in them
recently, or recently finished an activity while they were
participating in a visible task to start activities from background
within 10 seconds.

Bug: 132333960
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest BackgroundActivityLaunchTest
Test: manual with bugs on b/hotlistid:1573032
Change-Id: Ica2c1abecf881ff9bb0959f17456d816350e4e96
2019-05-23 13:12:22 +01:00
TreeHugger Robot
fe0bfe66e9 Merge "Don't block activity starts in permissive mode." into qt-dev 2019-05-23 11:01:45 +00:00
Michal Karpinski
b112f3f62b Merge "Remember the process that token was added for also for the services that are already running" into qt-dev 2019-05-23 10:58:00 +00:00
Alex Kershaw
494f8de3df Add a mapping for kDownloadMetadataSignatureMismatch.
Add a mapping for kDownloadMetadataSignatureMismatch (26) from
error_code.h. This involves creating a new system API constant, but it's
just a simple definition so we don't have to hard-code '26'. These
constants are already set in error_code.h. A TODO has been added to
create this constant in the next release.

Test: manual
Bug: 132827080
Bug: 133396459
Change-Id: I4d59702879f2ed654dd467a1ae2dc8e400a0938d
2019-05-23 10:50:40 +00:00
Ioannis Ilkos
c543913a79 Merge "Add tracepoint for gesture navigation launching the camera" into qt-dev 2019-05-23 10:43:54 +00:00
Dario Freni
f6ca3f4e8f Merge "Remove tests already covered by CTS." into qt-dev 2019-05-23 10:10:33 +00:00
Remi NGUYEN VAN
efc774b76c Merge "Properly use versioned interfaces." into qt-dev 2019-05-23 09:52:49 +00:00
Remi NGUYEN VAN
35dd095a4f Merge "Move the NetworkStack tests to unit/ to add an integration test." into qt-dev 2019-05-23 09:48:26 +00:00
TreeHugger Robot
3701dd0616 Merge "Background activity starts are now blocked by default." into qt-dev 2019-05-23 09:43:28 +00:00
Remi NGUYEN VAN
d2bdf82af2 Add getInterfaceVersion to NetdEventListener
This is necessary to freeze netd_event_listener_interface.

Bug: 133124190
Test: Built with change, new GtsNetworkStackHostTestCases passes
(cherry-pick from aosp/968213)
Merged-In: I12c7bd86b796964fff658a326e99e55149e47809
(cherry picked from commit 9ef856dcbb)

Change-Id: I9928b10718f5c9ebcfd98d0fdee184b9cb691f6a
2019-05-23 07:47:08 +00:00
Lorenzo Colitti
cb29c2b2c9 Properly use versioned interfaces.
Our stable AIDL interfaces need to use versioned build targets,
otherwise getVersion will always return 0, which makes it
impossible to support different components at different versions.

List generated with:
find . -name Android.bp -exec egrep \
    -H "(netd|dnsresolver|ipmemorystore|networkstack).aidl.interface(s?)-(java|cpp)" {} \; \
    | grep -v oemnetd | grep -v tests/

Test: m
Bug: 133124190
(cherry-pick from aosp/968011)
Merged-In: Idf49e840263ef32b9ee4fafa6718d4f893ea7c87
(cherry picked from commit 433f7c4178)

Change-Id: I77e2291b52fda24ee01e1b22ddafe4fe7368959e
2019-05-23 07:43:47 +00:00
Lorenzo Colitti
c717c59031 Move the NetworkStack tests to unit/ to add an integration test.
Test: m
Bug: 133389827
(cherry pick from aosp/960932)
Merged-In: I7aeab47b31429b1f9a42f9b170aeba238c133950
Change-Id: Ie455b7a6a950cb5e34841efc3738c11fe1fd12f0
2019-05-23 16:38:52 +09:00
Anil Admal
2966db7c0a Merge "Use startOp/finishOp to show location icon for non-framework location" into qt-dev 2019-05-23 05:21:54 +00:00
TreeHugger Robot
acd959e53f Merge "Fix issue where notifications should not animate" into qt-dev 2019-05-23 04:45:31 +00:00