Commit Graph

80619 Commits

Author SHA1 Message Date
TreeHugger Robot
fa23f8e30e Merge "[DO NOT MERGE] Eliminate duplicate layers in A11yService#getWindows()" into pi-dev 2018-03-20 21:46:40 +00:00
TreeHugger Robot
1c7c2bdd0b Merge "Log visual interruptions to usagestats." into pi-dev 2018-03-20 21:34:01 +00:00
TreeHugger Robot
06ce5f6803 Merge "Make SYSTEM_INTERACTION a SystemApi" into pi-dev 2018-03-20 21:31:58 +00:00
TreeHugger Robot
cb686a19e6 Merge "Minor changes to the API to align the choice of password hashing algorithm" into pi-dev 2018-03-20 21:13:26 +00:00
Andrii Kulian
002e0ef06e Merge "Don't throw exception for duplicate stop" into pi-dev 2018-03-20 21:11:09 +00:00
TreeHugger Robot
039deb4390 Merge "Moves the settings changed logging for statsd." into pi-dev 2018-03-20 20:30:31 +00:00
TreeHugger Robot
c863d506cf Merge "Expose if running a11y service has crashed" into pi-dev 2018-03-20 20:16:08 +00:00
Sunny Goyal
90df705a0b Merge "Updating javadoc for updateAppWidgetProviderInfo API" into pi-dev 2018-03-20 20:03:47 +00:00
Eugene Susla
18e7fc1114 [DO NOT MERGE] Eliminate duplicate layers in A11yService#getWindows()
Fixes: 73904014
Test: using TestBack, ensure the attached bug is fixed
Change-Id: I097ca47563420d658cea083a3b6f8d5e7d02991c
(cherry picked from commit 8f0124190a)
2018-03-20 19:39:06 +00:00
Julia Reynolds
7217dc9f76 Log visual interruptions to usagestats.
Test: runtest systemui-notification, cts
Bug: 74318867
Change-Id: I6233240c2a7940225cadde0258b5d7ba88b86aaf
2018-03-20 15:14:16 -04:00
Chris Wren
6446ed4a0f Merge "support framework logging for slices" into pi-dev 2018-03-20 17:33:40 +00:00
Anthony Stange
e1671a5c74 Merge "DO NOT MERGE Add scan background mode to Settings.Global." into pi-dev 2018-03-20 17:29:42 +00:00
TreeHugger Robot
c6d6f55ec4 Merge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME" into pi-dev 2018-03-20 17:23:59 +00:00
Sunny Goyal
0b417b9b04 Updating javadoc for updateAppWidgetProviderInfo API
Bug: 74838920
Test: N/A
Change-Id: I531676900fbf8d60ef7050c86a570112ff1ad476
2018-03-20 10:04:28 -07:00
TreeHugger Robot
8cf1ae4928 Merge "Auto zen rules reset for some upgrading users" into pi-dev 2018-03-20 16:51:10 +00:00
Leon Scroggins
83ad4e53b6 Merge "Scale up in ImageDecoder based on API level" into pi-dev 2018-03-20 16:44:44 +00:00
Leon Scroggins III
8290eaba47 Scale up in ImageDecoder based on API level
Bug: 74061412
Bug: 73893665
Test: Manual, I5669a97c70d726826c5c00bc1413c2f97d95d88c

ImageDecoder typically does not scale a Bitmap up to handle density.
This saves memory, and we already handle the density by scaling at
draw time. But some apps rely on the size of the Bitmap without taking
density into account. For backwards compatibility, on apps that are
built for a pre-P version of Android, scale up in ImageDecoder.

Change-Id: I9991d1286e386b47fc57bcfbf0c6652beb1a53ef
2018-03-20 10:30:32 -04:00
Peter Visontay
a382a8e668 Add missing "android:" prefix to some app op constants.
Bug: 75253734
Test: none
Change-Id: Ie91b4bee938b9c834c2cb3c831e3473fab0f534c
2018-03-20 14:25:12 +00:00
Beverly
4e2f76c3ef Auto zen rules reset for some upgrading users
Automatic zen rules will be set to the undeletable,
default rules for for fresh P devices and for upgrading users
who didn't have any zen automatic rules enabled on upgrade

Bug: 74381638
Test: atest ZenModeHelperTest
Change-Id: Icfa7dfe6c99cb9d67821df0034d5e9a3457b2ef4
2018-03-20 09:31:29 -04:00
Anthony Stange
c97870a91a DO NOT MERGE Add scan background mode to Settings.Global.
This enables us to mess with the different scan intervals and shift
clients to a different scan mode in the background based on what scan
interval values we choose for the different power modes.

Bug: 71765044
Test: None. Just adding a key.
Change-Id: Id48ebc521dd3fe8a68c9c4c0bdb1018ea5b3743e
2018-03-20 10:51:54 +00:00
TreeHugger Robot
837f1364f6 Merge "Frameworks: Handle exceptions in SystemProperties callbacks" into pi-dev 2018-03-20 05:37:44 +00:00
Bo Zhu
e066a59436 Minor changes to the API to align the choice of password hashing
algorithm

The password hashing algorithm has existing implementation in AOSP.

Bug: 75024420
Test: None
Change-Id: If1b07dadf21837af1cb2835df3f12c234894f57e
2018-03-19 22:32:27 -07:00
kopriva
fdffe0a8be docs: fixing typo, bug 36909553
am: 4dddc63ee7

Change-Id: Ib943321651422b55b928b90617145a871a0d0460
2018-03-20 04:12:47 +00:00
Andreas Gampe
92fc065cf6 Frameworks: Handle exceptions in SystemProperties callbacks
When notifying callbacks, catch thrown exceptions.

