OSDN Git Service

android-x86/frameworks-base.git
6 years agoCorrect A2DP status when audio routes changed
Sungsoo Lim [Tue, 21 Nov 2017 04:12:24 +0000 (13:12 +0900)]
Correct A2DP status when audio routes changed

When a Bluetooth device is connected and then a media is started,
sometimes MediaRouterService gets media playback status change first
and get the Bluetooth device status change later. This causes the
media plays through the phone speaker instead of BT devices.

This CL prevent that situation by not changing A2DP status when
BT device is not connected, and by calling restoreBluetoothA2dp
at the end of dispatchAudioRoutesChanged.

Bug: 69499034
Test: manually tested the bug, passed Media CTS
Change-Id: I7547a39e5ce58f58c249a25efa55446a3b023416

6 years agoMerge "Delaying jobs while coming out of doze"
Suprabh Shukla [Wed, 22 Nov 2017 01:38:26 +0000 (01:38 +0000)]
Merge "Delaying jobs while coming out of doze"

6 years agoMerge "Implement minikin::Run"
TreeHugger Robot [Wed, 22 Nov 2017 01:11:22 +0000 (01:11 +0000)]
Merge "Implement minikin::Run"

6 years agoMerge "Add very long press to open global actions menu."
TreeHugger Robot [Wed, 22 Nov 2017 01:10:51 +0000 (01:10 +0000)]
Merge "Add very long press to open global actions menu."

6 years agoMerge "Adds atom when error is written to dropbox."
TreeHugger Robot [Wed, 22 Nov 2017 00:33:06 +0000 (00:33 +0000)]
Merge "Adds atom when error is written to dropbox."

6 years agoMerge "Fix NPE with stackless windows."
TreeHugger Robot [Wed, 22 Nov 2017 00:28:44 +0000 (00:28 +0000)]
Merge "Fix NPE with stackless windows."

6 years agoMerge "The first step towards adding a guardrail."
TreeHugger Robot [Wed, 22 Nov 2017 00:01:12 +0000 (00:01 +0000)]
Merge "The first step towards adding a guardrail."

6 years agoMerge "Provide materials for Mobile network settings UI." am: 8b759f234b -s ours...
Malcolm Chen [Tue, 21 Nov 2017 23:40:17 +0000 (23:40 +0000)]
Merge "Provide materials for Mobile network settings UI." am: 8b759f234b  -s ours am: 4b7d25e374  -s ours
am: 175b6d2b4a  -s ours

Change-Id: I03af1afc1cde03cef74bb8a677e13b318ef01c45

6 years agoDelaying jobs while coming out of doze
Suprabh Shukla [Fri, 3 Nov 2017 04:23:44 +0000 (21:23 -0700)]
Delaying jobs while coming out of doze

Foreground uids can run their jobs immediately given other constraints
are met. Other jobs will be delayed by 3 seconds when coming out of
doze to ensure imminent user tasks like screen-on can use resources.
Also added an API to allow apps to indicate their job is important to
the user enough that it is allowed to run when the app is in the
foreground or on the temp whitelist regardless of the dozing state of
the device.

Test: cts-tradefed run singleCommand cts-dev -m JobScheduler -t \
android.jobscheduler.cts.DeviceIdleJobsTest

Bug: 64291952
Bug: 64071030

Change-Id: Id52cb4386e683d4f8297e873b3a68c573e5be743

6 years agoMerge "Provide materials for Mobile network settings UI." am: 8b759f234b -s ours
Malcolm Chen [Tue, 21 Nov 2017 23:29:53 +0000 (23:29 +0000)]
Merge "Provide materials for Mobile network settings UI." am: 8b759f234b  -s ours
am: 4b7d25e374  -s ours

Change-Id: I71fa4cdd2170bc1ccf39f04f092ea9447f988d1f

6 years agoMerge "Extreme battery saver: Disable launch boost"
Makoto Onuki [Tue, 21 Nov 2017 23:26:55 +0000 (23:26 +0000)]
Merge "Extreme battery saver: Disable launch boost"

6 years agoMerge "Provide materials for Mobile network settings UI."
Malcolm Chen [Tue, 21 Nov 2017 23:18:13 +0000 (23:18 +0000)]
Merge "Provide materials for Mobile network settings UI."
am: 8b759f234b  -s ours

