393832 Commits

Author SHA1 Message Date
TreeHugger Robot
9a72ec33d7 Merge "Idmap2: Disable tidy errors" 2018-11-26 20:29:50 +00:00
TreeHugger Robot
cd80ab8319 Merge "Proxy notification improvements" 2018-11-26 20:10:53 +00:00
Garfield Tan
05fa5e1ccf Merge "Move back display ID for ActivityOptions." 2018-11-26 19:32:12 +00:00
TreeHugger Robot
6d45ba0491 Merge "Simplified View.onProvideContentCaptureStructure()" 2018-11-26 19:17:02 +00:00
Gus Prevas
9ebc59e956 Merge "Inline & privatize methods in NotificationEntryManager" 2018-11-26 18:26:45 +00:00
Colin Cross
6767eb2a72 Merge "Convert frameworks/base/services/tests to Android.bp" 2018-11-26 18:09:32 +00:00
Rakesh Iyer
2c4581e6a8 Merge changes from topic "ob1"
* changes:
  Fix off by one error in getMaxSpeechInputLength().
  Stop synth when tts client dies.
2018-11-26 18:07:27 +00:00
Jeff Sharkey
559530df33 Merge "Add linter for strings attribute names" 2018-11-26 17:49:46 +00:00
Andreas Gampe
d3196be41a Idmap2: Disable tidy errors
Temporarily only emit warnings.

Exempt-From-Owner-Approval: Build fix
Bug: 120024673
Test: N/A
Change-Id: Ia85fca04cc4fe7c4fd7a5d551abb8e00bbec820b
2018-11-26 09:47:04 -08:00
Rakesh Iyer
241c46cdad Fix off by one error in getMaxSpeechInputLength().
Bug: 115599815
Test: atest android.speech.tts.cts.TextToSpeechServiceTest
Change-Id: I43b9488bfee261cb2cefd63384739f493d32e2c4
2018-11-26 09:38:04 -08:00
Rakesh Iyer
b4182fb082 Stop synth when tts client dies.
There was code to stop synthesis when a tts client died
but it was commented out in a seemingly unrelated CL,
possibly in error. Restore the code, now synthesis stops
as expected when the calling app dies.

Bug: 78187631
Test: Start playing a long body of text with the test app,
      kill it is adb shell am force-stop. With this change,
      the tts playout no longer continues.

Change-Id: I647ddcc46416ca33db4ad0fdbfca1fb5e88924a1
2018-11-26 09:38:04 -08:00
Hyunyoung Song
93a1b159bc Merge "Fix isProjected and setAlpha method inside AdaptiveIconDrawable" 2018-11-26 17:12:33 +00:00
Jeff Sharkey
0430c3ceef Merge "Use ALLOCATOR_SOFTWARE with ImageDecoder" 2018-11-26 16:54:52 +00:00
Garfield Tan
c63d39d01c Move back display ID for ActivityOptions.
ActivityStackSupervisor#getLaunchStack() is used in ActivityStarter,
ActivityStackSupervisor#findTaskToMoveToFront() and
ActivityStackSupervisor#anyTaskForIdLocked(). Only ActivityStarter has
LaunchParams so we still need to take the display ID from
ActivityOptions to avoid further regressions in other cases.

Bug: 119794136
Test: Manual test. go/wm-smoke.
Change-Id: Ia18bf19cf3648fc416364d78ef4b0b37c576cef4
2018-11-26 08:33:47 -08:00
Misha Wagner
5cbb0ace0e Merge "Filter threads that have low total CPU usage for CpuTimePerThreadFreq" 2018-11-26 16:31:59 +00:00
TreeHugger Robot
50f27c4a60 Merge changes from topic "revert-to-single-threaded-oms-init"
* changes:
  Decouple the display manager from the overlay manager
  Revert: "Init of OverlayManagerService on a parallel thread"
