Commit Graph

8130 Commits

Author SHA1 Message Date
Eugene Susla
554edd35ec Serialize all standard actions as bit mask
As described in the attached bug, all(not just legacy) AccessibilityNodeInfo
standard actions can be serialized into a bit mask. This implements that.

Fixes: 33949542
Test: cts-tradefed run singleCommand cts -d --module CtsAccessibilityServiceTestCases
cts-tradefed run singleCommand cts -d --module CtsAccessibilityTestCases
cts-tradefed run singleCommand cts -d --module CtsUiAutomationTestCases
Change-Id: I0619ee33de3051d582420d4aef135205a9ec7e8c
2017-06-07 19:26:43 -07:00
Paul Crowley
766ee6a881 Merge "Make synthetic password enabled by default" 2017-05-26 18:28:00 +00:00
TreeHugger Robot
7528bcfbfb Merge "Backup / restore additional lock screen settings" 2017-05-26 09:51:42 +00:00
Ian Lake
bea9348874 Merge "Relayout when base inner insets change" into oc-dev am: 7f874db5aa
am: 82624f130b

Change-Id: I1bb3642d57f7cbce3813ebb6ae131cad544fb674
2017-05-26 01:43:09 +00:00
Adam Powell
ef25131255 Merge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev am: 05d64e8b72
am: f7a9adec31

Change-Id: I81eef839315a64d5a4c9cee84289f14493abd988
2017-05-26 01:41:16 +00:00
Ian Lake
82624f130b Merge "Relayout when base inner insets change" into oc-dev
am: 7f874db5aa

Change-Id: I91bc90559f462d622133a018b1217eae10b6e11b
2017-05-26 01:31:10 +00:00
Adam Powell
f7a9adec31 Merge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev
am: 05d64e8b72