Change-Id: I1e4627084e000f0e3a45005b4a2df34e51fcc0fa

6 years agoImplement minikin::Run
Seigo Nonaka [Wed, 15 Nov 2017 20:06:24 +0000 (12:06 -0800)]
Implement minikin::Run

The minikin::Run is a callback for measuring text piece.
Implement minikin::Run instead of own Run.

This is 2nd attempt of Iec899dc9f91e1af38338dbfd2a8dc5f4cddd3649
Nothing changes from previous CL.

Bug: 65024629
Test: N/A
Change-Id: Ib54a519642cf60aba5d8b5637e679ad903ccd12b

6 years agoMerge "Provide materials for Mobile network settings UI."
Treehugger Robot [Tue, 21 Nov 2017 23:05:21 +0000 (23:05 +0000)]
Merge "Provide materials for Mobile network settings UI."

6 years agoMerge "Avoid clearing default browser setting when unnecessary" am: ef32746fc5 am...
tiansiming [Tue, 21 Nov 2017 23:04:44 +0000 (23:04 +0000)]
Merge "Avoid clearing default browser setting when unnecessary" am: ef32746fc5 am: 3ee9594a27
am: 3c59e35788

Change-Id: Ifd4dcbc6f3ea6473ff212ad46bb8dc8197e3e35d

6 years agoMerge "Avoid clearing default browser setting when unnecessary" am: ef32746fc5
tiansiming [Tue, 21 Nov 2017 22:49:19 +0000 (22:49 +0000)]
Merge "Avoid clearing default browser setting when unnecessary" am: ef32746fc5
am: 3ee9594a27

Change-Id: If8d39e9cb350861913deda62b1351d8a4e52607a

6 years agoMerge "Avoid clearing default browser setting when unnecessary"
tiansiming [Tue, 21 Nov 2017 22:40:35 +0000 (22:40 +0000)]
Merge "Avoid clearing default browser setting when unnecessary"
am: ef32746fc5

Change-Id: I647c96b9a96612c4745e6ebec5d44cebd6d42767

6 years agoMerge "Avoid clearing default browser setting when unnecessary"
Treehugger Robot [Tue, 21 Nov 2017 22:22:08 +0000 (22:22 +0000)]
Merge "Avoid clearing default browser setting when unnecessary"

6 years agoMerge "Add more OWNERS for classes in android.server"
TreeHugger Robot [Tue, 21 Nov 2017 21:51:07 +0000 (21:51 +0000)]
Merge "Add more OWNERS for classes in android.server"

6 years agoAdds atom when error is written to dropbox.
David Chen [Tue, 21 Nov 2017 01:25:34 +0000 (17:25 -0800)]
Adds atom when error is written to dropbox.

We log some of the key fields that indicate an error or crash. For
memory reasons, we can't transfer the entire stack trace into statsd.

Test: Manually observed logging while using an app that crashed.
Change-Id: I7085277a22a7ba8642b432998280ef59eb1074b9

6 years agoMerge "Add OWNERS to system_server services."
TreeHugger Robot [Tue, 21 Nov 2017 21:28:03 +0000 (21:28 +0000)]
Merge "Add OWNERS to system_server services."

6 years agoMerge "PackageManager: Extend cmd interface feedback" am: d66bc0aaae am: 362a3b9e2a
Andreas Gampe [Tue, 21 Nov 2017 21:15:20 +0000 (21:15 +0000)]
Merge "PackageManager: Extend cmd interface feedback" am: d66bc0aaae am: 362a3b9e2a
am: bcfa5f7fab  -s ours

Change-Id: I07dc60c17099ece2d6f947fccd2d7341aa47a24d

6 years agoMerge "PackageManager: Extend cmd interface feedback" am: d66bc0aaae
Andreas Gampe [Tue, 21 Nov 2017 21:04:36 +0000 (21:04 +0000)]
Merge "PackageManager: Extend cmd interface feedback" am: d66bc0aaae
am: 362a3b9e2a

Change-Id: I7b3ba7adde559c66ed9b8c02d5dd8134a9aa2b38

