Commit Graph

82239 Commits

Author SHA1 Message Date
Adrian Roos
b2920eb245 Merge "Transitionless crashes" into pi-dev
am: f921b507ea

Change-Id: I484f617b230ac50821f32cdf307dbb4d1edcd42a
2018-04-18 05:01:01 -07:00
TreeHugger Robot
f921b507ea Merge "Transitionless crashes" into pi-dev 2018-04-18 11:50:03 +00:00
Kevin Chyn
8566a544c6 Merge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev
am: 54926ba6a9

Change-Id: I151f4f09e2de5c7999b0ed13afa7b712781d468f
2018-04-17 19:10:20 -07:00
Kevin Chyn
54926ba6a9 Merge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev 2018-04-18 01:53:39 +00:00
Qingxi Li
166f56c4cf Merge "Add Global Settings to device whether show Carrier menu" into pi-dev
am: ff03f0cfe4

Change-Id: Ia086ac7fcaa4faa45c9fce5463b700d735bec1f8
2018-04-17 15:46:07 -07:00
Sudheer Shanka
7cefde2e83 Merge "Update Instrumentation.newActivity to pass non-null application." into pi-dev
am: 850c6662b0

Change-Id: I152d5029366aba600dc81ea6eb9113ff22fd1bec
2018-04-17 15:39:18 -07:00
Qingxi Li
ff03f0cfe4 Merge "Add Global Settings to device whether show Carrier menu" into pi-dev 2018-04-17 22:20:59 +00:00
Sudheer Shanka
850c6662b0 Merge "Update Instrumentation.newActivity to pass non-null application." into pi-dev 2018-04-17 22:06:09 +00:00
Kevin Chyn
58a0d51472 Don't delay the FINGERPRINT_ERROR_CANCELED message
Test: tested with test APK

Change-Id: Ic975870c6f815b5f7dfa4c7f2d8bf5554fbb1c5b
Fixes: 78185698
2018-04-17 13:50:53 -07:00
Patrick Baumann
ee2a275142 Merge "Checks that secondary instrumentation ABI matches" into pi-dev
am: 096e0587d2

Change-Id: I87d562322a5b77de9a17dfd803da2c4aa4f2027c
2018-04-17 11:30:24 -07:00
Qingxi Li
ead1271f1c Add Global Settings to device whether show Carrier menu
Add Global Settings EUICC_SUPPORTED_COUNTRIES. When the device enabled
esim UI by default and the users in eSIM supported countries, even if
eSIM is not provisioned, carrier menu will be shown. This global
settings will be updated by eSIM mamanger when the phone boot up.

Bug: 77638033
Test: E2E
Change-Id: Ib3ac8bcdfab56d6cd7c12e48318f1794af5bc1aa
2018-04-17 10:02:37 -07:00
Patrick Baumann
eb59580abd Checks that secondary instrumentation ABI matches
This adds checks that the secondary ABI for an instrumentation package
matchs that of its target before using it when forced and warns of
mismatches.

Change-Id: I394427721c83cbd1c3c6af6cee24a93b18d8c65f
Fixes: 77152863
Test: gts-tradefed > run gts -m GtsBackupHostTestCases -a armeabi-v7a do not all fail with NPE
2018-04-17 09:55:47 -07:00
Adrian Roos
935772129d Transitionless crashes
Suppresses app transitions when an activity finishes due to crashing.

Fixes: 70640329
Test: "Dev Tools" > Bad Behavior > Crash main thread, verify there's no transition.
Change-Id: I51c4b98b793794b013c266a1dee3fb2e7faf4bd7
2018-04-17 15:59:50 +02:00
Benjamin Miller
c886324aa2 Merge "Docs: update the method description for installKeyPair() to cover parameter change." into pi-dev
am: 5037beea1c

Change-Id: I36650a1acc5e6eaf9c192f12927425c253bb0b6d
2018-04-17 04:06:20 -07:00
TreeHugger Robot
5037beea1c Merge "Docs: update the method description for installKeyPair() to cover parameter change." into pi-dev 2018-04-17 10:53:36 +00:00
Dan Gittik
17ad53b40b Merge "Fixed power manager CTS test." into pi-dev
am: 15d35c1274

Change-Id: I375d0d77520a707cc76064a93def15faa5f8ddb1
2018-04-17 03:50:58 -07:00
TreeHugger Robot
15d35c1274 Merge "Fixed power manager CTS test." into pi-dev 2018-04-17 10:39:30 +00:00
Stanley Tng
5e66525dd0 Merge "Clarify API doc for BluetoothGattServer::addService" am: f493c66f39
am: 478b35a2fd