2018-11-26 16:30:24 +00:00
TreeHugger Robot
bae652012f Merge "idmap: optimize time to create idmap data" 2018-11-26 16:30:24 +00:00
Misha Wagner
474e7bece0 Filter threads that have low total CPU usage for CpuTimePerThreadFreq
Test: KernelCpuThreadReader::testReader_filtersLowTotalCpuUsage
Bug: 120016054
Change-Id: If09c8c01e6efffd0d7315613dc7425138528d39c
2018-11-26 16:25:59 +00:00
Julia Reynolds
268647a748 Proxy notification improvements
- Fix a bug where the notifications weren't being posted
- Add attribution to the notification guts

Bug: 111452544
Test: atest
Change-Id: Id19e58cf66a62b179cb684783b264dad8a5371b0
2018-11-26 11:13:16 -05:00
Ecco Park
ce7357ad97 Merge "passpoint-r2: add not found failure for osuProvider" 2018-11-26 15:21:23 +00:00
TreeHugger Robot
e299527a1e Merge "Restrict unsupported API usage to View#mParent/mTop/mLeft/mRight/mBottom" 2018-11-26 14:08:24 +00:00
TreeHugger Robot
9ce0e27cb9 Merge "Restrict unsupported API usage to View#mMinWidth/Height" 2018-11-26 13:16:21 +00:00
Clara Bayarri
c90e782c71 Restrict unsupported API usage to View#mParent/mTop/mLeft/mRight/mBottom
All these properties have getters and setters since API 11 and
should be accessed via those.

Bug: 117521221
Bug: 117520719
Bug: 117521672
Test: none
Change-Id: Id96421370abf6d9417d7411698aae7603c1e0ff1
2018-11-26 12:50:40 +00:00
Clara Bayarri
9424812311 Restrict unsupported API usage to View#mMinWidth/Height
This data is directly accessible via getMinimumWidth (API 16)
and setMinimumWidth (API 1). Also exposed in androidX via
ViewCompat

Identical for Height methods

Bug: 117521509
Bug: 117521475
Test: none
Change-Id: I2e92574acd053aecec9c992a89ee57fd9785415e
2018-11-26 12:14:03 +00:00
Lucas Dupin
50f84e8829 Merge "Fix the behavior of keyguard bouncer in a corner case" am: 6997660506 am: 576351dbb4
am: 7b54d5796c

Change-Id: I85e1c04253438685424c3f1fd3d7690425e9ffce
2018-11-26 02:47:41 -08:00
Lucas Dupin
7b54d5796c Merge "Fix the behavior of keyguard bouncer in a corner case" am: 6997660506
am: 576351dbb4

Change-Id: Iefd1d3ae5e8b1688c339a8b91bbbcf5de2131767
2018-11-26 02:38:27 -08:00
Lucas Dupin
576351dbb4 Merge "Fix the behavior of keyguard bouncer in a corner case"
am: 6997660506

Change-Id: Iece0a3dd1f997b4848095a68ea4dc968966e4e70
2018-11-26 02:32:05 -08:00
Lucas Dupin
6997660506 Merge "Fix the behavior of keyguard bouncer in a corner case" 2018-11-26 10:12:05 +00:00
Benedict Wong
1215943a55 Merge changes from topic "xfrmi-support" am: f928c1e4b9 am: bc33474522
am: 03c6d371aa

Change-Id: I9c543d38c88181b12cdbc7bdb93d7e38f1dfd425
2018-11-25 19:38:35 -08:00
Benedict Wong
03c6d371aa Merge changes from topic "xfrmi-support" am: f928c1e4b9
am: bc33474522

Change-Id: I13a826f5ae3c4cb700be789b369848685da1bc41
2018-11-25 19:26:26 -08:00
Benedict Wong
bc33474522 Merge changes from topic "xfrmi-support"
am: f928c1e4b9

Change-Id: I9b76a58ab9ebdb9abb01216e8b3916f1f52f9267
2018-11-25 19:15:37 -08:00
Benedict Wong
f928c1e4b9 Merge changes from topic "xfrmi-support"
* changes:
  Cleanup and update comments SA mark disabling comments
  Add XFRM-I support to IpSecService
  Disable attempted updating of SA marks