6 years agoMerge "PackageManager: Extend cmd interface feedback"
Andreas Gampe [Tue, 21 Nov 2017 20:55:13 +0000 (20:55 +0000)]
Merge "PackageManager: Extend cmd interface feedback"
am: d66bc0aaae

Change-Id: Ic89e1e9e4b5e250bc867d288cf4870690926248c

6 years agoMerge "PackageManager: Extend cmd interface feedback"
Treehugger Robot [Tue, 21 Nov 2017 20:38:18 +0000 (20:38 +0000)]
Merge "PackageManager: Extend cmd interface feedback"

6 years agoMerge "Special handling of processes with recent tasks."
TreeHugger Robot [Tue, 21 Nov 2017 20:36:28 +0000 (20:36 +0000)]
Merge "Special handling of processes with recent tasks."

6 years agoMerge "Updated JavaDoc for onStartLoading"
Fyodor Kupolov [Tue, 21 Nov 2017 20:32:26 +0000 (20:32 +0000)]
Merge "Updated JavaDoc for onStartLoading"

6 years agoMerge "The pm command is no more."
TreeHugger Robot [Tue, 21 Nov 2017 20:31:47 +0000 (20:31 +0000)]
Merge "The pm command is no more."

6 years agoMerge "Use newline to separate stack trace lines"
Fyodor Kupolov [Tue, 21 Nov 2017 20:26:00 +0000 (20:26 +0000)]
Merge "Use newline to separate stack trace lines"

6 years agoFix NPE with stackless windows.
Robert Carr [Tue, 21 Nov 2017 20:12:49 +0000 (12:12 -0800)]
Fix NPE with stackless windows.

Namely IME PopupWindows.

Bug: 69596187
Test: Manual
Change-Id: I9fdf4c4a3aa844b223ff8bdcc389acadf44102f0

6 years agoExtreme battery saver: Disable launch boost
Makoto Onuki [Mon, 20 Nov 2017 23:20:16 +0000 (15:20 -0800)]
Extreme battery saver: Disable launch boost

Bug: 68769804
Test: manual test with debug log in nativeSendPowerHint().
Change-Id: I7ce61463215400379e0aa0d1782b2372495fe97e

6 years agoMerge "Global a11y action to lock screen"
TreeHugger Robot [Tue, 21 Nov 2017 20:08:11 +0000 (20:08 +0000)]
Merge "Global a11y action to lock screen"

6 years agoMerge "Revert "Implement minikin::Run""
TreeHugger Robot [Tue, 21 Nov 2017 20:04:36 +0000 (20:04 +0000)]
Merge "Revert "Implement minikin::Run""

6 years agoMerge "Close available secondary connections if schema changes"
TreeHugger Robot [Tue, 21 Nov 2017 19:56:41 +0000 (19:56 +0000)]
Merge "Close available secondary connections if schema changes"

6 years agoMerge "Extreme battery saver: Cap max cpu frequency."
Makoto Onuki [Tue, 21 Nov 2017 19:53:43 +0000 (19:53 +0000)]
Merge "Extreme battery saver: Cap max cpu frequency."

6 years agoMerge "PackageManager: Extend cmd interface feedback"
TreeHugger Robot [Tue, 21 Nov 2017 19:22:57 +0000 (19:22 +0000)]
Merge "PackageManager: Extend cmd interface feedback"

6 years agoMerge "Sync proto from google3"
TreeHugger Robot [Tue, 21 Nov 2017 19:16:21 +0000 (19:16 +0000)]
Merge "Sync proto from google3"

6 years agoAdd more OWNERS for classes in android.server
Michael Wright [Tue, 21 Nov 2017 18:46:15 +0000 (18:46 +0000)]
Add more OWNERS for classes in android.server

Test: N/A
Change-Id: Ia66382c5da0ed5e4a57b3bf7b0926c389634e144

6 years agoUse newline to separate stack trace lines
Fyodor Kupolov [Tue, 21 Nov 2017 18:42:23 +0000 (10:42 -0800)]
Use newline to separate stack trace lines

It was unintentionally removed in patchset 3 of ag/3221176

