OSDN Git Service
Chad Brubaker [Thu, 19 Oct 2017 20:23:47 +0000 (13:23 -0700)]
Change cleartext traffic permitted default for P apps
For applications targeting P and above the network security
config's cleartextTrafficPermitted will default to false instead of
the previous true.
Bug:
63931636
Test: network security config cts tests
Change-Id: Ia697358ad84e2092443c3eff518003c6a11e4630
Chad Brubaker [Wed, 18 Oct 2017 17:35:04 +0000 (10:35 -0700)]
Make priv apps not trust user added CAs by default
Privileged applications provide core system functionality and as such a
MiTM in one can put the entire system at risk. These applications should
not be trusting user added CAs by default.
Bug:
65406503
Test: runtest --path framework/base/tests/NetworkSecurityConfigTest
Change-Id: I033258fe1c66ad245d172899df52e9cd02e9ca75
Fyodor Kupolov [Wed, 18 Oct 2017 16:23:48 +0000 (16:23 +0000)]
Merge "Report time to unlock users"
Android Build Merger (Role) [Wed, 18 Oct 2017 15:16:52 +0000 (15:16 +0000)]
Merge "Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev am:
859f8c4a21 am:
e5d55d52b6"
Evan Laird [Wed, 18 Oct 2017 15:13:54 +0000 (15:13 +0000)]
Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev am:
859f8c4a21
am:
e5d55d52b6
Change-Id: I7ab8bd9a58a7582286e73f1888b81d4a745eac24
TreeHugger Robot [Wed, 18 Oct 2017 15:08:27 +0000 (15:08 +0000)]
Merge "Sync of SmartSelection.java wrapper from Google3 to support the new annotate call, and alternative ways of construction."
Evan Laird [Wed, 18 Oct 2017 14:15:04 +0000 (14:15 +0000)]
Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev
am:
859f8c4a21
Change-Id: Id96f0a18c77628d63069ed434f5904936cb41359
Beverly Tai [Wed, 18 Oct 2017 13:34:28 +0000 (13:34 +0000)]
Merge "Default zen rules updated."
TreeHugger Robot [Wed, 18 Oct 2017 13:20:43 +0000 (13:20 +0000)]
Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev
Joe Onorato [Mon, 16 Oct 2017 03:08:52 +0000 (20:08 -0700)]
Clean up how we handle configurations, and other assorted cleanup
- Add a ConfigManager class that tracks the configurations
that have been passed to us. Configurations are now
tracked by tuples of (uid,tag), where the tag is an
app-defined string, in case a single uid has multiple
configurations.
- Move all of the initialization into StatsService.
- Get rid of the ability to have multiple LogListeners. Raw
events are now pushed directly into StatsService, which
can distribute them to the interested parties (and will
eventually be able to do the proper locking).
- Add Log.h, which sets our LOG_TAG correctly.
- Move some of the related files that I expect will grow some
into their own subdirectories.
Test: statsd_test
Test: adb shell cmd stats config ...
Test: adb shell dumpsys stats
Change-Id: I79487603003d8a842d5bd319741f1ecbf72063d1
Lukas Zilka [Wed, 18 Oct 2017 09:39:13 +0000 (11:39 +0200)]
Sync of SmartSelection.java wrapper from Google3 to support the new annotate call, and alternative ways of construction.
Bug:
67618889
Test: Builds. Works in Google3.
Change-Id: I3b67235c969178966c784d13a091ca404d598488
Dan Willemsen [Wed, 18 Oct 2017 06:33:44 +0000 (06:33 +0000)]
Merge "Use soong_ui directly, instead of make" am:
e994b4b584 am:
0531e5c647 am:
98fc198f1f
am:
bfc9e71e0d
Change-Id: I5ef2f58b01632438702ac3bebb19b61000016dfe
Dan Willemsen [Wed, 18 Oct 2017 06:24:45 +0000 (06:24 +0000)]
Merge "Use soong_ui directly, instead of make" am:
e994b4b584 am:
0531e5c647
am:
98fc198f1f
Change-Id: Id17adee4b02cc499261f88c3faed15d889f5b6c3
Dan Willemsen [Wed, 18 Oct 2017 06:17:09 +0000 (06:17 +0000)]
Merge "Use soong_ui directly, instead of make" am:
e994b4b584
am:
0531e5c647
Change-Id: Ic3fc61824852181512f941dbc57c158540546616
Dan Willemsen [Wed, 18 Oct 2017 06:10:06 +0000 (06:10 +0000)]
Merge "Use soong_ui directly, instead of make"
am:
e994b4b584
Change-Id: I406a02af2d5fd1accf5c53609af00f416669e18f
Dan Willemsen [Wed, 18 Oct 2017 06:00:51 +0000 (06:00 +0000)]
Merge "Use soong_ui directly, instead of make"
Terry (Woncheol) Heo [Wed, 18 Oct 2017 04:39:53 +0000 (04:39 +0000)]
Merge "Fix loading of the default animation settings"
TreeHugger Robot [Wed, 18 Oct 2017 03:02:44 +0000 (03:02 +0000)]
Merge "Added perf test to measure bytes written"
TreeHugger Robot [Wed, 18 Oct 2017 01:59:07 +0000 (01:59 +0000)]
Merge "Relax checks on dynamic permissions."
Adam Lesinski [Wed, 18 Oct 2017 01:27:03 +0000 (01:27 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev am:
3bdfe1a251
am:
f60d30b682
Change-Id: Ic03aa3e7991b01a8ed93732ae8280e832ee6758a
TreeHugger Robot [Wed, 18 Oct 2017 01:21:09 +0000 (01:21 +0000)]
Merge "Minor logging improvements on Autofill."
TreeHugger Robot [Wed, 18 Oct 2017 01:09:37 +0000 (01:09 +0000)]
Merge "Fixes retrieving fullscreen stack when recents is not available yet"
Adam Lesinski [Wed, 18 Oct 2017 00:57:26 +0000 (00:57 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev
am:
3bdfe1a251
Change-Id: I3295e61dcf29a7cb242b4ee0017f2fd94a0cfd65
Dan Willemsen [Wed, 18 Oct 2017 00:46:41 +0000 (17:46 -0700)]
Use soong_ui directly, instead of make
This will use ckati instead of make for dumping variables, for
consistent makefile parsing. It may also sandbox executions, etc.
Also skip the legacy make wrapper to build, and use soong_ui instead.
The command line arguments are equivalent, but -j is no longer
necessary, we'll default to a sane value.
Test: bit -b framework
Change-Id: Idc2c9d1abe84b6b783b8702925de5493d47a4509
TreeHugger Robot [Wed, 18 Oct 2017 00:51:00 +0000 (00:51 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev
Fyodor Kupolov [Tue, 17 Oct 2017 01:42:52 +0000 (18:42 -0700)]
Added perf test to measure bytes written
Bug:
64262688
Test: SQLiteDatabaseIoPerfTest
Change-Id: I00e14254cec0849cd054d91b5ae70684ce753902
Fyodor Kupolov [Thu, 12 Oct 2017 00:53:23 +0000 (17:53 -0700)]
Report time to unlock users
Bug:
67716047
Test: Manual
Change-Id: I701bedf2aa101ed7b4d913a1921471ec38f8cb0e
Winston Man [Tue, 17 Oct 2017 23:59:58 +0000 (23:59 +0000)]
Update build target to restrict it to arm and x86 only am:
50365007b6
am:
a3edc551c0
Change-Id: I2cb6bf873f58489e88d701a7151c163e1a133162
Winston Man [Tue, 17 Oct 2017 23:37:59 +0000 (23:37 +0000)]
Update build target to restrict it to arm and x86 only
am:
50365007b6
Change-Id: If461907f6f797e5fda72ef47147594a4ed7f41a9
Winson Chung [Tue, 17 Oct 2017 23:15:19 +0000 (23:15 +0000)]
Merge "Moving some recents logic into the shared lib."
Zhizhou Yang [Tue, 17 Oct 2017 22:58:45 +0000 (22:58 +0000)]
Merge "Turn off PGO temporarily"
TreeHugger Robot [Tue, 17 Oct 2017 22:48:59 +0000 (22:48 +0000)]
Merge "Pipe through packageName from Jobs to TimeController expiries"
Matthew Ng [Tue, 17 Oct 2017 22:43:49 +0000 (15:43 -0700)]
Fixes retrieving fullscreen stack when recents is not available yet
First time going to recents would not have the recents stack created yet
and so SystemUI would fallback to getting the window rect from the
fullscreen stack. The code getting the fullscreen stack passed an
undefined window mode which would return a null stack. Fix this by
asking for a fullscreen window mode.
Change-Id: I372bcf5ccffd87af467a8a1a8cee46def1640654
Fixes:
67864447
Test: manual - on boot, launch app, press recents button
TreeHugger Robot [Tue, 17 Oct 2017 22:36:31 +0000 (22:36 +0000)]
Merge "Using hardware canvas for profiling Views"
TreeHugger Robot [Tue, 17 Oct 2017 22:27:54 +0000 (22:27 +0000)]
Merge changes from topic "resubmit_joeo_cl"
* changes:
Fix build error.
Revert "Revert "Start auto-generating the stats log API.""
Jordan Liu [Tue, 17 Oct 2017 22:16:48 +0000 (22:16 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog" am:
d32138d78a am:
a0df3496d3 am:
4025ccb0a1
am:
2cdc98d7a6
Change-Id: I0924e5bf275376f28ad94f2749d35357a4e618db
Adam Lesinski [Fri, 13 Oct 2017 19:40:37 +0000 (12:40 -0700)]
AAPT2: Flatten AndroidManifest.xml stringpool in UTF16
A few OEM devices have introduced a memory corruption bug
that is only triggered when an application's AndroidManifest.xml
uses UTF8 string pools. Workaround this by only encoding
AndroidManifest.xml with UTF16 strings.
Bug:
64434571
Test: manual
Change-Id: I2ee50d1b2b5942d971ef2a544c878de63f67c652
TreeHugger Robot [Tue, 17 Oct 2017 22:11:52 +0000 (22:11 +0000)]
Merge "Remove libmedia and libstagefright dependency from extractors"
Jason Monk [Tue, 17 Oct 2017 21:59:15 +0000 (21:59 +0000)]
Merge "Unhide slice data APIs"
Jordan Liu [Tue, 17 Oct 2017 21:36:11 +0000 (21:36 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog" am:
d32138d78a am:
a0df3496d3
am:
4025ccb0a1
Change-Id: Ida23475584fb0324ce12af05af422230b170b1a4
Jeff Sharkey [Tue, 17 Oct 2017 21:29:41 +0000 (15:29 -0600)]
Relax checks on dynamic permissions.
We'll have to circle back to enforce this once we do more
investigation.
Test: none
Bug:
67371907
Change-Id: Ib2f73b6e52d56cf080f3a6f224ab4bf452d91a48
TreeHugger Robot [Tue, 17 Oct 2017 21:29:08 +0000 (21:29 +0000)]
Merge "Update documentation for pm install / pm install-create"
Jordan Liu [Tue, 17 Oct 2017 21:15:19 +0000 (21:15 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog" am:
d32138d78a
am:
a0df3496d3
Change-Id: Ic13004cc1c9afa5474df291211333e215ad96424
Jordan Liu [Tue, 17 Oct 2017 21:06:58 +0000 (21:06 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog"
am:
d32138d78a
Change-Id: I0bb3388b4f2e0243049316c3548aacf6f034ffd2
Felipe Leme [Tue, 17 Oct 2017 21:02:20 +0000 (14:02 -0700)]
Minor logging improvements on Autofill.
Test: manual verification
Fixes:
67898895
Change-Id: Ic97d51a388a426b3ff9e74520f52036257a5c1ce
Jordan Liu [Tue, 17 Oct 2017 20:58:01 +0000 (20:58 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog"
TreeHugger Robot [Tue, 17 Oct 2017 20:48:32 +0000 (20:48 +0000)]
Merge "Update FeatureSplit sample"
TreeHugger Robot [Tue, 17 Oct 2017 20:47:29 +0000 (20:47 +0000)]
Merge "Revert "Show dialog if top app is killed by lmk""
Zhi An Ng [Tue, 17 Oct 2017 20:44:27 +0000 (20:44 +0000)]
Merge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1-dev am:
d3dc9171d4
am:
63e3339ec9 -s ours
Change-Id: Ia75813944b333f258e37cfa1d700e619bd6b4c41
Winston Man [Tue, 17 Oct 2017 20:24:31 +0000 (21:24 +0100)]
Update build target to restrict it to arm and x86 only
This is to address build breakage for MIPS
https://android-build.googleplex.com/builds/submitted/
4400887/sdk_phone_mips-sdk_mac/latest/logs
Bug:
64504762
Test: build successful with target marlin-eng (arm), gce_x86_phone (x86) and sdk_phone_mips (mips)
Change-Id: I710c823ae235d0650b4d1a018180b552261aecc5
Zhizhou Yang [Tue, 17 Oct 2017 20:37:00 +0000 (13:37 -0700)]
Turn off PGO temporarily
Bug: http://b/
67862169
Turn off PGO for hwui since it caused a performance regression in
tesetBitmapDrawPerf.
Test: Built successfully and tested the performance with benchmarks.
Change-Id: I7be1ff919cc03eb72e2464867a417cc3dad7a260
Tom Cherry [Tue, 17 Oct 2017 20:30:18 +0000 (20:30 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get" am:
c589496ce9 am:
b72c0626f5 am:
16e676be4b
am:
3b01d0a09a
Change-Id: Icdc349598538e7cb2740e0829e797ec02ff0209a
Bookatz [Tue, 17 Oct 2017 20:22:40 +0000 (20:22 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" am:
4627c01ee4 -s ours am:
2fd6b1d7cd -s ours am:
9fccdd14e5 -s ours
am:
72a538960d -s ours
Change-Id: I797007708f03e21e4e687ec6cb1d932b5b8d7af1
Zhi An Ng [Tue, 17 Oct 2017 20:16:02 +0000 (20:16 +0000)]
Merge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1-dev
am:
d3dc9171d4
Change-Id: I6bf6797bdf92bfef0f4f8e23a394eaa7646460c0
Tom Cherry [Tue, 17 Oct 2017 20:04:51 +0000 (20:04 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get" am:
c589496ce9 am:
b72c0626f5
am:
16e676be4b
Change-Id: Ie43c9ec866feba876016c8ceb4c1e5d6222f0a18
Eugene Susla [Tue, 17 Oct 2017 20:02:21 +0000 (20:02 +0000)]
Merge "Magnification Gestures CTS test"
TreeHugger Robot [Tue, 17 Oct 2017 20:02:19 +0000 (20:02 +0000)]
Merge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1-dev
Adam Lesinski [Fri, 13 Oct 2017 21:31:08 +0000 (14:31 -0700)]
Pipe through packageName from Jobs to TimeController expiries
Bug:
67782010
Test: manual
Change-Id: Icfe9e6a510c94527b239d8b1f330dd2670796d6e
Evan Laird [Tue, 17 Oct 2017 20:00:29 +0000 (16:00 -0400)]
Fix incorrect colors for CustomTile in QS
Add support for Supplier<Icon> in QSTile.State, allowing a method for
CustomTile not to cache the drawable for its IconViews. This fixes the
problem that the ImageViews in QQS and QS were trying to use the same
drawable and putting it in a bad state.
Test: Add 3rd party tile to first position in QS and turn on/off; visual
Change-Id: I408d6391a718fcb3f847e72bd303551d2d004dbb
Fixes:
67356768
Bookatz [Tue, 17 Oct 2017 19:58:08 +0000 (19:58 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" am:
4627c01ee4 -s ours am:
2fd6b1d7cd -s ours
am:
9fccdd14e5 -s ours
Change-Id: I593da51c7664d76c1ad64859823d434f4ce414fa
Yao Chen [Tue, 17 Oct 2017 17:41:14 +0000 (10:41 -0700)]
Fix build error.
Test: builds successfully.
Change-Id: I9ffefa28f37830319864e7b98d32340f59df0a62
Tom Cherry [Tue, 17 Oct 2017 19:47:57 +0000 (19:47 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get" am:
c589496ce9
am:
b72c0626f5
Change-Id: Ib0561d4ce3e027b2021bc6105f0be03ba6fffa99
Beverly [Tue, 17 Oct 2017 18:38:20 +0000 (14:38 -0400)]
Default zen rules updated.
On locale change, the name of the rule will change based on locale.
The default automatic scheduled rules will exit on alarm.
Test: manual
Change-Id: I75976706493a4350bd64f15bb64c30e914e21397
Fixes:
38128497
Tom Cherry [Tue, 17 Oct 2017 19:37:45 +0000 (19:37 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get"
am:
c589496ce9
Change-Id: Ibef1415adec0dac324b0531b7038640c3584fdf1
Bookatz [Tue, 17 Oct 2017 19:35:22 +0000 (19:35 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" am:
4627c01ee4 -s ours
am:
2fd6b1d7cd -s ours
Change-Id: Iaad1877f6fbdee2beaa2328a3b3ee5025c468426
Tom Cherry [Tue, 17 Oct 2017 19:28:07 +0000 (19:28 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get"
Winson Chung [Sat, 14 Oct 2017 00:12:56 +0000 (17:12 -0700)]
Moving some recents logic into the shared lib.
- Creating com.android.system.shared library with recents model code and
corresponding recents tests
- Removing notion of blacklisted apps since that is now obsolete.
Bug:
67510855
Test: It builds, Recents runs
Change-Id: Ib1f5eefa6e4d4964366061246002509e2e15b19e
Bookatz [Tue, 17 Oct 2017 19:24:40 +0000 (19:24 +0000)]
Merge "Batterystats handles nested unoptimized ble scans"
am:
4627c01ee4 -s ours
Change-Id: I044d02d6b00f63573870643ad83fce11740dd498
Sunny Goyal [Mon, 16 Oct 2017 21:00:44 +0000 (14:00 -0700)]
Using hardware canvas for profiling Views
Using software canvas when profiling views does not give the
correct result as by default apps expect hardware canvas. Also
it prevents crashes when a view is drawing hardware bitmap.
Test: Manually tested using hierarchy viewer
Change-Id: I9e0fffbdac3209f1bc68c1a383bdaa92976addca
Treehugger Robot [Tue, 17 Oct 2017 19:03:52 +0000 (19:03 +0000)]
Merge "Batterystats handles nested unoptimized ble scans"
Zhi An Ng [Mon, 16 Oct 2017 23:04:08 +0000 (23:04 +0000)]
Revert "Show dialog if top app is killed by lmk"
This reverts commit
ac7bbb840b8edc04a21af381d7dfbd9a57c9af15.
Comments in ag/
3029299 for more details.
Bug:
65488249
Test: manual
Reason for revert: No mechanism to check if an app is killed because of low memory killer
Change-Id: I3e461c241c5e30bdfc9b528a70939522180083c9
TreeHugger Robot [Tue, 17 Oct 2017 18:20:26 +0000 (18:20 +0000)]
Merge "Call ensureActivitiesVisibleLocked when setShowWhenLocked"
TreeHugger Robot [Tue, 17 Oct 2017 18:06:36 +0000 (18:06 +0000)]
Merge "Enable patterns for Belarusian and Latin languages"
Yi Jin [Tue, 17 Oct 2017 18:01:29 +0000 (18:01 +0000)]
Merge "Enable dumpsys package in incidentd"
Winston Man [Tue, 17 Oct 2017 17:59:48 +0000 (17:59 +0000)]
Merge "Update pre-built apks in platform" into oc-mr1-dev am:
69780830e5
am:
8721e4f7ee
Change-Id: Ife918e817f5a9f26075927b74dbb83a4c1d126bc
Winston Man [Tue, 17 Oct 2017 17:49:05 +0000 (17:49 +0000)]
Merge "Update pre-built apks in platform" into oc-mr1-dev
am:
69780830e5
Change-Id: I73a727dc39e0d2be1d47afeef1305362b13ffbc4
Yao Chen [Tue, 17 Oct 2017 17:37:48 +0000 (17:37 +0000)]
Revert "Revert "Start auto-generating the stats log API.""
Test: builds successfully
This reverts commit
931945399859ab91545ba2c2a914f044092d5e2e.
Change-Id: I22bca4a32adf86040b9d72ad5b45999aba28f586
Winston Man [Tue, 17 Oct 2017 17:33:50 +0000 (17:33 +0000)]
Merge "Update pre-built apks in platform" into oc-mr1-dev
TreeHugger Robot [Tue, 17 Oct 2017 17:29:45 +0000 (17:29 +0000)]
Merge "setAllAppWinAnimators() for closing apps."
Jeffrey Huang [Tue, 17 Oct 2017 17:23:01 +0000 (17:23 +0000)]
Merge "Add null check for lifecycle"
TreeHugger Robot [Tue, 17 Oct 2017 17:13:29 +0000 (17:13 +0000)]
Merge "Update UsageStatsManager Javadoc to match implementation"
Winston Man [Mon, 16 Oct 2017 09:33:03 +0000 (10:33 +0100)]
Update pre-built apks in platform
Now include arm and x86 apks from built server
CtsShim (8.1.0-
4396705)
./packages/CtsShim/apk/arm/CtsShim.apk
package: name='com.android.cts.ctsshim'
versionCode='27'
versionName='8.1.0-
4396705'
platformBuildVersionName='8.1.0'
sdkVersion:'24'
targetSdkVersion:'24'
./packages/CtsShim/apk/arm/CtsShimPriv.apk
package: name='com.android.cts.priv.ctsshim'
versionCode='27'
versionName='8.1.0-
4396705'
platformBuildVersionName='8.1.0'
sdkVersion:'24'
targetSdkVersion:'24'
./packages/CtsShim/apk/x86/CtsShim.apk
package: name='com.android.cts.ctsshim'
versionCode='27'
versionName='8.1.0-
4396705'
platformBuildVersionName='8.1.0'
sdkVersion:'24'
targetSdkVersion:'24'
./packages/CtsShim/apk/x86/CtsShimPriv.apk
package: name='com.android.cts.priv.ctsshim'
versionCode='27'
versionName='8.1.0-
4396705'
platformBuildVersionName='8.1.0'
sdkVersion:'24'
targetSdkVersion:'24'
Built here:
https://android-build.googleplex.com/builds/branch-dashboard/ub-ctsshim-dev?build_id=
4396705
Final OC-MR1 drop for Oct 19th.
This build IS suitable for public release.
Bug:
64504762
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PrivilegedUpdateTests
Test: gts-tradefed run commandAndExit gts-dev --module GtsPackageManagerHostTestCases
Change-Id: I9a439f7287a8d3703cf014c7c03df2348a384a80
Mathieu Chartier [Tue, 17 Oct 2017 16:59:32 +0000 (16:59 +0000)]
Merge "DO NOT MERGE: Add extra compiled classes" into oc-mr1-dev am:
1d1ff0b030
am:
fcb01be913 -s ours
Change-Id: Ic91cb7ae184df8306cdf6632b519d712a912e40f
Mathieu Chartier [Tue, 17 Oct 2017 16:53:35 +0000 (16:53 +0000)]
Merge "DO NOT MERGE: Add extra compiled classes" into oc-mr1-dev
am:
1d1ff0b030
Change-Id: I588c1a5d59a5e3455d6c19dfcb18b9ff59283e15
Mathieu Chartier [Tue, 17 Oct 2017 16:35:38 +0000 (16:35 +0000)]
Merge "DO NOT MERGE: Add extra compiled classes" into oc-mr1-dev
Tom Cherry [Tue, 17 Oct 2017 16:20:01 +0000 (09:20 -0700)]
Frameworks: Remove warning for SystemProperties.get
We now disallow non-UTF8 property values directly in property_service,
so there is no need for this warning.
This partially reverts
33aea8d40e6cc99f7968a6c6605a81a4587b85e7.
Bug:
63177684
Test: make
Change-Id: I61f49f635c6095013f55b906e00925a8cbd1ea8c
Roozbeh Pournader [Sat, 14 Oct 2017 00:41:31 +0000 (17:41 -0700)]
Enable patterns for Belarusian and Latin languages
The native frameworks code now knows about Belarusian and Latin
patterns.
Also, the fontchain_lint tool needed to know the script for any
hyphenation patterns added, and now it does.
Bug:
65626527
Test: make -j fontchain_lint
Change-Id: I747cbb5ea3d36ca63335bfe6b337fad1e75ee79b
Kevin Chyn [Tue, 10 Oct 2017 01:34:41 +0000 (18:34 -0700)]
Call ensureActivitiesVisibleLocked when setShowWhenLocked
If an activity is behind lockscreen and then just calls
setShowWhenLocked(true), nothing will happen, as it won't trigger AM to
update the visibilities of the activities. We need to make sure to
actually update the visibilities in this case.
Test: ran go/wm-smoke tests
Change-Id: I4fb384a3d5ef8427c2eee32986f1dcbd07514825
Wale Ogunwale [Tue, 17 Oct 2017 15:12:08 +0000 (08:12 -0700)]
setAllAppWinAnimators() for closing apps.
This makes sure the app windows get onExitAnimationDone() call when
the animation is done vs. when the activity is stopped which happens
later.
Bug:
64218925
Test: go/wm-smoke
Change-Id: Ia3bd5efb0cc9713758f1b4ca4765b4bd5e19542d
DongYuchen [Thu, 16 Feb 2017 10:22:36 +0000 (18:22 +0800)]
Add config to skip showing CF fail-to-disable dialog
Add config to skip showing CF fail-to-disable dialog. Because it is not
always correct to show fail-to-disable dialog. It depends on the way
of NW CF handling. The default value is set to false.
Test: manual - checked the call forwarding fail dialog was not shown
Bug:
35790386
Change-Id: I8b0e3d15736d95df8fcac205cb9a3ef2f8579988
Andrei Stingaceanu [Fri, 13 Oct 2017 11:53:23 +0000 (12:53 +0100)]
[Magnifier - 3] Reduce number of calls to PixelCopy
* Magnifier#show() takes snapshots of the content and displays
them in the Magnifier bitmap
* calling show(...) consecutive times with the same arguments is
a no-op if already showing (to cater with the miriad of motion
events produced by touch which end up calling show(...))
* introduced Magnifier#invalidate(...) which, if currently
showing, forces updating the content using the last configuration
* clamped the start horizontal value of the Rect which delimits the
content to show in order to avoid distorting the rendering of the
magnifier content
* fixed invalidating the magnifier (invalidate() does not
automatically call invalidate(RectF) !)
Bug:
63531115
Bug:
67296158
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: manual test that shows the magnifier working
Change-Id: I8e53dfb6582d541922fe05b60311658fb07ca880
Sooraj Sasindran [Tue, 17 Oct 2017 08:47:12 +0000 (08:47 +0000)]
Merge "Enhance network scan request" am:
b9f49e671a am:
d5987f9722 am:
c1333187cd
am:
c788882471
Change-Id: Ie155d930b8a21c826fb8a034beb53dfec111ff4b
Calin Juravle [Tue, 17 Oct 2017 08:40:22 +0000 (08:40 +0000)]
Merge "Revert "When updating a split app, copy compiled files from base.apk only."" am:
154535317e am:
4a69261500 am:
f3ef1f09ef
am:
d37ded95d9
Change-Id: Ie89a664bcc2e53f7a0b1d7c015c177670af3fddc
Hall Liu [Tue, 17 Oct 2017 08:33:08 +0000 (08:33 +0000)]
Merge "Add null checks to EMBMS AIDL impls" am:
9e93a6515e am:
7bfd87f169 am:
38088cbca2
am:
644419ff56
Change-Id: I9f59483af300d8aa72cc7ee5bf5401e4c12c85ce
Sooraj Sasindran [Tue, 17 Oct 2017 06:29:22 +0000 (06:29 +0000)]
Merge "Enhance network scan request" am:
b9f49e671a am:
d5987f9722
am:
c1333187cd
Change-Id: I8a9d698e2b8be06ffa8433dbdce81e673130cde8
Sooraj Sasindran [Tue, 17 Oct 2017 06:19:46 +0000 (06:19 +0000)]
Merge "Enhance network scan request" am:
b9f49e671a
am:
d5987f9722
Change-Id: Ifb781febbb687036b15746f809499788b802566b
Sooraj Sasindran [Tue, 17 Oct 2017 06:11:06 +0000 (06:11 +0000)]
Merge "Enhance network scan request"
am:
b9f49e671a
Change-Id: If24d4740c346761391213f94647c43cbd742444a
Sooraj Sasindran [Tue, 17 Oct 2017 06:03:31 +0000 (06:03 +0000)]
Merge "Enhance network scan request"
Calin Juravle [Tue, 17 Oct 2017 05:28:08 +0000 (05:28 +0000)]
Merge "Revert "When updating a split app, copy compiled files from base.apk only."" am:
154535317e am:
4a69261500
am:
f3ef1f09ef
Change-Id: I0fff716c3dcc1ce699666b4cd0794930c188400b
Hall Liu [Tue, 17 Oct 2017 05:22:19 +0000 (05:22 +0000)]
Merge "Add null checks to EMBMS AIDL impls" am:
9e93a6515e am:
7bfd87f169
am:
38088cbca2
Change-Id: Ie162853f505c6cebc429805e1839227901d13276