(cherry picked from commit 7074e6fd4c)

Bug: 73058952
Test: m
Test: atest SystemPropertiesTest
Merged-In: I1c61e11b833e8ddd30d80b9859b20a9fb3185a33
Change-Id: I1c61e11b833e8ddd30d80b9859b20a9fb3185a33
2018-03-19 20:33:49 -07:00
Sunny Goyal
dbb0a49f00 Merge "Updating java doc for requestPinAppWidget" into pi-dev 2018-03-20 02:07:48 +00:00
Andrii Kulian
829829ca2c Don't throw exception for duplicate stop
A double stop request is possible when display is being locked.
An activity may receive a "sleep" message followed by "stop",
both of which try to move it to stopped state.

An example when this happens: a keyguard is set up and the screen
is being locked. The keyguard will occlude the activity, which
causes a transition to paused state and, eventually, to stopped
state. A "sleep" message can be sent sometime before "stop" message
and will ignore that activity is in the process of becoming stopped.

Change-Id: I09e2c26004664b6e73ac5c2b6fe88bdf8271cf34
Fixes: 74967786
Test: FrameworksCoreTests:ActivityThreadTest
2018-03-19 18:41:15 -07:00
David Chen
bd78991bc6 Moves the settings changed logging for statsd.
Previously, we wrote a log entry regardless of permission checks, so
the logging could be misleading. Now we only send the log to statsd
after verifying that this setting mutation is valid.

Test: Flashed onto marlin-eng and verified stats-log as expected.
Bug: 73493944
Change-Id: I2a8b052aa8c380ffc5d15caec089fffcdc5823f4
2018-03-19 17:11:03 -07:00
Alice Sheng
7723aed494 Merge "Revert "Add setting for enabling CPU frequency scaling."" into pi-dev 2018-03-19 22:38:25 +00:00
Alice Sheng
6750352248 Revert "Add setting for enabling CPU frequency scaling."
This reverts commit 2e8afd8736.

Reason for revert: SELinux Boot crash
Bug: 75974893

Change-Id: I4751530a1b460842130a495efe688aaf19b92638
2018-03-19 22:36:52 +00:00
TreeHugger Robot
f4f317798b Merge "Settings: Remove unused bg scan throttle settings" into pi-dev 2018-03-19 22:24:04 +00:00
Siyamed Sinir
46c84bf237 Merge "Fix rounding error related to autoSize" into pi-dev 2018-03-19 22:15:31 +00:00
TreeHugger Robot
46c0e91b74 Merge "Removing the settings-based IncidentReportArgs method." into pi-dev 2018-03-19 22:15:11 +00:00
TreeHugger Robot
83c4690f55 Merge "Camera2: Use Set for physical camera IDs" into pi-dev 2018-03-19 22:02:58 +00:00
TreeHugger Robot
f679bda843 Merge "Move trusted CA certs to core" into pi-dev 2018-03-19 21:44:23 +00:00
TreeHugger Robot
0f8f3f25cf Merge "Frameworks: Fix Binder.joinThreadPool" into pi-dev 2018-03-19 21:40:37 +00:00
TreeHugger Robot
e9b60f2cd3 Merge "Add setupwizard personalisation state to Settings" into pi-dev 2018-03-19 21:26:37 +00:00
kopriva
4dddc63ee7 docs: fixing typo, bug 36909553
Test: make ds-docs

Bug: 36909553
Change-Id: I6e6842fe555690d97b954c370b777b25c6f5e54e
2018-03-19 14:25:30 -07:00
TreeHugger Robot
036a2409fc Merge "Dispatching display list recreations also to transient views" into pi-dev 2018-03-19 21:09:31 +00:00
Adam Powell
fa38f238b1 Merge "Add factory methods for async Handlers" into pi-dev 2018-03-19 21:09:01 +00:00
TreeHugger Robot
96e680cb90 Merge "Small fixes to StatsManager API." into pi-dev 2018-03-19 21:04:39 +00:00
TreeHugger Robot
dba47fcd09 Merge "Atoms: Mobile Connection" into pi-dev 2018-03-19 20:45:55 +00:00
TreeHugger Robot
89b182890c Merge "SurfaceView: Expose hook for subclass to position child surfaces." into pi-dev 2018-03-19 20:32:35 +00:00
Tracy Zhou
017f44be88 Merge "Move default pip position to right above the shelf." into pi-dev 2018-03-19 20:15:14 +00:00
TreeHugger Robot
e24c95fac5 Merge "Fixed isVisibleToUserForAutofill() again." into pi-dev 2018-03-19 19:57:14 +00:00
Chris Wren
9d8ce74a63 support framework logging for slices
Bug: 74354980
Test: runtest systemui
Change-Id: I0c7b398b1a077bc525f50c01d1065be2282a1809
2018-03-19 15:56:00 -04:00
TreeHugger Robot
b3aec698e8 Merge "Revert "Make PrecomputedText Spannable for supporting selection"" into pi-dev 2018-03-19 19:02:34 +00:00
TreeHugger Robot
a96583edf6 Merge "Cosmetic changes on Field Classification TODOs and docs." into pi-dev 2018-03-19 18:44:24 +00:00
Alice Sheng
1799f2b878 Merge "Add setting for enabling CPU frequency scaling." into pi-dev 2018-03-19 18:41:40 +00:00
TreeHugger Robot
fd7d9c5710 Merge "Bluetooth: preserve one advertisement slot for GMS core" into pi-dev 2018-03-19 18:28:28 +00:00
Felipe Leme
a946d88011 Merge "Fixed AutofillManager.isAutofillUiShowing()" into pi-dev 2018-03-19 18:27:20 +00:00