Test: manual
Change-Id: Iede0bfe1b5d622fda794ddf4a0bcdbdaeeb4939d

6 years agoMerge "Get PackageManager on demand in ActivityStarter."
Bryce Lee [Tue, 21 Nov 2017 18:41:50 +0000 (18:41 +0000)]
Merge "Get PackageManager on demand in ActivityStarter."

6 years agoAdd OWNERS to system_server services.
Michael Wright [Tue, 21 Nov 2017 18:35:16 +0000 (18:35 +0000)]
Add OWNERS to system_server services.

Test: N/A
Change-Id: I60174fcbbf2a061df2961239ec1b45df2e6b20ed

6 years agoThe pm command is no more.
Dianne Hackborn [Tue, 31 Oct 2017 19:55:42 +0000 (19:55 +0000)]
The pm command is no more.

It is now just a shell of itself. :)

Also brings in a few fixes to never try to open files from the system
process.

Test: manual
Change-Id: Ia8187196af597046fd2e7092dbf19ce1dc1ea457

6 years agoMerge "Daily idle job for writing out brightness events."
Kenny Guy [Tue, 21 Nov 2017 17:57:39 +0000 (17:57 +0000)]
Merge "Daily idle job for writing out brightness events."

6 years agoPackageManager: Extend cmd interface feedback
Andreas Gampe [Tue, 21 Nov 2017 01:03:17 +0000 (17:03 -0800)]
PackageManager: Extend cmd interface feedback

When running cmd package compile -a, print the progress, as this
may be a long-running operation.

Test: m
Test: manual
Merged-In: Ic5c8123f972656b722da882d6a19d555b8c60832
Change-Id: Ic5c8123f972656b722da882d6a19d555b8c60832

6 years agoPackageManager: Extend cmd interface feedback
Andreas Gampe [Tue, 21 Nov 2017 01:03:17 +0000 (17:03 -0800)]
PackageManager: Extend cmd interface feedback

When running cmd package compile -a, print the progress, as this
may be a long-running operation.

Test: m
Test: manual
Change-Id: Ic5c8123f972656b722da882d6a19d555b8c60832

6 years agoMerge "Revert "Log the CHANGE_WIFI_STATE App Op in WifiManager (client changes).""
Peter Visontay [Tue, 21 Nov 2017 17:10:18 +0000 (17:10 +0000)]
Merge "Revert "Log the CHANGE_WIFI_STATE App Op in WifiManager (client changes).""

6 years agoRevert "Implement minikin::Run"
Seigo Nonaka [Tue, 21 Nov 2017 16:58:24 +0000 (16:58 +0000)]
Revert "Implement minikin::Run"

Looks like this causes native crash.

Bug: 69592296
Test: N/A

This reverts commit c777364d2564acddfe511cbfbc2879d5a1ea8b2d.

Change-Id: I3b3981de3d0fcccf2847f6ed0936338bb1ffb064

6 years agoMerge "add list of supported views to RemoteViews docs Found by searching for all...
Scott Main [Tue, 21 Nov 2017 16:41:00 +0000 (16:41 +0000)]
Merge "add list of supported views to RemoteViews docs Found by searching for all framework views with the @RemoteViews annotation"

6 years agoMerge "Convert Slice type to string and add optional sub-type"
Jason Monk [Tue, 21 Nov 2017 16:05:39 +0000 (16:05 +0000)]
Merge "Convert Slice type to string and add optional sub-type"

6 years agoDaily idle job for writing out brightness events.
Kenny Guy [Tue, 14 Nov 2017 21:04:58 +0000 (21:04 +0000)]
Daily idle job for writing out brightness events.

Schedule a job for idle + charging to kick off
writing out brighness slider events.
While writing events discard ones outside our
time window.

Bug: 69405990
Test: Manual using adb to kick off job.
Test: runtest -c com.android.server.display.BrightnessTrackerTest frameworks-services
Change-Id: Ibc79d1c80ced26827d6f985bc70ae165df106a42

6 years agoMerge "Remove unnecessary RemoteException declaration"
Rubin Xu [Tue, 21 Nov 2017 14:30:28 +0000 (14:30 +0000)]
Merge "Remove unnecessary RemoteException declaration"