Change-Id: Ia1d0ea90ceff6c0e39062de5e4cc000d76d51f7a
2018-04-16 20:08:18 -07:00
Stanley Tng
478b35a2fd Merge "Clarify API doc for BluetoothGattServer::addService"
am: f493c66f39

Change-Id: If988cc85292426c6694732e2158ad698d740c93d
2018-04-16 19:59:17 -07:00
Stanley Tng
87f82bc6dd Merge "Cleanup documentation for LE CoC in BluetoothAdapter" am: 7b25698549
am: e93a622275

Change-Id: Ia23d8a96128420576d8b6ff5eae0075825df8c2f
2018-04-16 19:08:53 -07:00
Stanley Tng
e93a622275 Merge "Cleanup documentation for LE CoC in BluetoothAdapter"
am: 7b25698549

Change-Id: I5e7633c73c7ed7f9257acb4fb891fbaec8202f63
2018-04-16 18:58:21 -07:00
Makoto Onuki
38f0cb4961 Merge "Add 1-day sync stats in syncmanager dumpsys." into pi-dev
am: d7732b4c8a

Change-Id: I7eeab220ca2d90623868e1e3f724961ad660da42
2018-04-16 18:30:38 -07:00
Jeff Sharkey
7b913d70b9 Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev
am: 936c0868f8

Change-Id: I3c84c646b3a79f09dc1210e18f48d1f87d38abd4
2018-04-16 17:44:58 -07:00
Makoto Onuki
d7732b4c8a Merge "Add 1-day sync stats in syncmanager dumpsys." into pi-dev 2018-04-17 00:11:25 +00:00
Treehugger Robot
f493c66f39 Merge "Clarify API doc for BluetoothGattServer::addService" 2018-04-17 00:07:38 +00:00
Jeff Sharkey
936c0868f8 Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev 2018-04-17 00:04:53 +00:00
Hidenari Koshimae
3995b3ff9c Merge "Camera: Fix a description for MONOCHROME camera capability" into pi-dev
am: 8be1197c5d

Change-Id: I41dc263a13f67e7d4772343b1c10f52383786bd2
2018-04-16 17:02:46 -07:00
TreeHugger Robot
8be1197c5d Merge "Camera: Fix a description for MONOCHROME camera capability" into pi-dev 2018-04-16 23:25:39 +00:00
David Chen
5cc0e05e03 Merge "Adds a code when statsd sends intent to getData." into pi-dev
am: 17d2de09cb

Change-Id: I4f429329603d7dfe512de6802d4f083d230fc4d1
2018-04-16 16:21:23 -07:00
Dan Cashman
cc369093f6 Merge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev
am: 82f36b120d

Change-Id: I6a0b86e427ecb1e889cb39bae1b3e99248daea16
2018-04-16 16:04:34 -07:00
Dmitry Dementyev
88a9786359 Merge "Remove implementation of deprecated RecoveryController methods." into pi-dev
am: 5291268754

Change-Id: Ic390d4b001ec63db78e5f8effc59a1c445153c6a
2018-04-16 15:50:16 -07:00
TreeHugger Robot
17d2de09cb Merge "Adds a code when statsd sends intent to getData." into pi-dev 2018-04-16 22:46:03 +00:00
TreeHugger Robot
82f36b120d Merge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev 2018-04-16 22:40:56 +00:00
Stanley Tng
dac8e14018 Cleanup documentation for LE CoC in BluetoothAdapter
Test: Compile
Bug: 77631591
Change-Id: Ic3c7f13e560534a048bf5c8b274fe62190c214c7
2018-04-16 22:33:31 +00:00
TreeHugger Robot
5291268754 Merge "Remove implementation of deprecated RecoveryController methods." into pi-dev 2018-04-16 22:14:22 +00:00
Dan Cashman
e942b914a4 Replace PackageInfo#signingCertificateHistory field doc reference.
During API review, PackageInfo#signingCertificateHistory was changed
to PackageInfo#signingInfo.  This was not reflected everywhere in
the documentation.  Update it.

Bug: 74831530
Test: Doc change only, builds.
Change-Id: I497cdd732dffacf376ac05f7ccd181004c947210
2018-04-16 14:44:13 -07:00
Stanley Tng
4b5cf48560 Clarify API doc for BluetoothGattServer::addService
Clarify that the caller has to wait for onServiceAdded callback before
calling BluetoothGattServer::addService again.

Bug: 72717069
Test: Compile
Change-Id: I20b031c724ba64bfd71cf10e58e587f69e4a2555
2018-04-16 13:12:52 -07:00
Hall Liu
5f0cbc215d Merge "Move RTT system setting to Settings.Secure"
am: 9a51f07117

