OSDN Git Service

android-x86/frameworks-base.git
7 years agoImplicitly cast views obtained via View.findView methods
Alan Viverette [Mon, 27 Feb 2017 15:57:58 +0000 (10:57 -0500)]
Implicitly cast views obtained via View.findView methods

Removes all explicit casts from android.widget classes. Also @removes
methods on ListView that were overriding @hidden methods and should
never have been exposed as public API.

Bug: 24137209
Test: make
Change-Id: I89f0e51258560987b3942251fd249210f825ac2a

7 years agoMerge "Fix sharing bugreports from lockscreen"
Jorim Jaggi [Mon, 27 Feb 2017 14:22:25 +0000 (14:22 +0000)]
Merge "Fix sharing bugreports from lockscreen"

7 years agoMerge "Follow Minikin's signature changes."
Seigo Nonaka [Mon, 27 Feb 2017 04:30:27 +0000 (04:30 +0000)]
Merge "Follow Minikin's signature changes."

7 years agoMerge "Fix videoStateToString for audio/paused state." am: 89e7a888be am: 2f96f34373
Tyler Gunn [Mon, 27 Feb 2017 03:10:57 +0000 (03:10 +0000)]
Merge "Fix videoStateToString for audio/paused state." am: 89e7a888be am: 2f96f34373
am: 9b59cc7bad

Change-Id: Idee131069636fc8a4ea086a3d41bce4c1dfcbda6

7 years agoMerge "Format Japanese numbers using national format when in Japan." am: 050e5ddb4f...
Tyler Gunn [Mon, 27 Feb 2017 03:05:28 +0000 (03:05 +0000)]
Merge "Format Japanese numbers using national format when in Japan." am: 050e5ddb4f am: 8ac499fbe6
am: a84292c9d7

Change-Id: I770af0bba538268797295f59c8675191a6ef41a6

7 years agoMerge "Fix videoStateToString for audio/paused state." am: 89e7a888be
Tyler Gunn [Mon, 27 Feb 2017 03:05:21 +0000 (03:05 +0000)]
Merge "Fix videoStateToString for audio/paused state." am: 89e7a888be
am: 2f96f34373

Change-Id: Ia14b054be24acc2a767707b72a12902460cd11e7

7 years agoMerge "Fix videoStateToString for audio/paused state."
Tyler Gunn [Mon, 27 Feb 2017 03:01:08 +0000 (03:01 +0000)]
Merge "Fix videoStateToString for audio/paused state."
am: 89e7a888be

Change-Id: I04fe4d5b61c548f3b5f012af343c4e08334933e0

7 years agoMerge "Format Japanese numbers using national format when in Japan." am: 050e5ddb4f
Tyler Gunn [Mon, 27 Feb 2017 02:59:21 +0000 (02:59 +0000)]
Merge "Format Japanese numbers using national format when in Japan." am: 050e5ddb4f
am: 8ac499fbe6

Change-Id: Ied615fbaf689a931a2b93785d944f2a8bd7f49dd

7 years agoMerge "Fix videoStateToString for audio/paused state."
Tyler Gunn [Mon, 27 Feb 2017 02:55:24 +0000 (02:55 +0000)]
Merge "Fix videoStateToString for audio/paused state."

7 years agoMerge "Format Japanese numbers using national format when in Japan."
Tyler Gunn [Mon, 27 Feb 2017 02:54:49 +0000 (02:54 +0000)]
Merge "Format Japanese numbers using national format when in Japan."
am: 050e5ddb4f

Change-Id: I996a79c2b3158e1fd6999330e0b0b21f8e4c8b4b

7 years agoMerge "Format Japanese numbers using national format when in Japan."
Tyler Gunn [Mon, 27 Feb 2017 02:48:10 +0000 (02:48 +0000)]
Merge "Format Japanese numbers using national format when in Japan."

7 years agoFollow Minikin's signature changes.
Seigo Nonaka [Fri, 10 Feb 2017 07:53:31 +0000 (16:53 +0900)]
Follow Minikin's signature changes.

Minikin now uses shared_ptr instead of MinikinRefCounted.

Bug: 28119474
Test: manually tested
Test: hwui_unit_tests passed.
Change-Id: Ie0564851a8a798af112679e15f7a07db000a977e

