Commit Graph

7060 Commits

Author SHA1 Message Date
Mihai Nita
56ce472702 Changed the header of the region selection list to "All regions" am: 543e45babe am: c3b11eb043
am: b6e81a40cd

Change-Id: I688a1681a79ce2e1a18f4d80c4e804f524122300
2016-09-08 21:07:09 +00:00
Mihai Nita
b6e81a40cd Changed the header of the region selection list to "All regions" am: 543e45babe
am: c3b11eb043

Change-Id: Id5a4ccda29952ae68f1d73c1c063547cc8c827c3
2016-09-08 21:01:02 +00:00
Mihai Nita
c3b11eb043 Changed the header of the region selection list to "All regions"
am: 543e45babe

Change-Id: I7e42e404d7021094376104119f7568fe1838e489
2016-09-08 20:54:43 +00:00
Mihai Nita
543e45babe Changed the header of the region selection list to "All regions"
Bug: 31257462
Change-Id: I3112b5700e23674d2c48c7ca96a2f1a17a5f15db
2016-09-08 11:00:34 -07:00
Paul Duffin
294a6af0e2 Merge "Fix SuppressWarnings typo." am: 0bd7c54745 am: a155f43794
am: 4f107811e2

Change-Id: Ie1f24753f898410aca1270a0d29df06d107fc094
2016-09-08 12:37:35 +00:00
Paul Duffin
4f107811e2 Merge "Fix SuppressWarnings typo." am: 0bd7c54745
am: a155f43794

Change-Id: If228867926149f7cad9b5a479beefc45cacfe7f2
2016-09-08 12:32:31 +00:00
Paul Duffin
a155f43794 Merge "Fix SuppressWarnings typo."
am: 0bd7c54745

Change-Id: I43a9bea860188f55292dcbeac38bf026d87fa634
2016-09-08 12:27:27 +00:00
Ian Rogers
e09ac05b35 Fix SuppressWarnings typo.
As Error Prone states:
Suppressing "deprecated" is probably a typo for "deprecation"
Bug: 27723540

(cherry picked from commit a7f834f1ce)

Change-Id: I0c6a9fc0a160769955cccf97ec7decb1f2b9b8fb
2016-09-08 13:11:37 +01:00
Lorenzo Colitti
4171cdf303 Give WakeupMessage the ability to transport an object as well. [DO NOT MERGE]
(cherry-pick of commit eab17da588)

Bug: 23113288
Change-Id: Ic98e3bcb3ea8b0b28a309bd647fb4178311c46a3
2016-09-06 15:54:16 -07:00
Amith Yamasani
2f2b5aca20 Call Debug.getPss without a lock held am: 10e8f16add am: f10d31f5d0
am: 65fdd196fa

Change-Id: Ic41194d60d8919d69123bd40082c86b2a1e22571
2016-09-01 01:33:19 +00:00
Patrick Tjin
167e48417e BootReceiver: Report correct headers for last messages am: 60c17395a6 am: 56734f96ec
am: 7eb4b15e4b

Change-Id: I3201e2e35b09c871f2505d7609b75259776392ea
2016-08-31 22:31:58 +00:00
Jorim Jaggi
32cbdcc8c0 resolve merge conflicts of c5bafe2 to master
Change-Id: I19dd5c88c664313c2f8b47d8f8fd556f630c8bf1
2016-08-31 13:51:50 -07:00
Amith Yamasani
65fdd196fa Call Debug.getPss without a lock held am: 10e8f16add
am: f10d31f5d0

Change-Id: I037274eab1841fb57440bbd13a5f290e079736dd
2016-08-31 18:29:35 +00:00
Amith Yamasani
f10d31f5d0 Call Debug.getPss without a lock held
am: 10e8f16add

Change-Id: I8b55ec20fb8cb99941783c88f0a6035e4dcb1e9b
2016-08-31 17:13:57 +00:00
Amith Yamasani
9edadbd87a Merge "Call Debug.getPss without a lock held" into nyc-mr1-dev 2016-08-31 17:09:18 +00:00
Amith Yamasani
10e8f16add Call Debug.getPss without a lock held
Attempt to reduce the chances of watchdog killing the system
server if process pss gathering takes too long during heavy load.

Bug: 30896716
Change-Id: I4ed1a15c0c512a8c82842cde74e733d99d887ee0
2016-08-30 16:39:03 -07:00
Patrick Tjin
7eb4b15e4b BootReceiver: Report correct headers for last messages am: 60c17395a6
am: 56734f96ec

Change-Id: Ieabeda97789d8aabc4e2aecb38ec5bc700061022
2016-08-30 05:31:58 +00:00
Patrick Tjin
56734f96ec BootReceiver: Report correct headers for last messages
am: 60c17395a6

Change-Id: Ib938941dc0cdc066a476964732fc6ce7ee3daac9
2016-08-30 05:22:48 +00:00
Pat Tjin
6c0d81520b Merge "BootReceiver: Report correct headers for last messages" into nyc-mr1-dev 2016-08-30 05:18:35 +00:00
Jorim Jaggi
c5bafe26cb Add animation when unoccluding windows (1/2) am: 6626f54e65
am: 314c05db45