6 years agoMerge "Add SliceSpec to Slice API"
Jason Monk [Tue, 21 Nov 2017 13:50:09 +0000 (13:50 +0000)]
Merge "Add SliceSpec to Slice API"

6 years agoRemove unnecessary RemoteException declaration
Rubin Xu [Tue, 21 Nov 2017 12:05:06 +0000 (12:05 +0000)]
Remove unnecessary RemoteException declaration

Bug: 62264551
Test: compiles
Change-Id: I0b5149b233b4f68b06088cb8edac488b6d1d17dd

6 years agoRevert "Log the CHANGE_WIFI_STATE App Op in WifiManager (client changes)."
Peter Visontay [Tue, 21 Nov 2017 11:46:59 +0000 (11:46 +0000)]
Revert "Log the CHANGE_WIFI_STATE App Op in WifiManager (client changes)."

This reverts commit dfe291b72bea057a33f92ca156bb6ed699d18b86.

Change-Id: I82e25fb7e46a679d82d89fd5f56e4f334b593f69
Bug: 69498268

6 years agoMerge "Fix WebViewUpdateService test expectation to match reality."
Gustav Sennton [Tue, 21 Nov 2017 12:00:00 +0000 (12:00 +0000)]
Merge "Fix WebViewUpdateService test expectation to match reality."

6 years agoMerge "Call listeners whenever players are removed"
Sungsoo Lim [Tue, 21 Nov 2017 11:58:06 +0000 (11:58 +0000)]
Merge "Call listeners whenever players are removed"

6 years agoMerge "Define PacketWakeup pushed events for statds"
Hugo Benichi [Tue, 21 Nov 2017 05:58:09 +0000 (05:58 +0000)]
Merge "Define PacketWakeup pushed events for statds"

6 years agoMerge "Improve how parcels are recycled on AssisStructure custom parcelization."
TreeHugger Robot [Tue, 21 Nov 2017 03:34:43 +0000 (03:34 +0000)]
Merge "Improve how parcels are recycled on AssisStructure custom parcelization."