Change-Id: I3cbf8fbdc9a54f1d47c1ab4c86eaf3f1850f468f
2017-05-26 01:28:41 +00:00
TreeHugger Robot
7f874db5aa Merge "Relayout when base inner insets change" into oc-dev 2017-05-25 23:25:49 +00:00
TreeHugger Robot
05d64e8b72 Merge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev 2017-05-25 23:19:56 +00:00
Bryan Mawhinney
e483b56ea8 Backup / restore additional lock screen settings
Bug: 22630260
Test: manual :-(

Change-Id: I5c7f3c3a73398cdb14568fb3fcff9410afcef660
2017-05-25 11:22:53 +01:00
Adam Powell
ad4624b1cc Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev
Port the previous change that was merged DO NOT MERGE for an upstream
branch that filters non-exported activities from ResolverActivity.

Bug: 34147053
Test: by previous CL
Change-Id: I2d0a018afd5e9c876f82fc5f551f1edc4b2305c8
2017-05-24 12:38:17 -07:00
Andreas Gampe
d5a44707db Zygote: Allow arbitrary-length wrap property names
The restriction on system property key length has been lifted.
Update the invoke-with code to first check the full-length property.
Then fall back to the truncated version for backwards-compatibility.

Bug: 37276041

Test: m
Test: manual with long package name (Maps)
(cherry picked from commit 4c88a8c684)

Change-Id: Ic27a26a676f7ac5a998a9bea14259725e89b7e37
2017-05-24 11:26:18 -07:00
Ian Lake
67c0b1b51e Relayout when base inner insets change
When using SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN and
fitsSystemWindows="true", there are cases when the
inner insets will change but the content insets will
remain the same.

One case where this happens is when using
windowSoftInputMode="adjustResize|stateHidden",
bringing the keyboard up, hitting the Recents button,
then going back into the app.

By issuing a requestLayout when the base inner insets
change, we ensure that the inner layout is properly
updated, avoiding an empty space where they keyboard
used to be.

Test: Run app from b/37743589#comment6

BUG: 37743589
Change-Id: I7615c51b8f4eee3971b9b95e638011c1d885b3a6
2017-05-24 10:23:17 -07:00
Keun-young Park
12a27055a7 fs_stat: ignore timestamp adjustment
- Timestap adjustment happens when a file is created with device time
  set to EPOCH or close time, usually after wiping userdata.
- This is not a file system corruption, so ignore this case when checking
  fs error from fs_stat.

bug: 38513305
Test: unit test, reboots

Change-Id: I23e31e10d8b9f65b61b03854d0b96fefdd013111
2017-05-23 16:46:31 -07:00
Abodunrinwa Toki
568f60091c Merge "Fix FloatingToolbar refresh on menu changes." into oc-dev am: 7c4998e614
am: 656d33f323

Change-Id: I1a31b55aaf5844241d926839c163f2a550f8a1e5
2017-05-23 16:18:10 +00:00
Abodunrinwa Toki
773d9e870a Merge "Ensure FloatingActionMode has a non-null FloatingToolbar." into oc-dev am: 76ec0575bc
am: 29a03ce74e

Change-Id: I759aa487aa85d35322c7e1be5cc10e46ce5c5b7d
2017-05-23 16:11:24 +00:00
Abodunrinwa Toki
656d33f323 Merge "Fix FloatingToolbar refresh on menu changes." into oc-dev
am: 7c4998e614

Change-Id: Id7e6c2485fa3a0519b77dd64498808d255f10fbc
2017-05-23 16:10:59 +00:00
Abodunrinwa Toki
29a03ce74e Merge "Ensure FloatingActionMode has a non-null FloatingToolbar." into oc-dev
am: 76ec0575bc

Change-Id: If1353fcbfc97a752bec758763caf1188b8c0daa3
2017-05-23 16:05:15 +00:00
TreeHugger Robot
7c4998e614 Merge "Fix FloatingToolbar refresh on menu changes." into oc-dev 2017-05-23 16:01:37 +00:00
TreeHugger Robot
76ec0575bc Merge "Ensure FloatingActionMode has a non-null FloatingToolbar." into oc-dev 2017-05-23 15:57:49 +00:00
Wale Ogunwale
5fa8206796 Merge "Revert "Changed alert window notifications to use single channel"" into oc-dev am: 540cb28c5a
am: 2c0dfb74a6

Change-Id: If61599e1cc029ac811856132186b41a5272fd956
2017-05-23 03:44:05 +00:00
Wale Ogunwale
2c0dfb74a6 Merge "Revert "Changed alert window notifications to use single channel"" into oc-dev
am: 540cb28c5a

Change-Id: I188f1e181ff7feab8d1da92f6ef72ac43d47719c
2017-05-23 03:38:03 +00:00
TreeHugger Robot
540cb28c5a Merge "Revert "Changed alert window notifications to use single channel"" into oc-dev 2017-05-23 03:32:43 +00:00
Wale Ogunwale
af38fd7b0f Revert "Changed alert window notifications to use single channel"
This reverts commit 8f7bebca36.

We now want multiple channels so the user can disable which ever ones they like.

Change-Id: I6015cd5f1e3f37a8a01e1db42b57a94087780304
Fixes: 38428796
Bug: 37422870
2017-05-23 01:43:59 +00:00
Sudheer Shanka
be0c935e8d Merge "Read cpu freq data only when needed." into oc-dev am: fdeb6b8ed3
am: 7c1598d5e8

Change-Id: I82502ee6740a451b23fcef8c5383988615ff7651
2017-05-23 00:26:36 +00:00
Sudheer Shanka
7c1598d5e8 Merge "Read cpu freq data only when needed." into oc-dev
am: fdeb6b8ed3

Change-Id: I241535a379b8e3cf547d73c05fe0dc7298ccc958
2017-05-23 00:20:34 +00:00
Sudheer Shanka
fdeb6b8ed3 Merge "Read cpu freq data only when needed." into oc-dev 2017-05-22 23:52:02 +00:00
Abodunrinwa Toki
46850fcaea Fix FloatingToolbar refresh on menu changes.
Also includes some minor code clean ups.

Fixes: 38465735
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit CtsWidgetTestCases:android.widget.cts.TextViewTest

Change-Id: Ie87cc256b77b3ec5732f49c000ce4845130fc91c
2017-05-22 23:56:03 +01:00
Abodunrinwa Toki
17293cc8a2 Ensure FloatingActionMode has a non-null FloatingToolbar.
Test: none
Bug: 38472422
Change-Id: I8b1844e0cbbff6dedeb0a89536a4bc27535b56df
2017-05-22 14:16:04 +01:00
Sudheer Shanka
671985f483 Read cpu freq data only when needed.
Bug: 34133340
Test: cts-tradefed run singleCommand cts-dev -m ctsIncidentHostTestCases -t \
      com.android.server.cts.BatteryStatsValidationTest

Change-Id: Ib235e166820b95b5cd0a496b6146ea353abdf844
2017-05-19 17:09:48 -07:00
Adam Bookatz
3da7c56dd8 Merge "Cumulative wakelock time per uid" into oc-dev am: 1effe000b8
am: 95cf947fba

Change-Id: I58660c0671a49388f8b9fdff28060e9312fa497d
2017-05-19 18:41:45 +00:00
Adam Bookatz
95cf947fba Merge "Cumulative wakelock time per uid" into oc-dev
am: 1effe000b8

Change-Id: I475ced78c13cadd48ba3be70d680a4a3fa83e500
2017-05-19 18:32:20 +00:00
Adam Bookatz
1effe000b8 Merge "Cumulative wakelock time per uid" into oc-dev 2017-05-19 18:24:44 +00:00
Jorim Jaggi
1d4d1ec66a Merge "Fix underdraw during resizing" into oc-dev am: 906fe92759
am: c907b736a9

Change-Id: Iae0cfdbe8dfe79142c55d282069d9740f83f1b3f
2017-05-19 16:04:17 +00:00
Jorim Jaggi
c907b736a9 Merge "Fix underdraw during resizing" into oc-dev
am: 906fe92759

Change-Id: I25fe2b06324f238d2d5d6092837919d1f5659bf3
2017-05-19 15:53:18 +00:00
Jorim Jaggi
906fe92759 Merge "Fix underdraw during resizing" into oc-dev 2017-05-19 15:42:51 +00:00
Jorim Jaggi
853d17d838 Fix underdraw during resizing
Since we hide the navigation bar background during resizing, we
need to fill it with the fallback background.

This was always an issue but somehow in OC we are displaying
garbage instead of black.

Test: Open Contacts/Dialer, resize, make sure no underdraw is
happening. Also test a couple of other apps.
Fixes: 36206155

Change-Id: I6b02060ef4acf36c2529d49063a61034f9261696
2017-05-19 14:53:55 +02:00
Ahmed ElArabawy
d78a02b1de Merge "Revert "power hal: Use power HAL API 1.1"" 2017-05-18 23:57:27 +00:00
Sudheer Shanka
d720f319fe Merge "More unit tests for classes needed in reading uid times per cpu freq." into oc-dev am: aff7c3c71e
am: 1768a0054d

Change-Id: Ic22cc9e7289479e8e7df8db961b240db93721a15
2017-05-18 18:06:56 +00:00
Sudheer Shanka
1768a0054d Merge "More unit tests for classes needed in reading uid times per cpu freq." into oc-dev
am: aff7c3c71e

Change-Id: Ie7691a19ef61668afd9200c9a3c77fa9fc5368f1
2017-05-18 17:53:28 +00:00
Sudheer Shanka
aff7c3c71e Merge "More unit tests for classes needed in reading uid times per cpu freq." into oc-dev 2017-05-18 17:42:17 +00:00
Ahmed ElArabawy
48b908bd77 Revert "power hal: Use power HAL API 1.1"
This reverts commit 0a4e11480b.
The reason of the revert is to check for the application start time
regression that may have been caused by the CL (original CL# 2087376)

Bug: 38317397
Test: None

Change-Id: I4f249ba722791c7238a38e845a5cc2bd2d14a450
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-05-17 16:12:57 -07:00
Eugene Susla
4a34f9c2f6 Print A11yEv. Content Change Types in DEBUG toString
Test: Enable debug, and ensure changeTypes are properly displayed
Change-Id: I1bf6a9f56a72e867a0bc967a5e3527eb4dc83952
2017-05-17 11:13:05 -07:00
Selim Cinek
ddb397be72 Merge changes I858017b8,Ife32b600 into oc-dev am: 63e8bfe1c5
am: 29260fd33b

Change-Id: Ida456542645ab7654705631dcba4d602669372e2
2017-05-17 16:18:22 +00:00
Selim Cinek
29260fd33b Merge changes I858017b8,Ife32b600 into oc-dev
am: 63e8bfe1c5

Change-Id: Ib280d1e343d5765ea93edcfbc5aae21417e6c590
2017-05-17 16:09:50 +00:00
Selim Cinek
63e8bfe1c5 Merge changes I858017b8,Ife32b600 into oc-dev
* changes:
  Improved the media color extraction algorithm
  Fixed broken coretests
2017-05-17 15:59:07 +00:00
Rubin Xu
4d36be3f1d Make synthetic password enabled by default
Also provide a shell command to disable it, for testing purpose.

Bug: 37464893
Test: manual
Change-Id: Ibe1276a0e52abff840d3094a822519dd3fc46672
2017-05-17 11:21:00 +01:00
TreeHugger Robot
41902fb366 Merge "Avoid marshalling default-valued fields" 2017-05-16 22:24:31 +00:00
Andreas Gampe
d5a9460f6c Merge "Zygote: Allow arbitrary-length wrap property names" am: 11780f1ad3 am: c942ae61e9 am: 85c5e1c123
am: 52fe51d8b0

Change-Id: Iceb651255f6541ff46f7a64092f5f55d27318d2d
2017-05-16 21:30:19 +00:00
Andreas Gampe
52fe51d8b0 Merge "Zygote: Allow arbitrary-length wrap property names" am: 11780f1ad3 am: c942ae61e9
am: 85c5e1c123

Change-Id: Id599b6c108b656932343209eb29abb3837b15624
2017-05-16 21:19:16 +00:00