Change-Id: I0e9d85e8f90d00fe835c0622438ac5b6afd2b52d
2016-08-30 02:33:24 +00:00
Mitchell Wills
722de5f9d0 DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp
Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
2016-08-29 17:46:44 -07:00
The Android Automerger
f287780643 Manually merge commit 'b0b6afc' into nyc-dev-plus-aosp 2016-08-30 00:26:21 +00:00
Jorim Jaggi
314c05db45 Add animation when unoccluding windows (1/2)
am: 6626f54e65

Change-Id: I09be1e1b7d830067c354c6cdfd940deafa027a22
2016-08-30 00:25:52 +00:00
Teng-Hui Zhu
76817faf29 Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test. am: 0a815bb94f am: 3687be955f
am: d607d75790

Change-Id: Id83875c14472af2ba44f0194c897460ec6aa427d
2016-08-29 22:39:09 +00:00
Yuichi Biwa
98a824dbb7 ChooserActivity: Cannot start app that the icon overflows the layout
am: cb3e1237b5

Change-Id: I066aa6f03ea3c45fa1330556bc3a6db29ab48262
2016-08-29 22:18:46 +00:00
Abodunrinwa Toki
6507b8b333 FloatingActionMode: Fix screen coordinates.
am: 99c340cad9

Change-Id: I73ff6d1b3bed01d7738634c67a6f6d1a2e755da1
2016-08-29 22:18:07 +00:00
Jorim Jaggi
6626f54e65 Add animation when unoccluding windows (1/2)
Before there was a jump-cut when a window that was occluding Keyguard
was going away, leading to an ugly flicker. To fix this, we do the
following.

- Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even
if they don't "match" the currently occluding app (which is null in the
animation case)
- Move wallpaper behind last window that is not hidden by policy, so the
window doesn't get occluded by the wallpaper.
- Add a flag in the setOccluded call whether to animate or not. SystemUI
then plays a nice animation when it's set.
- Override the animation to always be the animation that happens when we
exit a window which is revealing the wallpaper behind, to make it
consistent with the home screen case.

Fixes: 30829255
Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
2016-08-29 14:15:33 -07:00
Mitchell Wills
07e317c3cd Add Log.wtf when transitionTo is used improperly
Using transitionTo in exit/enter (except in the terminal state) is
documented as undefined behavior and may cause unexpected results.
The current implementation appears to finish the current transition and
then transition to the new target state.

TEST=flash and play with the phone, no sign of immediate WTFs

Change-Id: I38a34b85c43d53c51514339587fc1269a069a454
(cherry picked from commit 8d3ed21583)
2016-08-29 11:26:53 -07:00
Mitchell Wills
009ae99582 Reenable the unit tests for StateMachine
In order to make the tests run a few methods must be made public so that
they can be called from a class loaded by a different class loader.

Fixed: 28217358
Change-Id: I98ce1e952a78528ae6ebd3a0e843c9ddfe937337
(cherry picked from commit 36afe5b5cc)
2016-08-29 11:26:51 -07:00
Rebecca Silberstein
934535bfe5 DO NOT MERGE StateMachine: remove final from SendMessage
Removed final from public sendMessage and sendMessageDelayed commands to
unblock unittest development.  This allows tests to verify calls to
sendMessage and sendMessageDelayed.

Also fixed one checkstyle error with import order.

BUG: 28593024
Change-Id: I26e02c3d75049d385ded7891c4fc9967273c27be
TEST: builds
TEST: runtest frameworks-wifi
(cherry picked from commit 0dbeb9e01a)
2016-08-29 11:26:42 -07:00
Abodunrinwa Toki
afc0c73a91 Merge "FloatingActionMode: Use DisplayMetrics.getRealSize for screen size." 2016-08-29 17:17:44 +00:00
Yuichi Biwa
cb3e1237b5 ChooserActivity: Cannot start app that the icon overflows the layout
Symptom:
When sharing an image from Album, ChooserActivity can be shown.
But then the app to be located to the bottom part of the list may not
be started even if user tap it.

Root cause:
ChooserActivity uses ResolverDrawerLayout. And ResolverDrawerLayout
can display only some items on the list (known as "Collapse mode").
When the item clipping along the bottom edge is tapped by the user,
ResolverDrawerLayout tries to expand the list and scroll it to a
better position, instead of starting an application.
In this problem case, ResolverDrawerLayout continues to try to expand
the list whenever tapping, so an application will never start.

Solution:
Change a condition so that mOpenOnClick becomes true only when the list
has been collapsed (mCollapseOffset > 0).

Bug: 30153542

Change-Id: I576fb6c8b6a91d79c1e0d46d069146779f4dbd17
(cherry picked from commit 4f3a843ea9)
2016-08-27 01:36:44 +00:00
Abodunrinwa Toki
99c340cad9 FloatingActionMode: Fix screen coordinates.
Use application context to get the screen's display metrics.