6 years agoMerge "String update: Internet -> internet"
TreeHugger Robot [Tue, 21 Nov 2017 03:34:02 +0000 (03:34 +0000)]
Merge "String update: Internet -> internet"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 21 Nov 2017 02:34:21 +0000 (02:34 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoadd list of supported views to RemoteViews docs
Scott Main [Tue, 21 Nov 2017 02:16:01 +0000 (18:16 -0800)]
add list of supported views to RemoteViews docs
Found by searching for all framework views with the @RemoteViews
annotation

Change-Id: I60e24676014a8ee2f5df0bac87349dad7d92081d

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 21 Nov 2017 02:20:57 +0000 (02:20 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoCall listeners whenever players are removed
Sungsoo Lim [Wed, 1 Nov 2017 04:45:59 +0000 (13:45 +0900)]
Call listeners whenever players are removed

AudioPlayerStateMonitor.onAudioPlayerStateChanged isn't called all the
time when players are removed. This change makes the listener be
called whenever players are removed.

Bug: 68733075
Test: manual tests for restoring media routes and handling media keys
Test: same result from Media CTS with and w/o this change
Change-Id: I7219d757a7001b83e03c8d04fc1cabb12638dafa

6 years agoMerge "Use serif fonts for serif fallback."
TreeHugger Robot [Tue, 21 Nov 2017 01:40:34 +0000 (01:40 +0000)]
Merge "Use serif fonts for serif fallback."

6 years agoMerge "1/ Duration anomaly tracker with alarm. 2/ Init anomaly from config based...
TreeHugger Robot [Tue, 21 Nov 2017 01:33:24 +0000 (01:33 +0000)]
Merge "1/ Duration anomaly tracker with alarm. 2/ Init anomaly from config based on the public language. 3/ Unit tests for anomaly detection in count/gauge producer. 4/ Revisit the duration tracker logic."

6 years agoMerge "WebView: misc docs changes for WebSettings"
TreeHugger Robot [Tue, 21 Nov 2017 01:27:15 +0000 (01:27 +0000)]
Merge "WebView: misc docs changes for WebSettings"

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6...
Malcolm Chen [Tue, 21 Nov 2017 01:09:47 +0000 (01:09 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6cc  -s ours am: 959385c314  -s ours
am: f4a336808b  -s ours

Change-Id: Ie0761a8a549382d9d8a6781c20a6a23f511231fc

6 years agoDefine PacketWakeup pushed events for statds
Hugo Benichi [Tue, 14 Nov 2017 13:42:46 +0000 (22:42 +0900)]
Define PacketWakeup pushed events for statds

This patch pushes packet wakeup events collected by
NetdEventListenerService into the statds service.

Example logs from $ adb logcat -b stats
11-20 23:33:25.955   955   972 I [44]    : [10014,wlan0,34525,10:e:7e:26:3f:c1,2001:db8:400d:c0b::bc,2001:db8:4:fd00:a00a:dbc8:f5ba:4269,6,5228,49411]
11-20 23:37:05.809   955  1473 I [44]    : [10014,wlan0,2048,10:e:7e:26:3f:c1,192.168.0.142,192.168.0.39,6,443,45422]
11-20 23:42:09.233   955  1473 I [44]    : [10014,wlan0,2048,10:e:7e:26:3f:c1,192.168.12.238,192.168.0.39,6,443,40160]
11-20 23:55:28.162   955  1207 I [44]    : [10059,wlan0,34525,10:e:7e:26:3f:c1,2001:db8:4004:807::200a,2001:db8:4:fd00:a00a:dbc8:f5ba:4269,6,443,42492]
11-20 23:59:18.343   955  1888 I [44]    : [10059,wlan0,34525,10:e:7e:26:3f:c1,2001:db8:4004:807::200a,2001:db8:4:fd00:a00a:dbc8:f5ba:4269,6,443,42491]
11-21 00:00:17.952   955  3341 I [44]    : [10014,wlan0,34525,10:e:7e:26:3f:c1,2001:db8:400d:c0b::bc,2001:db8:4:fd00:a00a:dbc8:f5ba:4269,6,5228,49411]
11-21 00:13:05.552   955  1473 I [44]    : [-1,wlan0,34525,10:e:7e:26:3f:c1,2001:db8:4004:805::200a,2001:db8:4:fd00:a00a:dbc8:f5ba:4269,6,443,38098]
11-21 00:13:50.606   955  1207 I [44]    : [-1,wlan0,2048,10:e:7e:26:3f:c1,192.168.5.238,192.168.0.39,6,443,40802]

Bug: 28806131
Test: runtest frameworks-net
Change-Id: I5a3c76498a4b720f0d9308a65b5dd4b32377d0d1

6 years agoExtreme battery saver: Cap max cpu frequency.
Makoto Onuki [Mon, 20 Nov 2017 22:31:06 +0000 (14:31 -0800)]
Extreme battery saver: Cap max cpu frequency.

- Lower the max CPU frequency on battery saver.
- We have different sets of frequencies for screen-on and screen-off.
- The frequency configuration is from R.string.config_batterySaverDeviceSpecificConfig.

Bug: 68769804
Test: Manual test with settings put global battery_saver_device_specific_constants cpufreq-n=0:1324800/4:1497600,cpufreq-i=0:1900800/4:1958400
  using cat_repeat /sys/devices/system/cpu/cpu{0,4}/cpufreq/{cpuinfo_cur,scaling_max}_freq

Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/CpuFrequenciesTest.java
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/FileUpdaterTest.java
Change-Id: Ie1bb11c46c0d4730129fe9d82e86d8acebe0b560

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6...
Malcolm Chen [Tue, 21 Nov 2017 00:58:19 +0000 (00:58 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6cc  -s ours
am: 959385c314  -s ours

Change-Id: Ie6d211fd5ebfeb5a191e1d96a7d3bb37ee9b7d23

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings."
Malcolm Chen [Tue, 21 Nov 2017 00:48:30 +0000 (00:48 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings."
am: 06e314f6cc  -s ours

Change-Id: I3e7e4818688b8e046499513557825809772a1085

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings."
Treehugger Robot [Tue, 21 Nov 2017 00:35:42 +0000 (00:35 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings."

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 21 Nov 2017 00:35:34 +0000 (16:35 -0800)]
Import translations. DO NOT MERGE

Change-Id: I111e2a8d4ec350a1167dfa07dfd0b764436194bd
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 21 Nov 2017 00:33:29 +0000 (16:33 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id49a06e39b19dae6b1ce6e131d12d80bff0270b1
Auto-generated-cl: translation import

6 years agoMerge "Smooth scroll RecyclerView on a11y ACTION_SCROLL_*"
TreeHugger Robot [Tue, 21 Nov 2017 00:17:56 +0000 (00:17 +0000)]
Merge "Smooth scroll RecyclerView on a11y ACTION_SCROLL_*"

6 years agoMerge "Implement minikin::Run"
TreeHugger Robot [Tue, 21 Nov 2017 00:00:48 +0000 (00:00 +0000)]
Merge "Implement minikin::Run"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 20 Nov 2017 23:49:53 +0000 (23:49 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years ago1/ Duration anomaly tracker with alarm.
Yangster-mac [Fri, 10 Nov 2017 04:38:30 +0000 (20:38 -0800)]
1/ Duration anomaly tracker with alarm.
2/ Init anomaly from config based on the public language.
3/ Unit tests for anomaly detection in count/gauge producer.
4/ Revisit the duration tracker logic.

Test: unit test passed.
Change-Id: I2423c0e0f05b1e37626954de9e749303423963f2

6 years agoString update: Internet -> internet
Fan Zhang [Mon, 20 Nov 2017 23:12:27 +0000 (15:12 -0800)]
String update: Internet -> internet

Change-Id: I1d66c6acc32c35f378f3806b1bd3a32ad59f485c
Fixes: 69388824
Fixes: 69387604
Test: visual

6 years agoMerge "Fix freeform window resizing."
Tomasz Mikolajewski [Mon, 20 Nov 2017 23:13:58 +0000 (23:13 +0000)]
Merge "Fix freeform window resizing."

6 years agoMerge "Optimize Autofill Sanitizer to work as a Validator."
TreeHugger Robot [Mon, 20 Nov 2017 23:07:23 +0000 (23:07 +0000)]
Merge "Optimize Autofill Sanitizer to work as a Validator."

6 years agoUse serif fonts for serif fallback.
Seigo Nonaka [Wed, 5 Jul 2017 23:06:23 +0000 (16:06 -0700)]
Use serif fonts for serif fallback.

Bug: 31491668
Test: m -j1024 fontchain_lint
Change-Id: Ic1d356aa684f2284b0b0fc8de5d0e36380eb44bc

6 years agoMerge "Collect set of "changed" classes."
TreeHugger Robot [Mon, 20 Nov 2017 22:44:08 +0000 (22:44 +0000)]
Merge "Collect set of "changed" classes."

6 years agoSpecial handling of processes with recent tasks.
Dianne Hackborn [Thu, 16 Nov 2017 01:54:18 +0000 (17:54 -0800)]
Special handling of processes with recent tasks.

As the startup time of application processes has increased,
it is becoming more useful to try to keep around the process
for a recently used app, even if there are no longer any
actively running activities in it.  (For example, if you backed
out of the root activity.)

This change implements that behavior, keeping track of any recent
task entries that a process represents the root activity for,
and classififying them under a new cached proc state that is
managed the same as a cached activity.

Test: manual
Bug: 69386069
Change-Id: I430741646478763fd85b33a5384278ece831b2c3

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: c7d9045105 -s ours
Bill Yi [Mon, 20 Nov 2017 22:34:18 +0000 (22:34 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: c7d9045105  -s ours
am: 651cb9ec20  -s ours

Change-Id: Ie35ab0514caa65270a0e53fbde8f5de3c0a920de

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Mon, 20 Nov 2017 22:27:19 +0000 (22:27 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: c7d9045105  -s ours

Change-Id: I4e65a2c460b3bcfa2e258a2952677b16d89e4d85

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Mon, 20 Nov 2017 22:13:17 +0000 (22:13 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge changes from topic "new-z-order"
Rob Carr [Mon, 20 Nov 2017 22:02:18 +0000 (22:02 +0000)]
Merge changes from topic "new-z-order"

* changes:
  Reimplement DimLayer's using hierarchy.
  Re-implement Z-ordering based off SurfaceControl hierarchy.

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 20 Nov 2017 22:00:40 +0000 (22:00 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImplement minikin::Run
Seigo Nonaka [Wed, 15 Nov 2017 20:06:24 +0000 (12:06 -0800)]
Implement minikin::Run

The minikin::Run is a callback for measuring text piece.
Implement minikin::Run instead of own Run.

Bug: 65024629
Test: N/A

Change-Id: Iec899dc9f91e1af38338dbfd2a8dc5f4cddd3649

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 20 Nov 2017 21:59:46 +0000 (21:59 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Use -Werror in frameworks/base" am: a29836ad04 am: 267a2a8c8a
Chih-hung Hsieh [Mon, 20 Nov 2017 21:51:42 +0000 (21:51 +0000)]
Merge "Use -Werror in frameworks/base" am: a29836ad04 am: 267a2a8c8a
am: af60d7f8b5

Change-Id: I9daf24758eab254650dc0ea8809c56d0d536a641

6 years agoMerge "Use -Werror in frameworks/base" am: a29836ad04
Chih-hung Hsieh [Mon, 20 Nov 2017 21:40:59 +0000 (21:40 +0000)]
Merge "Use -Werror in frameworks/base" am: a29836ad04
am: 267a2a8c8a

Change-Id: Ibfc63a029813ef952dc94f11baae7a96850e94d6

6 years agoMerge "Make SharedPreferences check with higher precision" am: 9ca31879b0 -s ours...
Philip P. Moltmann [Mon, 20 Nov 2017 21:40:55 +0000 (21:40 +0000)]
Merge "Make SharedPreferences check with higher precision" am: 9ca31879b0  -s ours am: 79d7319d7e  -s ours
am: 3e0c2b73cd  -s ours

Change-Id: I4e956376312317c868db00a3c15f7ec4a33bc8b6

6 years agoConvert Slice type to string and add optional sub-type
Jason Monk [Wed, 8 Nov 2017 02:52:10 +0000 (21:52 -0500)]
Convert Slice type to string and add optional sub-type

The type will control the serialization that the platform uses to
get the object from one place to another. The sub-type optionally
will specify a specific interpretation of this object.

Test: cts
Bug: 68378558
Change-Id: I78f41f6e5b6c91c510e4f968c32d96e9030d0e8a

6 years agoAdd SliceSpec to Slice API
Jason Monk [Wed, 8 Nov 2017 00:38:27 +0000 (19:38 -0500)]
Add SliceSpec to Slice API

SliceSpec will be used to handshake versions between Slice renderers
and Slice providers. The renderer will pass in info about supported
specs, and expect that the returned slice will be compatible.

Test: manual
Bug: 68378561
Change-Id: Id094ec3b6f682a3d84a2b992e1a8274212778970

6 years agoMerge "Use -Werror in frameworks/base"
Chih-hung Hsieh [Mon, 20 Nov 2017 21:33:00 +0000 (21:33 +0000)]
Merge "Use -Werror in frameworks/base"
am: a29836ad04

Change-Id: Ie76322acc3b471da60a033cfa2474c1039d70339

6 years agoMerge "Make SharedPreferences check with higher precision" am: 9ca31879b0 -s ours
Philip P. Moltmann [Mon, 20 Nov 2017 21:27:45 +0000 (21:27 +0000)]
Merge "Make SharedPreferences check with higher precision" am: 9ca31879b0  -s ours
am: 79d7319d7e  -s ours

Change-Id: Ifd52e21336a32ecd195e61336ac90777ba990925

6 years agoMerge "Make SharedPreferences check with higher precision"
Philip P. Moltmann [Mon, 20 Nov 2017 21:19:57 +0000 (21:19 +0000)]
Merge "Make SharedPreferences check with higher precision"
am: 9ca31879b0  -s ours

Change-Id: Ie7065c2281bdf6a97af69c2d758d4c2ff55956ae

6 years agoMerge "Use -Werror in frameworks/base"
Chih-hung Hsieh [Mon, 20 Nov 2017 21:18:52 +0000 (21:18 +0000)]
Merge "Use -Werror in frameworks/base"