Commit Graph

337090 Commits

Author SHA1 Message Date
Zhi An Ng
7608d966c1 Merge "Show dialog if top app is killed by lmk" into oc-mr1-dev 2017-09-28 00:52:52 +00:00
Jeff Sharkey
2c56bb54be Merge "Only construct real Throwable objects." into oc-dev am: 0868533760
am: f0278f30da

Change-Id: I3a7cbb7cad2c9663e4f7aa2e583ef5707cf6bbc2
2017-09-28 00:23:46 +00:00
Jeff Sharkey
f0278f30da Merge "Only construct real Throwable objects." into oc-dev
am: 0868533760

Change-Id: I260dc1d1c903f1c1c2828d68049f9f202daa0869
2017-09-28 00:15:18 +00:00
TreeHugger Robot
0868533760 Merge "Only construct real Throwable objects." into oc-dev 2017-09-28 00:05:42 +00:00
Mathieu Chartier
00579bd49a Merge "Revert "Revert "Add preopt profile logic for compiling during first boot""" into oc-mr1-dev 2017-09-27 22:46:24 +00:00
Ng Zhi An
84a2e2a06b Show dialog if top app is killed by lmk
Bug: 65488249
Fixes: 65488249
Test: run an app, then kill from command line like so
      adb shell "kill \$(pidof app)"

Change-Id: I7c259542723a9659c52e4571071ec5809693816d
Merged-In: I7c259542723a9659c52e4571071ec5809693816d
2017-09-27 15:12:46 -07:00
Doris Liu
aace655509 Merge "Fix end() for infinite AnimatorSet" into oc-mr1-dev 2017-09-27 20:23:12 +00:00
John Reck
b20694ab00 Merge "Add nullptr check" into oc-mr1-dev 2017-09-27 19:43:29 +00:00
Winson Chung
1ca7d06313 Merge "Minimal change to ensure that position is last saved when docking." into oc-mr1-dev 2017-09-27 19:34:45 +00:00
Winson Chung
37b202492e Minimal change to ensure that position is last saved when docking.
- When a task is docked from Recents, the last position is never updated
  if the user never touches the divider.  Ensure that the default dock
  snap target is saved in this case as well.

Bug: 66903645
Test: Dock a task from Recents, go home, and hit recents
Change-Id: Ia229d2ba0eee792424fb9e9c043320cec71695dc
2017-09-27 09:59:28 -07:00
John Reck
3885bf6f04 Add nullptr check
Bug: 65717856
Test: builds
Change-Id: I188d3366e956f087c6317ae0b56d5fb19a20708d
2017-09-27 09:30:30 -07:00
Abodunrinwa Toki
8f22de0e7f Fix crash due to TextView.getText() returning null.
This CL ensures that a null text is not passed to
TextClassificationHelper.reset(...)

This CL does not handle the issue of TextView.getText() being null.

Bug: 65682674
Test: none
Merged-In: Id8bdc062ecf21cc14810586580fef9052672cfd8
Change-Id: Id8bdc062ecf21cc14810586580fef9052672cfd8
2017-09-27 11:52:21 +00:00
Lorenzo Colitti
8fa085e76f Declare support for Ethernet if the service is running.
On some devices, support for TYPE_ETHERNET is not specified in
the networkAttributes config resource, even though the device is
capable of supporting Ethernet (e.g., via USB host adapters).
This leads to Ethernet working but various connectivity APIs
behaving as if it was not - for example, no CONNECTIVITY_ACTION
broadcasts will be issues when it connects or disconnects.

Ensure that ConnectivityService always treats Ethernet as
available if the service is running. Currently the service is
started if the device supports FEATURE_ETHERNET or
FEATURE_USB_HOST.

(cherry picked from commit 7bbe3eee52)

Bug: 37359230
Test: bullhead builds, boots
Test: ConnectivityServiceTest passes
Test: Ethernet is available even if removed from networkAttributes resource
Test: ConnectivityManagerTest CTS test passes
Change-Id: I9b6db4edeaf966ee6715011dd92770b9d25dd938
Merged-In: I9b6db4edeaf966ee6715011dd92770b9d25dd938
2017-09-27 17:35:06 +09:00
Mathieu Chartier
c5d1b90f41 Revert "Revert "Add preopt profile logic for compiling during first boot""
Disabled the logic for first boot profile compilation for non-extracted APKs.
This prevents going from speed-profile->speed-profile if things are preopted.