Bug: 30127070
Change-Id: I2c453c494ef210c12d89fc7e3ff026728f9ecb0f
(cherry picked from commit afb38c5cc4)
2016-08-27 01:27:28 +00:00
Michael Kwan
7fa10b3a0d Add offset to round screens when an AlertDialog list item is shown. am: 44f854acd7
am: 8aa5b6ac24

Change-Id: I86007173228d55eac99d03f72aaa5bef3467778a
2016-08-26 22:14:20 +00:00
Roshan Pius
820f592220 XmlUtils: Add missing readThisByteArrayXml method
Add the missing XML to byte array conversion method.

While there,
1. Fix writeByteArrayXml method to store the hex chars of the value.
2. Cleanup couple of error strings in |readThisIntArrayXml| method.

BUG: 29039296
Change-Id: I6386f7df7c5c8b7bc3bc5a268196da617209cea9
TEST: Compiles & manual testing.
(cherry picked from commit 651209b597)
2016-08-26 13:22:43 -07:00
Colin Cross
2268fc12b5 resolve merge conflicts of 1095b21 to master
Change-Id: I611579044234435a07cad2f64930b731e53aec77
2016-08-25 22:18:33 -07:00
Teng-Hui Zhu
2b769c4dde Add an new internal DrawableContainer to handle animation scale == 0 case. am: 0c03664fa6 am: 0bc9fa9896
am: ab2ed1a4e7

Change-Id: I2de378da33ca93639c03544c8702e17eaefee514
2016-08-26 02:15:07 +00:00
Teng-Hui Zhu
d607d75790 Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test. am: 0a815bb94f
am: 3687be955f

Change-Id: I3de20fb11eaf1fc98c769f0aae1751a2b5549b1f
2016-08-25 18:36:06 +00:00
Teng-Hui Zhu
3687be955f Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test.
am: 0a815bb94f

Change-Id: I9b5d851f95349a7c8981ab8868608e21996a1bb5
2016-08-25 18:28:21 +00:00
Tenghui Zhu
1e37cc2f8a Merge "Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test." into nyc-mr1-dev 2016-08-25 18:24:12 +00:00
Michael Kwan
8aa5b6ac24 Add offset to round screens when an AlertDialog list item is shown.
am: 44f854acd7

Change-Id: Ibfaa7c431c4bacf31d217850749c8df5a8660c6e
2016-08-25 06:12:02 +00:00
Michael Kwan
a064b9bb01 Merge "Add offset to round screens when an AlertDialog list item is shown." into cw-f-dev 2016-08-25 06:06:07 +00:00
Teng-Hui Zhu
0a815bb94f Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test.
Also rename an internal class.

b/30877925

Change-Id: Ib971ed090907a0ab387dd7c768e2b77eb9b69f75
2016-08-24 16:12:20 -07:00
Alan Viverette
ff40d08fd9 Override LinearLayout's onLayout pass in AlertDialogLayout am: 1bb8f51e76
am: ab508dd52b

Change-Id: I7a5999488de62d391bf0a33dca223e77cebff86d
2016-08-24 18:40:51 +00:00
Alan Viverette
ab508dd52b Override LinearLayout's onLayout pass in AlertDialogLayout
am: 1bb8f51e76

Change-Id: I63af639e859e2b7c72d93233c5b9ec7da2bb01cf
2016-08-24 18:28:40 +00:00
Alan Viverette
52306705c1 Merge "Override LinearLayout's onLayout pass in AlertDialogLayout" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Teng-Hui Zhu
ab2ed1a4e7 Add an new internal DrawableContainer to handle animation scale == 0 case. am: 0c03664fa6
am: 0bc9fa9896

Change-Id: I10fe7a99a8857ce76181c98da30287916dc7aab4
2016-08-24 16:36:30 +00:00
Teng-Hui Zhu
0bc9fa9896 Add an new internal DrawableContainer to handle animation scale == 0 case.
am: 0c03664fa6

Change-Id: I7feae01c6302e2942087c6dfe1948109467f1326
2016-08-24 16:28:55 +00:00
Alan Viverette
1bb8f51e76 Override LinearLayout's onLayout pass in AlertDialogLayout
LinearLayout sets up internal state during onLayout that's missing when
we override onMeasure. Avoid calling super.onMeasure() by re-implementing
onLayout without the internal state dependencies.

Bug: 30494039
Change-Id: I1149517a2fe5f5afdb4125db5e7f573588fea740
2016-08-24 12:26:27 -04:00
Patrick Tjin
60c17395a6 BootReceiver: Report correct headers for last messages
BootReceiver was using current build information when reporting
various versions. This was causing A/B devices to report the
wrong build information when reporting crashes since rebooting
a A/B device with a pending OTA would automatically apply the
OTA. (the problem was not seen on devices without A/B due to
booting through recovery to apply the OTA)

Bug: 30594862
Change-Id: I6f52081142e338c822c9135cba48a1f88f4d4bdb
2016-08-23 14:07:10 -07:00