7 years agoMerge "Delete @removed APIs that never shipped."
Jeff Sharkey [Mon, 27 Feb 2017 01:45:40 +0000 (01:45 +0000)]
Merge "Delete @removed APIs that never shipped."

7 years agoMerge changes I21b77905,Ia98ec539
Andy Hung [Sun, 26 Feb 2017 07:04:35 +0000 (07:04 +0000)]
Merge changes I21b77905,Ia98ec539

* changes:
  VolumeShaper: Use VolumeAutomation interface and unhide
  VolumeShaper: Remove PlayerProxy constructor

7 years agoMerge "Catch all exceptions thrown by the interfaces."
TreeHugger Robot [Sun, 26 Feb 2017 04:39:08 +0000 (04:39 +0000)]
Merge "Catch all exceptions thrown by the interfaces."

7 years agoresolve merge conflicts of e091985bb5b5 to stage-aosp-master am: 82c46d11f6
Jack Yu [Sat, 25 Feb 2017 06:16:51 +0000 (06:16 +0000)]
resolve merge conflicts of e091985bb5b5 to stage-aosp-master am: 82c46d11f6
am: 9080d6708d  -s ours

Change-Id: I112682c76b21e0cc646026e6ec2f3b883023427c

7 years agoresolve merge conflicts of e091985bb5b5 to stage-aosp-master
Jack Yu [Sat, 25 Feb 2017 04:58:12 +0000 (04:58 +0000)]
resolve merge conflicts of e091985bb5b5 to stage-aosp-master
am: 82c46d11f6

Change-Id: I2b6b5f698d03c86957fdaf4f73e26dfe36758924

7 years agoMerge "Strip out some logics from ESP to FSP that DSP can use."
TreeHugger Robot [Sat, 25 Feb 2017 04:17:28 +0000 (04:17 +0000)]
Merge "Strip out some logics from ESP to FSP that DSP can use."

7 years agoMerge "Do not set tooltips on items in list-based menus."
TreeHugger Robot [Sat, 25 Feb 2017 03:41:12 +0000 (03:41 +0000)]
Merge "Do not set tooltips on items in list-based menus."

7 years agoVolumeShaper: Use VolumeAutomation interface and unhide
Andy Hung [Fri, 24 Feb 2017 00:21:13 +0000 (16:21 -0800)]
VolumeShaper: Use VolumeAutomation interface and unhide

Test: Ducking and CTS
Bug: 31015569
Change-Id: I21b77905e86bf336c05aad5378f33ff36a92b3b5

7 years agoVolumeShaper: Remove PlayerProxy constructor
Andy Hung [Wed, 22 Feb 2017 20:34:21 +0000 (12:34 -0800)]
VolumeShaper: Remove PlayerProxy constructor

Use of the VolumeShaper through PlayerProxy requires system ids,
which is different enough from PlayerBase that we don't allow
direct construction.

Test: Ducking
Bug: 31015569
Change-Id: Ia98ec5396047ae39e78237bb7e485d07f2eb1efd

7 years agoMerge "Implement reset to original selection."
TreeHugger Robot [Sat, 25 Feb 2017 02:57:50 +0000 (02:57 +0000)]
Merge "Implement reset to original selection."

7 years agoresolve merge conflicts of e091985bb5b5 to stage-aosp-master
Jack Yu [Sat, 25 Feb 2017 02:46:58 +0000 (18:46 -0800)]
resolve merge conflicts of e091985bb5b5 to stage-aosp-master

Test: Manual
Change-Id: Icaf4663abd3ad233afa3e31ff1939dbb7c07a2a5

7 years agoMerge "Add CIECAT02 chromatic adaptation transform"
TreeHugger Robot [Sat, 25 Feb 2017 02:45:51 +0000 (02:45 +0000)]
Merge "Add CIECAT02 chromatic adaptation transform"

7 years agoMerge "Process the NetworkInfo before updating AccessPoints."
TreeHugger Robot [Sat, 25 Feb 2017 02:31:43 +0000 (02:31 +0000)]
Merge "Process the NetworkInfo before updating AccessPoints."

7 years agoStrip out some logics from ESP to FSP that DSP can use.
Garfield Tan [Wed, 8 Feb 2017 23:32:56 +0000 (15:32 -0800)]
Strip out some logics from ESP to FSP that DSP can use.