Test: build, flash, verify no speed/speed-profile compilation during first boot

Bug: 66903791

This reverts commit 4a299d56e6.

Change-Id: Iaa526e605cf57b2f24ba72d6786b35d5347cd3c5
2017-09-26 20:05:36 -07:00
Chalard Jean
e545f00e10 Merge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev 2017-09-27 02:04:33 +00:00
TreeHugger Robot
44eac965d5 Merge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc-mr1-dev 2017-09-27 01:52:54 +00:00
TreeHugger Robot
1198bec925 Merge "Fix spelling mistake in dumpsys output" into oc-mr1-dev 2017-09-27 01:14:35 +00:00
TreeHugger Robot
3e00e3bd92 Merge "Remove obsolete & broken handling of precompiled sys apps" into oc-mr1-dev 2017-09-27 00:13:22 +00:00
Doris Liu
290271695d Fix end() for infinite AnimatorSet
BUG: 66880433
Test: repo steps in the bug above

Change-Id: If34b7386b7ff5cd28144e99c37957abddb068e9c
2017-09-26 17:04:36 -07:00
Felipe Leme
7c112b733c Merge "Added missing quote (") on anchor tag." into oc-mr1-dev 2017-09-26 23:35:41 +00:00
TreeHugger Robot
5802026595 Merge "Adjusted chooser padding so 2nd line isn't cutoff." into oc-mr1-dev 2017-09-26 23:14:08 +00:00
TreeHugger Robot
169f367125 Merge "Don't convert all sounds to vibrations in vibrate mode" into oc-mr1-dev 2017-09-26 23:04:24 +00:00
TreeHugger Robot
371ed39c93 Merge "Shorter notification text on AoD" into oc-mr1-dev 2017-09-26 22:48:42 +00:00
Doris Liu
701bb5b754 Merge "Fix crash when creating a HW Bitmap on a detached view" into oc-mr1-dev 2017-09-26 21:46:42 +00:00
Calin Juravle
4f475cc140 Remove obsolete & broken handling of precompiled sys apps
During the times we used verify-profile for OTAs we had to ensure that
prebuilds do not regress by verifying at runtime. For that we added a
hackish check in PMS.

Now, we no longer use verify-profile and we have no configuration which
will leave the prebuilds unverified (assume-verify does not count here).
So, we can remove this check which blocks system apps to be compiled with
speed-profile.

(Also worth mentioning that
!Environment.getReferenceProfile(pkg.packageName).exists() was broken...
most likely because of an SElinux policy update which we did not handled
:/ )

Bug: 66903791
Test: build & boot

(cherry picked from commit efc022768e)