2018-11-26 03:04:16 +00:00
markchien
5ea85caff5 Merge "Add Entitlement Manger to encapsulate provisioning mechanics" am: 1c66fd2d67 am: 8a01337f5c
am: e65bc4d11e

Change-Id: If72fa0a253ed6542e790b74e1504212275bc327e
2018-11-25 19:02:18 -08:00
markchien
e65bc4d11e Merge "Add Entitlement Manger to encapsulate provisioning mechanics" am: 1c66fd2d67
am: 8a01337f5c

Change-Id: I18240295245c7e9b3b5299910d17643bc7f3141a
2018-11-25 18:50:09 -08:00
markchien
8a01337f5c Merge "Add Entitlement Manger to encapsulate provisioning mechanics"
am: 1c66fd2d67

Change-Id: I5793f0b7d0c082a05e7d374d8b3a6d77cab6094d
2018-11-25 18:37:01 -08:00
Treehugger Robot
1c66fd2d67 Merge "Add Entitlement Manger to encapsulate provisioning mechanics" 2018-11-26 02:17:29 +00:00
TreeHugger Robot
750b234344 Merge "Managed System Updates API" 2018-11-23 18:07:18 +00:00
TreeHugger Robot
de93099a38 Merge "Fix translateable -> translatable in .xml files" 2018-11-23 16:34:51 +00:00
Neda Topoljanac
19f291660d Managed System Updates API
Adding API to install a system update from a file on the device.

Test: manual in TestDPC, CTS tests for negative cases: atest com.android.cts.devicepolicy.DeviceOwnerTest#testInstallUpdate

Fixes: 116511569

Change-Id: I34b5c6344301a9d2d64c98dedc4ed5e4a75c57d1
2018-11-23 16:28:07 +00:00
Neil Fuller
70ffd663aa Fix translateable -> translatable in .xml files
Fix translateable -> translatable in .xml files. The attribute
must be correctly named to influence behavior.

Bug: 119884572
Bug: 119941330
Test: build only
Change-Id: I59b17e914f90cab495c1e7be3c14b0423da73b43
2018-11-23 16:02:03 +00:00
Anton Hansson
2f5dd12af0 Add linter for strings attribute names
Only one bad example for now, which is a misspelling that's not
entirely uncommon and can lead to real problems (see linked bug).

Example output:
Line 58: 'my_new': Misspelled <string> attribute.
        Actual: translateable
        Example: translatable

Bug: 119884572
Test: with a misspelled attribute
Change-Id: If61412fe318a34191920781c4834584363080e11
2018-11-23 15:25:52 +00:00
TreeHugger Robot
457333a54a Merge "Add a new getPackageInfoAsUser as a SystemApi." 2018-11-23 15:05:59 +00:00
Marcin Oczeretko
8e90ada67e Merge "LooperStats - add debug entries to output for data validation" 2018-11-23 14:11:40 +00:00
Chandan Nath
0961c3e61f Merge "add option --user to Bmgr.java" 2018-11-23 10:51:24 +00:00
Sungsoo Lim
96a62ff0a1 Merge "Remove SessionToken2Provider" 2018-11-23 00:09:27 +00:00
Rafal Slawik
062213b733 Merge "Temporarily exclude zygote" 2018-11-22 18:18:12 +00:00
TreeHugger Robot
36f7827a9d Merge "Restrict unsupported usage of Linear/RelativeLayout APIs" 2018-11-22 18:17:21 +00:00
Abodunrinwa Toki
d531f70d30 Merge "ConversationActions Config installer." 2018-11-22 16:02:54 +00:00
Clara Bayarri
6036858696 Restrict unsupported usage of Linear/RelativeLayout APIs
These internal accesses can be done by existing public API

Bug: 117521217, 117521667
Test: make
Change-Id: I31116551f6e5a4f8c84a811f62419302fee91c2c
2018-11-22 15:17:54 +00:00
Nicholas Sauer
a46113a5f0 Merge "settings command list by user" 2018-11-22 15:12:08 +00:00