Also notify MediaStore when move happens.

Test: build & smoke tested.
Change-Id: I01576765c0b25089a81b77ce0904abea8b24d485

7 years agoMerge "Refactored savableIds() into a SaveInfo class."
TreeHugger Robot [Sat, 25 Feb 2017 01:44:56 +0000 (01:44 +0000)]
Merge "Refactored savableIds() into a SaveInfo class."

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api" am: fcb37ffc60 am: f4854018a2
Chen Xu [Sat, 25 Feb 2017 01:24:27 +0000 (01:24 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api" am: fcb37ffc60 am: f4854018a2
am: 9897cc4369  -s ours

Change-Id: Ie96a60472c7d7f0fb8e70e535745d849bfc3f68c

7 years agoMerge "Add logging constants for setting build number preference."
TreeHugger Robot [Sat, 25 Feb 2017 01:19:14 +0000 (01:19 +0000)]
Merge "Add logging constants for setting build number preference."

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api" am: fcb37ffc60
Chen Xu [Sat, 25 Feb 2017 01:17:31 +0000 (01:17 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api" am: fcb37ffc60
am: f4854018a2

Change-Id: Ie9ff472da7912042ec969268dd46d1b9a404526c

7 years agoMerge "Don't include Bitmaps in activity intents"
Makoto Onuki [Sat, 25 Feb 2017 01:15:31 +0000 (01:15 +0000)]
Merge "Don't include Bitmaps in activity intents"

7 years agoMerge "Added a settings for CMAS message broadcast"
Treehugger Robot [Sat, 25 Feb 2017 01:13:28 +0000 (01:13 +0000)]
Merge "Added a settings for CMAS message broadcast"

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Sat, 25 Feb 2017 01:12:09 +0000 (01:12 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"
am: fcb37ffc60

Change-Id: Iaa09a2c35a88d58a6c6df4122bf7f1f87bd7075e

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Sat, 25 Feb 2017 01:05:30 +0000 (01:05 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"

7 years agoMerge "Reduce screen on delay during UsageStats rollover"
Amith Yamasani [Sat, 25 Feb 2017 00:58:58 +0000 (00:58 +0000)]
Merge "Reduce screen on delay during UsageStats rollover"

7 years agoProcess the NetworkInfo before updating AccessPoints.
Sundeep Ghuman [Thu, 23 Feb 2017 02:17:29 +0000 (18:17 -0800)]
Process the NetworkInfo before updating AccessPoints.

This fixes a UI issue where the Tracker first displays the connected
accessPoint as inactive before processing the connected state, which
causes the list to jump around.

Also add useful debugging information to AccessPoint toString.

Bug: 35681450
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I9a8356cfdd2e5be2da58ce5de82e228fddf301f9

7 years agoMerge "Fix VR current component changes being ignored."
TreeHugger Robot [Sat, 25 Feb 2017 00:55:56 +0000 (00:55 +0000)]
Merge "Fix VR current component changes being ignored."

7 years agoMerge changes Ib32aca72,I201f081e
TreeHugger Robot [Sat, 25 Feb 2017 00:41:06 +0000 (00:41 +0000)]
Merge changes Ib32aca72,I201f081e

* changes:
  Bind to the recommendation service specified in the Setting.
  Move NetworkScorerAppManager into com.android.server.

7 years agoMerge "Add TvProvider methods to get and add columns"
Conrad Chen [Sat, 25 Feb 2017 00:17:59 +0000 (00:17 +0000)]
Merge "Add TvProvider methods to get and add columns"

7 years agoMerge "Added a settings for CMAS message broadcast"
Jack Yu [Sat, 25 Feb 2017 00:11:07 +0000 (00:11 +0000)]
Merge "Added a settings for CMAS message broadcast"

7 years agoDon't include Bitmaps in activity intents
Makoto Onuki [Fri, 24 Feb 2017 19:34:54 +0000 (11:34 -0800)]
Don't include Bitmaps in activity intents

Bug: 35515740
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests

Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases

Change-Id: Ibb94728eb03997bb850b08c61c756f283bd90a08

7 years agoMerge "Add colorError"
Jason Monk [Fri, 24 Feb 2017 23:29:24 +0000 (23:29 +0000)]
Merge "Add colorError"

7 years agoFix VR current component changes being ignored.
Zak Cohen [Fri, 24 Feb 2017 22:37:07 +0000 (14:37 -0800)]
Fix VR current component changes being ignored.

Bug: 35723429
Test: built, run on device and verified that controller works
Change-Id: I7467f893ef313145d7aa555285dae60cb7ec3cf2

7 years agoMerge "Improve service docs around user unlocking."
TreeHugger Robot [Fri, 24 Feb 2017 23:17:39 +0000 (23:17 +0000)]
Merge "Improve service docs around user unlocking."

7 years agoMerge "Throttle GNSS measurements and GNSS navigation messages in background (complet...
Soonil Nagarkar [Fri, 24 Feb 2017 22:56:45 +0000 (22:56 +0000)]
Merge "Throttle GNSS measurements and GNSS navigation messages in background (completely)."

7 years agoReduce screen on delay during UsageStats rollover
Amith Yamasani [Fri, 24 Feb 2017 19:02:07 +0000 (11:02 -0800)]
Reduce screen on delay during UsageStats rollover

Decoupled the app idle book-keeping from usage stats lock, by
introducing an mAppIdleLock. This is used for all state related
to app idle. In some cases, the locks will be nested, with
mLock being acquired first and then mAppIdleLock.

This should fix the situation where a rollover, which writes to
disk and could take several seconds when the system is swamped,
like when the device just came out of idle and the screen was
turned on (like this run-on sentence), causes calls from other
services for app-idle status to be blocked. This was resulting
in a long time to turn on the screen.

Also fixed a dump indentation issue.

Bug: 34627115
Bug: 34961340
Test: Manual, force into idle, increased rollover frequency,
      and tested screen on time.

Change-Id: Ie8b44e6f07f82d8a31f1b733a403dd9b6dc310f6

7 years agoMerge "Send ranking update on channel update."
TreeHugger Robot [Fri, 24 Feb 2017 22:42:03 +0000 (22:42 +0000)]
Merge "Send ranking update on channel update."

7 years agoAdd logging constants for setting build number preference.
Fan Zhang [Fri, 24 Feb 2017 22:37:45 +0000 (14:37 -0800)]
Add logging constants for setting build number preference.

Change-Id: I79ab6c89ec67e464167a96cf4350d8628bacbd91
Fix: 34774945
Test: Builds

7 years agoMerge "gnss HAL uses "default" service name"
TreeHugger Robot [Fri, 24 Feb 2017 22:21:49 +0000 (22:21 +0000)]
Merge "gnss HAL uses "default" service name"

7 years agoMerge "SoundTriggerTestApp: Provide onClick callbacks for audio capture."
Chris Thornton [Fri, 24 Feb 2017 21:56:33 +0000 (21:56 +0000)]
Merge "SoundTriggerTestApp: Provide onClick callbacks for audio capture."

7 years agoMerge "Protobufferize PowerManager dumpsys"
Netta Peterbursky [Fri, 24 Feb 2017 21:36:14 +0000 (21:36 +0000)]
Merge "Protobufferize PowerManager dumpsys"

7 years agoMerge "Protobufferize PackageManager dumpsys"
Netta Peterbursky [Fri, 24 Feb 2017 21:35:27 +0000 (21:35 +0000)]
Merge "Protobufferize PackageManager dumpsys"

7 years agoMerge "Thorough javadocumentation for network logging API"
Robin Lee [Fri, 24 Feb 2017 21:28:13 +0000 (21:28 +0000)]
Merge "Thorough javadocumentation for network logging API"

7 years agoMerge "Mark oemhook related APIs @Deprecated." am: 79faa72eee am: 4b026b656d
Amit Mahajan [Fri, 24 Feb 2017 20:58:39 +0000 (20:58 +0000)]
Merge "Mark oemhook related APIs @Deprecated." am: 79faa72eee am: 4b026b656d
am: 2225e56bd3

Change-Id: I3225ab882809159ae1deb97efc0469d8b2777cbe

7 years agoMerge "Mark oemhook related APIs @Deprecated." am: 79faa72eee
Amit Mahajan [Fri, 24 Feb 2017 20:53:35 +0000 (20:53 +0000)]
Merge "Mark oemhook related APIs @Deprecated." am: 79faa72eee
am: 4b026b656d

Change-Id: I9fca856876619c380529df90fdd86e276666dbb3

7 years agoMerge "Change time methods to durations."
TreeHugger Robot [Fri, 24 Feb 2017 20:49:53 +0000 (20:49 +0000)]
Merge "Change time methods to durations."

7 years agoMerge "Mark oemhook related APIs @Deprecated."
Amit Mahajan [Fri, 24 Feb 2017 20:48:10 +0000 (20:48 +0000)]
Merge "Mark oemhook related APIs @Deprecated."
am: 79faa72eee

Change-Id: Ia31c163fdd65f305095ca1749cbc457eea4b0ca8

7 years agoDelete @removed APIs that never shipped.
Jeff Sharkey [Fri, 24 Feb 2017 00:38:31 +0000 (17:38 -0700)]
Delete @removed APIs that never shipped.

These were never part of any public API level, so apps should never
have been using them.

Test: builds, boots
Bug: 31241513
Change-Id: I4fc8f5c325da56694a5db98acc995a22d4947805

7 years agoMerge "Mark oemhook related APIs @Deprecated."
Treehugger Robot [Fri, 24 Feb 2017 20:40:22 +0000 (20:40 +0000)]
Merge "Mark oemhook related APIs @Deprecated."

7 years agoMerge "Open /data/anr/traces.txt with O_APPEND." am: 5bf8540194 am: 0b9df3a012
Josh Gao [Fri, 24 Feb 2017 20:37:40 +0000 (20:37 +0000)]
Merge "Open /data/anr/traces.txt with O_APPEND." am: 5bf8540194 am: 0b9df3a012
am: ade5ac01f1

Change-Id: I4e12124359c7f98de151951b14cc3de59cf09c1d

7 years agoMerge "Disable task snapshots on svelte"
TreeHugger Robot [Fri, 24 Feb 2017 20:33:43 +0000 (20:33 +0000)]
Merge "Disable task snapshots on svelte"

7 years agoMerge "Open /data/anr/traces.txt with O_APPEND." am: 5bf8540194
Josh Gao [Fri, 24 Feb 2017 20:33:00 +0000 (20:33 +0000)]
Merge "Open /data/anr/traces.txt with O_APPEND." am: 5bf8540194
am: 0b9df3a012

Change-Id: I2cc15a9391c8b7a1e8bd1af7d20db684ff95a6f4

7 years agoThrottle GNSS measurements and GNSS navigation
Soonil Nagarkar [Fri, 24 Feb 2017 01:14:16 +0000 (17:14 -0800)]
Throttle GNSS measurements and GNSS navigation
messages in background (completely).

Test: manual
Change-Id: I32e3572c5ce32cd39b22e62f6b3499d292e1badc

7 years agoMerge "Open /data/anr/traces.txt with O_APPEND."
Josh Gao [Fri, 24 Feb 2017 20:28:00 +0000 (20:28 +0000)]
Merge "Open /data/anr/traces.txt with O_APPEND."
am: 5bf8540194

Change-Id: Ie73b2930348d946a6f4504df190bd3e819043487

7 years agoMerge "Require valid authorities for Uri notifications."
TreeHugger Robot [Fri, 24 Feb 2017 20:26:29 +0000 (20:26 +0000)]
Merge "Require valid authorities for Uri notifications."

7 years agoCatch all exceptions thrown by the interfaces.
Jeff Sharkey [Fri, 24 Feb 2017 20:19:50 +0000 (13:19 -0700)]
Catch all exceptions thrown by the interfaces.

Test: builds, boots
Bug: 35749102
Change-Id: Ib5db19dd8f3ae591ed84972c1b234f27932fc66c

7 years agoAdded a settings for CMAS message broadcast
Jack Yu [Thu, 23 Feb 2017 17:49:25 +0000 (09:49 -0800)]
Added a settings for CMAS message broadcast

This is for sl4a automation to receive CMAS messages
broadcasdt. The automation should inject the settings
through 'adb settings'.

Test: manual
bug: 34393649
Change-Id: Ic29be11b641f185219146d7fbb05561f5907ea76

7 years agoMerge "Open /data/anr/traces.txt with O_APPEND."
Josh Gao [Fri, 24 Feb 2017 20:17:22 +0000 (20:17 +0000)]
Merge "Open /data/anr/traces.txt with O_APPEND."

7 years agoOpen /data/anr/traces.txt with O_APPEND.
Josh Gao [Fri, 24 Feb 2017 02:46:49 +0000 (18:46 -0800)]
Open /data/anr/traces.txt with O_APPEND.

Should fix selinux denial:
    audit(0.0:7893): avc: denied { write } for path="/data/anr/traces.txt" dev="sda35" ino=679938 scontext=u:r:crash_dump:s0 tcontext=u:object_r:anr_data_file:s0 tclass=file permissive=0

Bug: 35727090
Test: none
Change-Id: I5c131ca1ee48ed00934a9aa7c611ee35fc4f9f2a

7 years agoRefactored savableIds() into a SaveInfo class.
Felipe Leme [Fri, 24 Feb 2017 01:52:01 +0000 (17:52 -0800)]
Refactored savableIds() into a SaveInfo class.

For now it's a "1-to-1" refactoring that keeps the same
functionalities, but soon SaveInfo will be expanded to
allow the AutoFillService to customize it.

Bug: 35727295
Test: CtsAutoFillServiceTestCases pass
Test: m update-api

Change-Id: I5aaa705be2b32590048f70ed0142437e05df94b7

7 years agoMerge "New system for plugin + tuner integrations called extensions"
TreeHugger Robot [Fri, 24 Feb 2017 20:01:59 +0000 (20:01 +0000)]
Merge "New system for plugin + tuner integrations called extensions"

7 years agoAdd colorError
Jason Monk [Thu, 2 Feb 2017 01:17:51 +0000 (20:17 -0500)]
Add colorError

Remove scatered references to old error color and replace them with
references to new colorError

Test: make & visual
Change-Id: Icca8cd790db351c3dfce2197f2046879d062a2c0

7 years agoMerge "Load hyphenation patterns for Bulgarian and Church Slavonic" am: 70bc4a8036...
Eric Laurent [Fri, 24 Feb 2017 19:55:03 +0000 (19:55 +0000)]
Merge "Load hyphenation patterns for Bulgarian and Church Slavonic" am: 70bc4a8036 am: 330ac1223a
am: 38a7f7f1ef

Change-Id: I09c0a3465d73923ec8f83bedaf46cfa3341bd721

7 years agoSend ranking update on channel update.
Julia Reynolds [Fri, 24 Feb 2017 19:43:01 +0000 (14:43 -0500)]
Send ranking update on channel update.

Change-Id: I26aca0f27df0fca549d863ed6a5fac2c5b025907
Fixes: 35623384
Test: manual, runtest systemui-notification

7 years agoMerge "Load hyphenation patterns for Bulgarian and Church Slavonic" am: 70bc4a8036
Eric Laurent [Fri, 24 Feb 2017 19:49:55 +0000 (19:49 +0000)]
Merge "Load hyphenation patterns for Bulgarian and Church Slavonic" am: 70bc4a8036
am: 330ac1223a

Change-Id: I23f1e0cf7938afbf18611191f12f68779b7c017e

7 years agoMerge "Better error message when no UID allocated."
TreeHugger Robot [Fri, 24 Feb 2017 19:47:53 +0000 (19:47 +0000)]
Merge "Better error message when no UID allocated."

7 years agoMerge "Load hyphenation patterns for Bulgarian and Church Slavonic"
Eric Laurent [Fri, 24 Feb 2017 19:45:28 +0000 (19:45 +0000)]
Merge "Load hyphenation patterns for Bulgarian and Church Slavonic"
am: 70bc4a8036

Change-Id: Iac325d28a09f4ddceb93ec85beba0eabfd393992

7 years agoMerge "StateMachine: add getLogRecMaxSize()" am: 22e43471ed am: 0a2d5cf7db
Mukesh Agrawal [Fri, 24 Feb 2017 19:41:04 +0000 (19:41 +0000)]
Merge "StateMachine: add getLogRecMaxSize()" am: 22e43471ed am: 0a2d5cf7db
am: 313604b48f

Change-Id: Ib8670d744b179a48dd3f9052baefc9ddbf260274

7 years agoImplement reset to original selection.
Abodunrinwa Toki [Thu, 23 Feb 2017 02:52:05 +0000 (02:52 +0000)]
Implement reset to original selection.

The UX for smart selection specifies that the user is able to reset
the original selection by tapping once on the word after smart
selection. Tap once, and the selection resets to the word that was
initially selected (before smart selection happened), tap one more
time and the insertion cursor appears as usual. If the user taps
a different word other than the original selection, the insertion
cursor appears as before.

Test: I7456eb4773d40366a3f4aa7bf051a1c7ddda6e9d
Bug: 34777048
Change-Id: If73259ddb67379d5a5deaa01b840b5185cedf4c8

7 years agoMerge "Load hyphenation patterns for Bulgarian and Church Slavonic"
Eric Laurent [Fri, 24 Feb 2017 19:36:28 +0000 (19:36 +0000)]
Merge "Load hyphenation patterns for Bulgarian and Church Slavonic"

7 years agoMerge "StateMachine: add getLogRecMaxSize()" am: 22e43471ed
Mukesh Agrawal [Fri, 24 Feb 2017 19:36:23 +0000 (19:36 +0000)]
Merge "StateMachine: add getLogRecMaxSize()" am: 22e43471ed
am: 0a2d5cf7db

Change-Id: Id8a21420d17074e7331f8f67453fe09c338991ec

7 years agoMerge "Block new installs into ASEC containers."
Jeff Sharkey [Fri, 24 Feb 2017 19:32:04 +0000 (19:32 +0000)]
Merge "Block new installs into ASEC containers."

7 years agoMerge "StateMachine: add getLogRecMaxSize()"
Mukesh Agrawal [Fri, 24 Feb 2017 19:32:03 +0000 (19:32 +0000)]
Merge "StateMachine: add getLogRecMaxSize()"
am: 22e43471ed

Change-Id: Iaab7955c0721e240487e8c842e994c90141d6013

7 years agoMerge "Fix broken RestrictedLockUtils KeyGuard APIs"
TreeHugger Robot [Fri, 24 Feb 2017 19:29:44 +0000 (19:29 +0000)]
Merge "Fix broken RestrictedLockUtils KeyGuard APIs"

7 years agoMerge "StateMachine: add getLogRecMaxSize()"
Mukesh Agrawal [Fri, 24 Feb 2017 19:26:47 +0000 (19:26 +0000)]
Merge "StateMachine: add getLogRecMaxSize()"

7 years agoLoad hyphenation patterns for Bulgarian and Church Slavonic
Roozbeh Pournader [Thu, 23 Feb 2017 02:53:39 +0000 (18:53 -0800)]
Load hyphenation patterns for Bulgarian and Church Slavonic

Patterns for Bulgarian (bg) and Church Slavonic (cu) are now loaded
too.

Also make changes to fontchain_lint.py, so it knows the script for Bulgarian
and Church Slavonic is Cyrillic.

Test: make -j works and creates .hyb files for bg and cu
Change-Id: I0586f6c49380279ef88fe952b5cfd2d3594c5524

7 years agoMerge "AppWidgetManager shouldn't use StorageManager."
TreeHugger Robot [Fri, 24 Feb 2017 19:19:57 +0000 (19:19 +0000)]
Merge "AppWidgetManager shouldn't use StorageManager."

7 years agoMerge "Use the measured height in the ResolverDrawer"
Hakan Seyalioglu [Fri, 24 Feb 2017 19:18:36 +0000 (19:18 +0000)]
Merge "Use the measured height in the ResolverDrawer"

7 years agoMerge "Fixed poor behavior of position-based focus order"
Evan Rosky [Fri, 24 Feb 2017 18:51:39 +0000 (18:51 +0000)]
Merge "Fixed poor behavior of position-based focus order"

7 years agoMerge "Add focusdirection annotations to cluster methods"
Evan Rosky [Fri, 24 Feb 2017 18:50:30 +0000 (18:50 +0000)]
Merge "Add focusdirection annotations to cluster methods"

7 years agoMerge "Merge "Update api for InMemoryDexClassLoader" am: 2f40b2b302 am: c878255b5f...
Android Build Merger (Role) [Fri, 24 Feb 2017 18:50:19 +0000 (18:50 +0000)]
Merge "Merge "Update api for InMemoryDexClassLoader" am: 2f40b2b302 am: c878255b5f am: 96b1fb4faa"

7 years agoBind to the recommendation service specified in the Setting.
Jeremy Joslin [Mon, 13 Feb 2017 21:44:11 +0000 (13:44 -0800)]
Bind to the recommendation service specified in the Setting.

High level changes to NetworkScorerAppManager:
  * Implemented getAllValidScorers() and removed the old
    config-based discovery code.
  * Implemented setActiveScorer() to persist its given package
    name to Settings if it represents a valid network
    recommendation app.
  * Added a new method that reverts the setting back to the
    configured default if the current setting represents an
    invalid app.

High level changes to NetworkScoreService:
  * Updated the PackageMonitor to only watch a single package.
  * Moved most of the startup logic to onUserUnlocked() so we
    don't have to worry about whether or not the device is encrypted
    when querying the PackageManager.
  * The PackageMonitor is only registered/unregistered when the
    package it's watching changes.

Test: runtest frameworks-services -c com.android.server.NetworkScorerAppManagerTest
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 35095406
Change-Id: Ib32aca72dac4b831a64ceb3cd5c31e8fa2f61396

7 years agoMove NetworkScorerAppManager into com.android.server.
Jeremy Joslin [Thu, 16 Feb 2017 19:11:57 +0000 (11:11 -0800)]
Move NetworkScorerAppManager into com.android.server.

NetworkScorerAppManager is only used internally by the
NetworkScoreService and no longer needs to be part of core.
Extracted its inner class, NetworkScorerAppData, into a top-level
class and left it in android.net as it's used as part of the
NetworkScoreManager API.

Test: runtest frameworks-services -c com.android.server.NetworkScorerAppManagerTest
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 35095406
Change-Id: I201f081e05d0a909b4ae3142b63afc3e21548f77

7 years agoMerge "Update api for InMemoryDexClassLoader" am: 2f40b2b302 am: c878255b5f
Alex Light [Fri, 24 Feb 2017 18:49:29 +0000 (18:49 +0000)]
Merge "Update api for InMemoryDexClassLoader" am: 2f40b2b302 am: c878255b5f
am: 96b1fb4faa

Change-Id: Ie54827e27768ce593b0b1402c8bc8eeb9b744f5f

7 years agoMerge "Check EXTRA_INTENT as part of leaving process."
TreeHugger Robot [Fri, 24 Feb 2017 18:49:19 +0000 (18:49 +0000)]
Merge "Check EXTRA_INTENT as part of leaving process."

7 years agoMerge "Update api for InMemoryDexClassLoader" am: 2f40b2b302
Alex Light [Fri, 24 Feb 2017 18:43:56 +0000 (18:43 +0000)]
Merge "Update api for InMemoryDexClassLoader" am: 2f40b2b302
am: c878255b5f

Change-Id: Ifaf686ab006aee45447b3fb7c7da97f1a079dffd

7 years agoMerge "Enforce the calling permissions within NetworkRecommendationProvider."
TreeHugger Robot [Fri, 24 Feb 2017 18:42:57 +0000 (18:42 +0000)]
Merge "Enforce the calling permissions within NetworkRecommendationProvider."

7 years agoDisable task snapshots on svelte
Jorim Jaggi [Wed, 22 Feb 2017 16:56:40 +0000 (17:56 +0100)]
Disable task snapshots on svelte

Test: Boot low ram device, make sure cache stays empty
Bug: 31339431
Change-Id: I0fac1071f17fcd13872ef68f68eee2c793c6753c

7 years agoMerge "Update api for InMemoryDexClassLoader"
Alex Light [Fri, 24 Feb 2017 18:39:00 +0000 (18:39 +0000)]
Merge "Update api for InMemoryDexClassLoader"
am: 2f40b2b302

Change-Id: I4c28a97869d17862076521c7fc22a96f9946d6b0

7 years agomove ACTION_CARRIER_SETUP intent to public api
fionaxu [Sat, 18 Feb 2017 01:20:46 +0000 (17:20 -0800)]
move ACTION_CARRIER_SETUP intent to public api

As per CDD: The "android.*" namespace for intent constants is reserved for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_CARRIER_SETUP intent is generally useful for carrier privileged
apps which is unbundled carrier apps, thus move to public APIs

Bug: 33679956
Test: Manual
Change-Id: I202398f868d35e7e9046e7cc41330a3c26dca0b0
Merged-in: Ie2b5d072406513f04676210d08c43d91623c3cd2