Merged-In: I981e463d61c42ab8455d489ff86cc300632a2a90
Change-Id: I981e463d61c42ab8455d489ff86cc300632a2a90
2017-09-26 21:46:18 +00:00
Calin Juravle
94837e35e3 Fix spelling mistake in dumpsys output
Bug: 65843255
Test: build
Change-Id: Icc748dd14b52641e37b149f51d61a4086e55ed41
2017-09-26 20:27:05 +00:00
TreeHugger Robot
4a324cb196 Merge "Update the bt background color." into oc-mr1-dev 2017-09-26 20:21:50 +00:00
Felipe Leme
a821efeeb7 Added missing quote (") on anchor tag.
Test: 'm -j doc-comment-check-docs' then verify resulting HTML
Fixes: 66958057

Change-Id: Ie5914a5af191866404b6fbf244c78e145c59a8b1
2017-09-26 13:06:41 -07:00
TreeHugger Robot
87794e95a2 Merge "Re-add callback to onCancel() when screen is touched outside Save UI." into oc-mr1-dev 2017-09-26 19:40:53 +00:00
Phil Weaver
4dfeb4f0e4 Merge "Add null check in a11y callback" into oc-mr1-dev 2017-09-26 19:22:51 +00:00
Bill Yi
133d4881ef Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours
am: 46181531ec  -s ours

Change-Id: I2dab29638f0813d6e52c9b4ec7b279b7ddcb06a0
2017-09-26 19:03:54 +00:00
Bill Yi
46181531ec Merge "Import translations. DO NOT MERGE" into oc-dev
am: 4414109220  -s ours

Change-Id: I3820c0c5decca7f1a839a40a65e9021fa6e999d1
2017-09-26 18:55:20 +00:00
TreeHugger Robot
4414109220 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-09-26 18:42:25 +00:00
Lucas Dupin
9c780d495b Shorter notification text on AoD
Change-Id: I961c7348d6ce2389c9ac0fba980237548eaf26c9
Fixes: 66242485
Test: Send notification with big text, look at AoD
2017-09-26 11:41:28 -07:00
Bill Yi
44b2b486ae Import translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours am: 5cf5642cbd -s ours
am: 7b3e838ec1  -s ours

Change-Id: I4706a62f6bc875294a66ae70f157949b36df60a8
2017-09-26 18:20:23 +00:00
Bill Yi
7b3e838ec1 Import translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours
am: 5cf5642cbd  -s ours

Change-Id: Ie5c5a0ddabdc8dc0bfd081c48c3c279425cc2682
2017-09-26 18:13:03 +00:00
Bill Yi
5cf5642cbd Import translations. DO NOT MERGE am: 1df9bbaafe -s ours
am: 6cc2a9cdc2  -s ours

Change-Id: I4d3d9da8dcdc0c898c49856cae530c14f6aa915e
2017-09-26 18:03:49 +00:00
Bill Yi
6cc2a9cdc2 Import translations. DO NOT MERGE
am: 1df9bbaafe  -s ours

Change-Id: I2bf2ceaea1279df64cf7409c57c75039caaa7879
2017-09-26 17:53:44 +00:00
John Reck
2d362d7159 Merge "Quick fix: Make incorrect animator usage a warning" into oc-mr1-dev 2017-09-26 16:23:43 +00:00
Felipe Leme
6a26e93c75 Re-add callback to onCancel() when screen is touched outside Save UI.
That callback was accidentally removed because it should not trigger the
negative listener, but the right approach was to pass a null listener.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 66235266
Fixes: 66944844

Change-Id: I5b71d3d03335d952e3b47078d1373f9783366437
2017-09-26 09:09:49 -07:00
Evan Laird
9b120d5a08 Merge "Fix wifi tile animating full-dark when slashing/unslashing" into oc-mr1-dev 2017-09-26 14:09:09 +00:00
Bill Yi
4e6d2ee969 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I348ab7ada9d98e745fe4716beadb6857d39705ec
2017-09-26 06:58:36 -07:00
Chalard Jean
8f76fc38ec Do not throw on call to isTetheringSupported w/o permission
...just return false instead. This will change in P.

Test: Made an app to test this. Made sure it doesn't have
Test: the required permission. Checked it crashes with
Test: SecurityException without this change. Checked it
Test: doesn't with it.

Bug: 65404184

Change-Id: Id20d3c240ec5d70d085e0366b92ab3a514f3e7c8
2017-09-26 19:25:48 +09:00
Bill Yi
1df9bbaafe Import translations. DO NOT MERGE
Change-Id: I3bce312584c61d6bc31d4e7c4068b757336fbe25
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-25 22:29:40 -07:00
Doris Liu
4dc1ec754c Fix crash when creating a HW Bitmap on a detached view
BUG: 65160121
Test: Unable to repro the crash before or after the fix

Change-Id: I84fa28557c67a6672b8d82443d4da7be4f28a50d
2017-09-25 17:21:48 -07:00
Bryce Lee
d71227355e Merge "Restrict when a window receives new Configurations." into oc-mr1-dev 2017-09-26 00:12:15 +00:00
John Reck
d2080d52b3 Quick fix: Make incorrect animator usage a warning
Change-Id: I6d59033433a63d02be746bb8523b312d7c8fe9fa
Bug: 65160121
Test: Repro from bug doesn't repro anymore
2017-09-25 23:27:38 +00:00
Kevin Chyn
fec9d20ed7 Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev 2017-09-25 23:01:40 +00:00
Mathieu Chartier
213b5c742f Merge "Revert "Add preopt profile logic for compiling during first boot"" into oc-mr1-dev 2017-09-25 22:52:31 +00:00
Mathieu Chartier
4a299d56e6 Revert "Add preopt profile logic for compiling during first boot"
Test: flash build and forrest
Bug: 66903791

This reverts commit 20ad4b92a7.

Change-Id: I2c0f22f2a7c04221ed7b1562e516be98d27c7a50
2017-09-25 22:45:14 +00:00