Change-Id: I226e9a91725f7755595c3530162829f8bf61b135
2018-04-16 13:08:16 -07:00
Caxton Chan
fc01e133b5 Merge "Enable feature flag for audio output switcher." into pi-dev
am: 116e05cbba

Change-Id: Id7144fbbf59ca9efeee0f20aa1a988377c87747a
2018-04-16 12:35:04 -07:00
Caxton Chan
116e05cbba Merge "Enable feature flag for audio output switcher." into pi-dev 2018-04-16 19:24:31 +00:00
Makoto Onuki
9498621f41 Add 1-day sync stats in syncmanager dumpsys.
The stats currently shown in sync manager dumpsys is the total *since wipe* so
they're usually pretty much useless.

So let's add "today" and "yesterday" stats too.

- Also add "# failures" and "# cancels".
- Also split up SERVER to OTHER and FEED (i.e. subscribedfeeds).

Bug: 76035392
Test: Boot, run some sync, then do "cmd content reset-today-stats"
- Also tested with actually setting the clock to 23:59 and wait
- Check the result with "dumpsys content".

Sample output:
=======================================================================
Authority                                           Syncable  Enabled  Stats  Loc  Poll  Per  Feed  User  Othr  Tot  Fail  Can  Time  Last Sync            Backoff
------------------------------------------------------------------------------------------------------------------------------------------------------------------
com.android.calendar                                1         true     Total  0    0     0    1     0     7     8    0     2    8s    FEED SUCCESS
                                                                       Today                  1           5     6               7s    2018-04-12 15:21:24
                                                                       Yestr                                                    0s
com.android.chrome                                  0         false    Total  0    0     0    0     0     0     0    0     0    0s
                                                                       Today                                                    0s

Change-Id: Id0ea42435a9f759e47d4b9490292759270f8e9a5
2018-04-16 12:23:26 -07:00
Hidenari Koshimae
3a385f81a3 Camera: Fix a description for MONOCHROME camera capability
Test: Compile
Bug: 77902724
Change-Id: Ibb6a1d4b5f80a0c4d0e3f29625b03a827a3ed80c
2018-04-16 12:22:34 -07:00
Ricky Wai
8798ae731c Merge "Update PackageManager.getInstalledPackages() docs" into pi-dev
am: ed2a3cadc1

Change-Id: Icb8d0962ddbe4ba4c25b835cc631cedd94c818eb
2018-04-16 11:50:44 -07:00
Jeff Sharkey
6b64925737 Protect usage data with OP_GET_USAGE_STATS.
APIs that return package usage data (such as the new StatsManager)
must ensure that callers hold both the PACKAGE_USAGE_STATS permission
and the OP_GET_USAGE_STATS app-op.

Add noteOp() method that can be called from native code.

Also add missing security checks on command interface.

Bug: 77662908, 78121728
Test: builds, boots
Change-Id: Ie0d51e4baaacd9d7d36ba0c587ec91a870b9df17
2018-04-16 12:44:32 -06:00
Hall Liu
9a51f07117 Merge "Move RTT system setting to Settings.Secure" 2018-04-16 18:40:28 +00:00
Ricky Wai
ed2a3cadc1 Merge "Update PackageManager.getInstalledPackages() docs" into pi-dev 2018-04-16 18:19:00 +00:00
Bryce Lee
1f6cebfab1 Merge "Remove temporary logging." into pi-dev
am: 216b50ad97

Change-Id: I49b008a4173e0c3fee6a3e3202f5b18c1c991fc9
2018-04-16 10:54:57 -07:00
Dan Gittik
26b030d829 Fixed power manager CTS test.
Added an annotation necessary to allow the power manager CTS test to
access the non-public method nap.

Test: adb install -r \
      out/host/linux-x86/cts/android-cts/testcases/CtsOsTestCases.apk
      adb shell am instrument -e class android.os.cts.PowerManagerTest \
      -w android.os.cts/android.support.test.runner.AndroidJUnitRunner

Change-Id: Ida939f074654bef351e2b8fd563c8463431ce9c6
Fixes: 77907164
2018-04-16 18:50:10 +01:00
Bryce Lee
216b50ad97 Merge "Remove temporary logging." into pi-dev 2018-04-16 17:36:45 +00:00
Chavi Weingarten
7d710b90ca Merge "Revert "ViewRoot: Ensure we release surface from setWindowStopped."" into pi-dev
am: 2754777d30

Change-Id: Ic662d242231c5e8c375805930e59d55da0a15b01
2018-04-16 10:13:31 -07:00