OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Remove LOCAL_STATIC_SHARED_LIBRARY usage" am: 60f0b06d19 am: 6ff2ad3044
Paul Duffin [Tue, 12 Dec 2017 13:32:38 +0000 (13:32 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage" am: 60f0b06d19 am: 6ff2ad3044
am: 1c091ba045

Change-Id: I1a6d1130de87ef0a69727a7c7a7950704df47c04

6 years agoMerge "AAPT2: allow to generate R.txt without R.java"
TreeHugger Robot [Tue, 12 Dec 2017 13:21:05 +0000 (13:21 +0000)]
Merge "AAPT2: allow to generate R.txt without R.java"

6 years agoMerge "Remove LOCAL_STATIC_SHARED_LIBRARY usage" am: 60f0b06d19
Paul Duffin [Tue, 12 Dec 2017 13:19:26 +0000 (13:19 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage" am: 60f0b06d19
am: 6ff2ad3044

Change-Id: I7ec4ac17b4fead69b3ffbd754cd3ce33978c64cb

6 years agoMerge "Replace legacy-android-test with android.test.base"
TreeHugger Robot [Tue, 12 Dec 2017 13:17:38 +0000 (13:17 +0000)]
Merge "Replace legacy-android-test with android.test.base"

6 years agoMerge "Remove LOCAL_STATIC_SHARED_LIBRARY usage"
Paul Duffin [Tue, 12 Dec 2017 13:09:48 +0000 (13:09 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage"
am: 60f0b06d19

Change-Id: I530df72ef5dc2c50a2304e5b2fe1ddff2ade2eeb

6 years agoMerge "Remove LOCAL_STATIC_SHARED_LIBRARY usage"
Treehugger Robot [Tue, 12 Dec 2017 12:55:28 +0000 (12:55 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage"

6 years agoMerge "Stop statically including legacy-android-test"
Paul Duffin [Tue, 12 Dec 2017 11:32:11 +0000 (11:32 +0000)]
Merge "Stop statically including legacy-android-test"

6 years agoMerge "Build test-runner/tests"
Paul Duffin [Tue, 12 Dec 2017 11:31:06 +0000 (11:31 +0000)]
Merge "Build test-runner/tests"

6 years agoMerge "Add NotificationRemoteInputManager and associated tests."
TreeHugger Robot [Tue, 12 Dec 2017 09:39:42 +0000 (09:39 +0000)]
Merge "Add NotificationRemoteInputManager and associated tests."

6 years agoAdd NotificationRemoteInputManager and associated tests.
Eliot Courtney [Wed, 15 Nov 2017 05:25:21 +0000 (14:25 +0900)]
Add NotificationRemoteInputManager and associated tests.

This splits out several remote input related pieces of logic:
  1. Handling clicks on remote views
  2. Handling notifications kept for remote input
  3. Handling notifications to be removed on NotificationPresenter
      collapse.

Bug: 63874929
Bug: 62602530
Test: runtest systemui
Test: Compile and run
Change-Id: I7acd4bcb2ab7bde67d307408f509d3ca038eb3d4

6 years agoAvoid flickering when unlocking with fingerprint
Lucas Dupin [Mon, 11 Dec 2017 22:40:07 +0000 (14:40 -0800)]
Avoid flickering when unlocking with fingerprint

Fixes issue where scrim state could be set to KEYGUARD
for 1 frame and user would see the notification shade.

Change-Id: I577b969f98573fc481e3d7c283eb5b612b7e5cee
Fixes: 70210651
Test: Unlock with fingerprint from AoD
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java

6 years agoMerge "Add support for seamless transion from/to AoD"
Lucas Dupin [Tue, 12 Dec 2017 06:36:30 +0000 (06:36 +0000)]
Merge "Add support for seamless transion from/to AoD"

6 years agoMerge "Nullcheck to fix Autofill CTS"
TreeHugger Robot [Tue, 12 Dec 2017 05:47:48 +0000 (05:47 +0000)]
Merge "Nullcheck to fix Autofill CTS"

6 years agoMerge "Fix missed use of old int version code in shortcut manager."
TreeHugger Robot [Tue, 12 Dec 2017 05:06:02 +0000 (05:06 +0000)]
Merge "Fix missed use of old int version code in shortcut manager."

6 years agoMerge "Update WebView tests to use long version codes."
TreeHugger Robot [Tue, 12 Dec 2017 04:58:53 +0000 (04:58 +0000)]
Merge "Update WebView tests to use long version codes."

6 years agoMerge "Fix an incorrect display position of error popup in RTL layout" am: b7941c50a0...
Siyamed Sinir [Tue, 12 Dec 2017 04:39:15 +0000 (04:39 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout" am: b7941c50a0 am: 0863cf4e40
am: 8fc08cc0f6

Change-Id: I96476450550e726c3ac6c07e39afcd175cfee043

6 years agoMerge "incidentd: Updating field IDs and a field name."
TreeHugger Robot [Tue, 12 Dec 2017 04:30:11 +0000 (04:30 +0000)]
Merge "incidentd: Updating field IDs and a field name."

6 years agoMerge "Fix an incorrect display position of error popup in RTL layout" am: b7941c50a0
Siyamed Sinir [Tue, 12 Dec 2017 04:25:54 +0000 (04:25 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout" am: b7941c50a0
am: 0863cf4e40

Change-Id: Ief495fcc7e6f711696ed6337ab65face9d03c981

6 years agoMerge "Update graphics stats to use long version codes."
TreeHugger Robot [Tue, 12 Dec 2017 04:20:46 +0000 (04:20 +0000)]
Merge "Update graphics stats to use long version codes."

6 years agoMerge "Fix an incorrect display position of error popup in RTL layout"
Siyamed Sinir [Tue, 12 Dec 2017 04:15:03 +0000 (04:15 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout"
am: b7941c50a0

Change-Id: I67578129771d0c7d52d5da63f24c2f0d6081ab57

6 years agoMerge "Avoid strict mode violation in shortcut manager on user-unlock"
TreeHugger Robot [Tue, 12 Dec 2017 04:03:21 +0000 (04:03 +0000)]
Merge "Avoid strict mode violation in shortcut manager on user-unlock"

6 years agoMerge "Fix an incorrect display position of error popup in RTL layout"
Siyamed Sinir [Tue, 12 Dec 2017 03:57:43 +0000 (03:57 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout"

6 years agoMerge "Add CarrierConfig key for RTT support" am: e5a913661d am: 79dc6fb815
Hall Liu [Tue, 12 Dec 2017 02:46:53 +0000 (02:46 +0000)]
Merge "Add CarrierConfig key for RTT support" am: e5a913661d am: 79dc6fb815
am: 6365fde4c0

Change-Id: I652fb64918aaf7dbd87910d35329b2752914e937

6 years agoMerge "Revert "Add support for send Message with messaging options"" am: 563d93c107...
Amit Mahajan [Tue, 12 Dec 2017 02:32:54 +0000 (02:32 +0000)]
Merge "Revert "Add support for send Message with messaging options"" am: 563d93c107 am: b1ba135258
am: 339c512db0

Change-Id: I0539d1f7db3a307f7fb0b27e0b2a3a3e13a71538

6 years agoMerge "Fixed an issue with font sizes between users"
Selim Cinek [Tue, 12 Dec 2017 02:24:22 +0000 (02:24 +0000)]
Merge "Fixed an issue with font sizes between users"

6 years agoMerge "Proper autofill fix to let phone process autofill Settings activity."
TreeHugger Robot [Tue, 12 Dec 2017 02:21:59 +0000 (02:21 +0000)]
Merge "Proper autofill fix to let phone process autofill Settings activity."

6 years agoMerge "Fix cancelSync() permission check for periodic syncs."
TreeHugger Robot [Tue, 12 Dec 2017 02:20:58 +0000 (02:20 +0000)]
Merge "Fix cancelSync() permission check for periodic syncs."

6 years agoMerge "Add CarrierConfig key for RTT support" am: e5a913661d
Hall Liu [Tue, 12 Dec 2017 02:11:04 +0000 (02:11 +0000)]
Merge "Add CarrierConfig key for RTT support" am: e5a913661d
am: 79dc6fb815

Change-Id: I11ef3f96e578e077288fe60725d326a20f45daf1

6 years agoMerge "Convert screenshot hw Bitmap to sw Bitmap for screenshot preview."
TreeHugger Robot [Tue, 12 Dec 2017 02:07:10 +0000 (02:07 +0000)]
Merge "Convert screenshot hw Bitmap to sw Bitmap for screenshot preview."

6 years agoMerge "Don't write log on AM thread."
TreeHugger Robot [Tue, 12 Dec 2017 02:05:52 +0000 (02:05 +0000)]
Merge "Don't write log on AM thread."

6 years agoincidentd: Updating field IDs and a field name.
Kweku Adams [Tue, 12 Dec 2017 02:05:38 +0000 (18:05 -0800)]
incidentd: Updating field IDs and a field name.

Field 7 was removed in http://ag/3248090. Since the protos aren't being
used yet, I want to update the rest of the IDs to avoid confusion in the
future when they start being used.
Also updated a field name to better reflect what the value is.

Bug: 65750801
Test: $ cts-tradefed run cts-dev --module CtsIncidentHostTestCases --test com.android.server.cts.AlarmManagerIncidentTest
Change-Id: I48724d461fa2e68dfaf452f01a84031d9fa4180e

6 years agoMerge "Add CarrierConfig key for RTT support"
Hall Liu [Tue, 12 Dec 2017 01:59:47 +0000 (01:59 +0000)]
Merge "Add CarrierConfig key for RTT support"
am: e5a913661d

Change-Id: I035f9ae243dfe1a8c3bc1300851e88fdcb73dafd

6 years agoMerge "Add Text APCT tests to Presubmit"
Siyamed Sinir [Tue, 12 Dec 2017 01:53:04 +0000 (01:53 +0000)]
Merge "Add Text APCT tests to Presubmit"

6 years agoMerge "Add CarrierConfig key for RTT support"
Hall Liu [Tue, 12 Dec 2017 01:44:08 +0000 (01:44 +0000)]
Merge "Add CarrierConfig key for RTT support"

6 years agoMerge "Merge "Add carrier config to always play hold tone when remotely held." am...
Android Build Merger (Role) [Tue, 12 Dec 2017 01:43:22 +0000 (01:43 +0000)]
Merge "Merge "Add carrier config to always play hold tone when remotely held." am: c352f5f861 am: c9187f9199 am: e31e0d5a7a"

6 years agoMerge "Don't take mLock in handleUnlockUser()."
TreeHugger Robot [Tue, 12 Dec 2017 01:40:24 +0000 (01:40 +0000)]
Merge "Don't take mLock in handleUnlockUser()."

6 years agoMerge "Add carrier config to always play hold tone when remotely held." am: c352f5f86...
Tyler Gunn [Tue, 12 Dec 2017 01:40:08 +0000 (01:40 +0000)]
Merge "Add carrier config to always play hold tone when remotely held." am: c352f5f861 am: c9187f9199
am: e31e0d5a7a

Change-Id: Ic14315ea8a85fe9108e765fb32ce23b68ff31756

6 years agoMerge "Revert "Add support for send Message with messaging options"" am: 563d93c107
Amit Mahajan [Tue, 12 Dec 2017 01:37:32 +0000 (01:37 +0000)]
Merge "Revert "Add support for send Message with messaging options"" am: 563d93c107
am: b1ba135258

Change-Id: I874df0b3061ef2f22de6d1c5f9338aa395092ee8

6 years agoMerge "Make TelephonyManager#getEmergencyCallbackMode SystemApi"
TreeHugger Robot [Tue, 12 Dec 2017 01:30:03 +0000 (01:30 +0000)]
Merge "Make TelephonyManager#getEmergencyCallbackMode SystemApi"

6 years agoMerge "Add carrier config to always play hold tone when remotely held." am: c352f5f861
Tyler Gunn [Tue, 12 Dec 2017 01:27:00 +0000 (01:27 +0000)]
Merge "Add carrier config to always play hold tone when remotely held." am: c352f5f861
am: c9187f9199

Change-Id: Ic5b3a6089b03771bb0c0e48e0e8e01cbca839b47

6 years agoMerge "Revert "Add support for send Message with messaging options""
Amit Mahajan [Tue, 12 Dec 2017 01:26:00 +0000 (01:26 +0000)]
Merge "Revert "Add support for send Message with messaging options""
am: 563d93c107

Change-Id: I5db31fdbddfdceb5417f617d7856f8a2a85cedb4

6 years agoMerge "Refactor system properties protos to just include the list treble team defines...
TreeHugger Robot [Tue, 12 Dec 2017 01:19:46 +0000 (01:19 +0000)]
Merge "Refactor system properties protos to just include the list treble team defines go/treble-sysprop-compatibility."

6 years agoMerge "Add carrier config to always play hold tone when remotely held."
Tyler Gunn [Tue, 12 Dec 2017 01:16:30 +0000 (01:16 +0000)]
Merge "Add carrier config to always play hold tone when remotely held."
am: c352f5f861

Change-Id: I16a53c2ec034c32c9e771e367c18ab20c1a52cf4

6 years agoMerge "incidentd: Removing history from batterystats dump."
TreeHugger Robot [Tue, 12 Dec 2017 01:04:57 +0000 (01:04 +0000)]
Merge "incidentd: Removing history from batterystats dump."

6 years agoMerge "Revert "Add support for send Message with messaging options""
Amit Mahajan [Tue, 12 Dec 2017 01:04:54 +0000 (01:04 +0000)]
Merge "Revert "Add support for send Message with messaging options""

6 years agoMerge "Migrate IME related tests to JUnit4"
TreeHugger Robot [Tue, 12 Dec 2017 01:03:51 +0000 (01:03 +0000)]
Merge "Migrate IME related tests to JUnit4"

6 years agoMerge "Add carrier config to always play hold tone when remotely held."
Treehugger Robot [Tue, 12 Dec 2017 00:56:37 +0000 (00:56 +0000)]
Merge "Add carrier config to always play hold tone when remotely held."

6 years agoUpdate WebView tests to use long version codes.
Dianne Hackborn [Tue, 12 Dec 2017 00:54:27 +0000 (16:54 -0800)]
Update WebView tests to use long version codes.

Bug: 64459786
Test: manual
Change-Id: Ib4b8f8f10f2321663a55e086d39586fbdca93a54

6 years agoAvoid strict mode violation in shortcut manager on user-unlock
Makoto Onuki [Tue, 12 Dec 2017 00:38:11 +0000 (16:38 -0800)]
Avoid strict mode violation in shortcut manager on user-unlock

- The issue is the shortcut host information was stored in ShortcutUser, which
is per-user shortcut information that's persisted in the disk. Even though in
the onUnlockUser sequence we only need to "set" a package name, in order to
access the ShortcutUser instance for the target user, we'd need to load the
per-user information from the disk.

- Luckily the host packages don't need to be persisted, so let's just move
it to another structure which is just kept in memory.

Bug: 70526858
Test: Manual test (boot, unlock user, unlock secondary user)
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -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
Change-Id: Ic4b842c4a3a08a7f0e678ce328e9d4ee08fd4069

6 years agoMerge "Cancel alarms & jobs when an app's data is cleared"
TreeHugger Robot [Tue, 12 Dec 2017 00:48:22 +0000 (00:48 +0000)]
Merge "Cancel alarms & jobs when an app's data is cleared"

6 years agoFix missed use of old int version code in shortcut manager.
Dianne Hackborn [Tue, 12 Dec 2017 00:44:08 +0000 (16:44 -0800)]
Fix missed use of old int version code in shortcut manager.

Bug: 64459786
Test: manual
Change-Id: If0f8a19e72e259cceec71ba3490204298e38a478

6 years agoMerge "Fix package manager tests"
Todd Kennedy [Tue, 12 Dec 2017 00:37:35 +0000 (00:37 +0000)]
Merge "Fix package manager tests"

6 years agoUpdate graphics stats to use long version codes.
Dianne Hackborn [Tue, 12 Dec 2017 00:30:36 +0000 (16:30 -0800)]
Update graphics stats to use long version codes.

Bug: 64459786
Test: manual
Change-Id: Iab84727e0ac486f505c10aacdb5ec8871aaf121e

6 years agoProper autofill fix to let phone process autofill Settings activity.
Felipe Leme [Mon, 11 Dec 2017 22:37:35 +0000 (14:37 -0800)]
Proper autofill fix to let phone process autofill Settings activity.

Test: adb shell am start com.android.settings/.RadioInfo
Fixes: 70506888

Change-Id: Id29bad2d20b621f7379eb6144c95dcc819949b3d

6 years agoMerge "Carrier confirmation code." am: 6627d2c4df am: 0e788e00b6
Holly Jiuyu Sun [Tue, 12 Dec 2017 00:12:44 +0000 (00:12 +0000)]
Merge "Carrier confirmation code." am: 6627d2c4df am: 0e788e00b6
am: 486385092b  -s ours

Change-Id: I34d9496ee29684f5a1ceb6c9ab01ad87ffe72e8d

6 years agoMerge "Add Chromium ARC EventLogTags"
TreeHugger Robot [Tue, 12 Dec 2017 00:03:56 +0000 (00:03 +0000)]
Merge "Add Chromium ARC EventLogTags"

6 years agoMerge "SoundPool: remove unused header file."
TreeHugger Robot [Tue, 12 Dec 2017 00:00:34 +0000 (00:00 +0000)]
Merge "SoundPool: remove unused header file."

6 years agoDon't write log on AM thread.
Makoto Onuki [Mon, 11 Dec 2017 23:50:58 +0000 (15:50 -0800)]
Don't write log on AM thread.

Bug: 68871851
Test: Manual test with boot+logcat
Change-Id: I456036785ae92d8cc9b5c22120513f089f4386bd

6 years agoMerge "Carrier confirmation code." am: 6627d2c4df
Holly Jiuyu Sun [Mon, 11 Dec 2017 23:58:48 +0000 (23:58 +0000)]
Merge "Carrier confirmation code." am: 6627d2c4df
am: 0e788e00b6

Change-Id: Ibbb439b724ee031b76ff42ecd84c3c1f2df69ae1

6 years agoMerge "Carrier confirmation code."
Holly Jiuyu Sun [Mon, 11 Dec 2017 23:48:04 +0000 (23:48 +0000)]
Merge "Carrier confirmation code."
am: 6627d2c4df

Change-Id: I444b27d11472cd9a84e4df3b5ae624fba0b13e71

6 years agoDon't take mLock in handleUnlockUser().
Makoto Onuki [Mon, 11 Dec 2017 22:47:19 +0000 (14:47 -0800)]
Don't take mLock in handleUnlockUser().

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

6 years agoAdd Text APCT tests to Presubmit
Siyamed Sinir [Mon, 11 Dec 2017 23:29:18 +0000 (15:29 -0800)]
Add Text APCT tests to Presubmit

Ignored flaky tests. Test currently ignored are:
- android.text.format.FormatterTest
- android.util.util.LinkifyTest
- android.text.LineBreakingOverhangsTest

Test: None
Bug: 70506734
Change-Id: I6ef535c609d99fc6ff4a7887353b1df5ae7dcacb

6 years agoNullcheck to fix Autofill CTS
Eugene Susla [Mon, 11 Dec 2017 18:07:03 +0000 (10:07 -0800)]
Nullcheck to fix Autofill CTS

Test: presubmit
Fixes: 70506475
Change-Id: I187bed4889a4901a7137a2995178ea651ed09186

6 years agoRevert "Add support for send Message with messaging options"
Amit Mahajan [Mon, 11 Dec 2017 23:30:35 +0000 (23:30 +0000)]
Revert "Add support for send Message with messaging options"

This reverts commit bbef627077c5126b5b1292a5a396d784218c09cf.

Reason for revert: Causing long sms failure

Bug: 68762942
Change-Id: I43c36e3286105459c7e08d1a0b2d89b4c42140b2

6 years agoMerge "Carrier confirmation code."
Holly Jiuyu Sun [Mon, 11 Dec 2017 23:29:34 +0000 (23:29 +0000)]
Merge "Carrier confirmation code."

6 years agoMigrate IME related tests to JUnit4
Yohei Yukawa [Mon, 11 Dec 2017 23:09:28 +0000 (15:09 -0800)]
Migrate IME related tests to JUnit4

This CL cleans up remaining use of InstrumentationTestCase from
IME-related FrameworksCoreTests as it is already deprecated in favor of
testing-support-library.

There should be no behavior change in tests and their expectations.

Fixes: 70514197
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.InputMethodSubtypeSwitchingControllerTest
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.InputMethodUtilsTest
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.LocaleUtilsTest
Test: atest FrameworksCoreTests:android.view.inputmethod.CursorAnchorInfoTest
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodSubtypeArrayTest
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodSubtypeTest
Test: atest FrameworksCoreTests:android.view.inputmethod.SparseRectFArrayTest
Change-Id: I28f073aacb6f77c62bd186c37cbdb5719475d4ba

6 years agoRefactor system properties protos to just include the list treble team
Yi Jin [Wed, 6 Dec 2017 01:44:48 +0000 (17:44 -0800)]
Refactor system properties protos to just include the list treble team
defines http://go/treble-sysprop-compatibility.

Also refactored system properties proto to have nested proto
definitions. The reason to do it is to have flat proto definition makes
it super hard to manage its field numbers as well as hard to use.
Since we have a predefined list. Support parsing nested proto here.

Bug: 68774852
Test: unit tested and on device test
      $ out/host/linux-x86/bin/incident_report -w system_properties
Change-Id: Icfc7cdcae184fb204c81e6434d21399aa84a1285

6 years agoFix cancelSync() permission check for periodic syncs.
Makoto Onuki [Mon, 11 Dec 2017 22:57:43 +0000 (14:57 -0800)]
Fix cancelSync() permission check for periodic syncs.

Bug: 64810615
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 CtsContentTestCases -t android.content.cts.ContentResolverSyncTestCase
Change-Id: I2aedbe3e67dbaccfd848a2725042c33a440ce705

6 years agoMerge "Always invoke scrim callback"
TreeHugger Robot [Mon, 11 Dec 2017 22:47:10 +0000 (22:47 +0000)]
Merge "Always invoke scrim callback"

6 years agoAdd CarrierConfig key for RTT support
Hall Liu [Tue, 21 Nov 2017 00:25:39 +0000 (16:25 -0800)]
Add CarrierConfig key for RTT support

Add the carrier config key.

Test: add fake support for some random carrier, look for the capability
Bug: 63934808
Change-Id: I8a0e33a7ac10fbdcad356059913e7ddcba26bb6c

6 years agoMerge "Fix testCursorIsOnRight test case"
TreeHugger Robot [Mon, 11 Dec 2017 22:22:39 +0000 (22:22 +0000)]
Merge "Fix testCursorIsOnRight test case"

6 years agoMerge "Introduce API to enable existing packages on shared users"
TreeHugger Robot [Mon, 11 Dec 2017 22:21:12 +0000 (22:21 +0000)]
Merge "Introduce API to enable existing packages on shared users"

6 years agoMerge "Add ICCID_PREFIX column in CarridId DB"
Shuo Qian [Mon, 11 Dec 2017 22:19:52 +0000 (22:19 +0000)]
Merge "Add ICCID_PREFIX column in CarridId DB"

6 years agoMerge "Temporaly ignoring UID check when caller is a system app."
TreeHugger Robot [Mon, 11 Dec 2017 22:17:42 +0000 (22:17 +0000)]
Merge "Temporaly ignoring UID check when caller is a system app."

6 years agoAdd support for seamless transion from/to AoD
Lucas Dupin [Thu, 16 Nov 2017 19:23:49 +0000 (11:23 -0800)]
Add support for seamless transion from/to AoD

Bug: 64155983
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeUiTest.java
Test: manual
Change-Id: I06e72cd5964944c79fb7bfda6881fc4a5a79ca7b

6 years agoMerge "OMS: Only allow trusted overlays to be registered."
TreeHugger Robot [Mon, 11 Dec 2017 21:51:41 +0000 (21:51 +0000)]
Merge "OMS: Only allow trusted overlays to be registered."

6 years agoMerge "Change colors to allow transport of more generic ints"
TreeHugger Robot [Mon, 11 Dec 2017 21:45:04 +0000 (21:45 +0000)]
Merge "Change colors to allow transport of more generic ints"

6 years agoReplace legacy-android-test with android.test.base
Paul Duffin [Mon, 11 Dec 2017 19:30:05 +0000 (19:30 +0000)]
Replace legacy-android-test with android.test.base

Bug: 30188076
Test: make checkbuild
Change-Id: Icb9baf6ed848c45ee8681c817c0fbce703fc1f33

6 years agoStop statically including legacy-android-test
Paul Duffin [Mon, 11 Dec 2017 15:50:05 +0000 (15:50 +0000)]
Stop statically including legacy-android-test

Statically including legacy-android-test leads to duplicate classes
which causes build time problems (with Proguard) and runtime problems on
older SDK versions. This change:
* Stops statically including legacy-android-test.
* Adds compile time dependencies on andoid.test.base, android.test.mock
  and android.test.runner where necessary.
* Adds <uses-library android:name="android.test.runner"/> to any
  affected package to ensure that the classes that were included by
  legacy-android-test are still available at runtime. That also adds a
  dependency on android.test.base and android.test.mock.

The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.

* test-runner/tests/Android.mk
    Added 'android.test.base' and 'android.test.mock' to
    LOCAL_JAVA_LIBRARIES because FrameworkTestRunnerTests's source
    depends on their classes and because of these changes they are no
    longer present on the compilation path.

    Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
    because statically including the classes in
    FrameworkTestRunnerTests results in duplicate classes which leads
    to build time and compile time issues.

Bug: 30188076
Test: make checkbuild
Change-Id: I52a91fe4f6016de8edf4753fbd2bc4d2e4c9f317

6 years agoBuild test-runner/tests
Paul Duffin [Mon, 11 Dec 2017 15:13:08 +0000 (15:13 +0000)]
Build test-runner/tests

Previous change e254526f0fe5d22681555bd4a00b7ee96fee1dc1 inadvertently
removed the line to include the tests/Android.mk file.

Bug: 30188076
Test: make checkbuild
Change-Id: Ia0ba14a70d2232d464420265a7a5f9c4dde3661b

6 years agoFix package manager tests
Todd Kennedy [Mon, 11 Dec 2017 21:26:14 +0000 (13:26 -0800)]
Fix package manager tests

Test: bit FrameworksServicesTests:com.android.server.pm.
Change-Id: I06089adcdf6cdaebc7176cab30254cc2cbd836eb

6 years agoMerge "Enable fast drawing for solid color nine patch rectangles"
TreeHugger Robot [Mon, 11 Dec 2017 21:14:44 +0000 (21:14 +0000)]
Merge "Enable fast drawing for solid color nine patch rectangles"

6 years agoAlways invoke scrim callback
Lucas Dupin [Mon, 11 Dec 2017 20:42:26 +0000 (12:42 -0800)]
Always invoke scrim callback

Callback needs to be invoked if we're trying to switch
to the same state, otherwise the window will never know
that we're done fading the keyguard.

Change-Id: I6779ecf18fbb23f621731d851ab343b82c3529e3
Fixes: 70481733
Fixes: 70392591
Test: Unlock by tapping on notification
Test: Unlock with pin, fingerprint
Test: Unlock with fingerprint when pulsing
Test: Unlock by tapping on notification when pulsing
Test: Open Settings from QS when Maps is SHOW_WHEN_LOCKED
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java

6 years agoMerge changes I2a808b9f,I8cbd4651
TreeHugger Robot [Mon, 11 Dec 2017 20:44:25 +0000 (20:44 +0000)]
Merge changes I2a808b9f,I8cbd4651

* changes:
  Implements queryNanoApps API
  Implements the new loadNanoApp/unloadNanoApp APIs

6 years agoMerge "Simplify IMMS#startVrInputMethodNoCheck a bit"
TreeHugger Robot [Mon, 11 Dec 2017 20:39:44 +0000 (20:39 +0000)]
Merge "Simplify IMMS#startVrInputMethodNoCheck a bit"

6 years agoincidentd: Removing history from batterystats dump.
Kweku Adams [Mon, 11 Dec 2017 20:30:35 +0000 (12:30 -0800)]
incidentd: Removing history from batterystats dump.

Bug: 65750808
Test: N/A
Change-Id: I4790b616791f68833196b50b76d3fd24faa8d46b

6 years agoFix testCursorIsOnRight test case
Seigo Nonaka [Mon, 11 Dec 2017 19:39:51 +0000 (11:39 -0800)]
Fix testCursorIsOnRight test case

This is partial revert of Ie932903845645e50cfa0cb428babb31a44babc47

The root cause is MeasuredText.getParagraphDir respect requsted text
direction even if it is an empty text. Ideally we don't need to create
MeasuredText object for empty string but for safety, reverted to the
original code.

Bug: 70384435
Test: bit FrameworksCoreTests:android.widget.EditorCursorTest
Change-Id: Id24405f476c50fa27743589a640281d96de1c9ce

6 years agoMerge "Fix issue #69820174: The size of /proc/meminfo is larger than its stored buffer."
TreeHugger Robot [Mon, 11 Dec 2017 20:24:26 +0000 (20:24 +0000)]
Merge "Fix issue #69820174: The size of /proc/meminfo is larger than its stored buffer."

6 years agoMerge "Restore volume expansion."
TreeHugger Robot [Mon, 11 Dec 2017 20:23:20 +0000 (20:23 +0000)]
Merge "Restore volume expansion."

6 years agoRemove LOCAL_STATIC_SHARED_LIBRARY usage
Paul Duffin [Mon, 11 Dec 2017 20:19:56 +0000 (20:19 +0000)]
Remove LOCAL_STATIC_SHARED_LIBRARY usage

That property is not used during the build so its usage can be safely
removed because it has no effect.

Bug: 30188076
Test: make checkbuild
Change-Id: Ie337426733c26ec12b344b8f4b7467aa7f9f63f3

6 years agoMerge "Fixed button bar alignment issue in RTL languages" am: 403c8f72e3 am: 2063b1f792
susanta.patra [Mon, 11 Dec 2017 20:00:17 +0000 (20:00 +0000)]
Merge "Fixed button bar alignment issue in RTL languages" am: 403c8f72e3 am: 2063b1f792
am: bf62defed2

Change-Id: I7113cb185049848344c01b857e8a8646e9967432

6 years agoTemporaly ignoring UID check when caller is a system app.
Felipe Leme [Mon, 11 Dec 2017 18:45:59 +0000 (10:45 -0800)]
Temporaly ignoring UID check when caller is a system app.

The Settings app runs some of its activities in another process, which would
crash it in some cases due to a recent security fix on Autofill.

This CL temporarily fixes the problem by skipping the security check when the
caller is a system app.

Test: manual verification using System.out statements, as it cannot be
      reproduced by CTS because the CTS app is an user app.
Bug: 70506888

Change-Id: I08e8a370d93d3473ec5e025afaf3bc6f456e0ab9

6 years agoChange colors to allow transport of more generic ints
Jason Monk [Sun, 10 Dec 2017 18:49:59 +0000 (13:49 -0500)]
Change colors to allow transport of more generic ints

This is in preparation for sliders, also add some hints/types that
will be used for sliders.

Test: atest cts/tests/tests/slice
Bug: 68378584
Change-Id: I8f6a8bb7c80854b51c421a437318975f517a2169

6 years agoMerge "Fixed button bar alignment issue in RTL languages" am: 403c8f72e3
susanta.patra [Mon, 11 Dec 2017 19:41:40 +0000 (19:41 +0000)]
Merge "Fixed button bar alignment issue in RTL languages" am: 403c8f72e3
am: 2063b1f792

Change-Id: I7493a720ef88f0b40ebed483d474a34ad9ee5da4

6 years agoMerge "Fix resizing when hardware renderer is off."
TreeHugger Robot [Mon, 11 Dec 2017 19:36:57 +0000 (19:36 +0000)]
Merge "Fix resizing when hardware renderer is off."

6 years agoMerge "Fixed button bar alignment issue in RTL languages"
susanta.patra [Mon, 11 Dec 2017 19:28:44 +0000 (19:28 +0000)]
Merge "Fixed button bar alignment issue in RTL languages"
am: 403c8f72e3

Change-Id: I8a14f71b20fd07ac3fd9025ba4e303a11709fe0a

6 years agoAdd Chromium ARC EventLogTags
Ricardo Quesada [Mon, 11 Dec 2017 19:26:53 +0000 (11:26 -0800)]
Add Chromium ARC EventLogTags

Add EventLogTags for org.chromium.arc package.

Small CL that enables org.chromium.arc EventLogTags in master.

Bug: 70513529
Test: compiled on marlin. did not generate any conflict. marlin worked
      Ok.

Change-Id: I4bda5985c337e0b3434774c4b6b11c83d3ac49ed

6 years agoMerge "Fixed button bar alignment issue in RTL languages"
Treehugger Robot [Mon, 11 Dec 2017 19:10:46 +0000 (19:10 +0000)]
Merge "Fixed button bar alignment issue in RTL languages"

6 years agoImplements queryNanoApps API
Arthur Ishiguro [Tue, 28 Nov 2017 00:26:34 +0000 (16:26 -0800)]
Implements queryNanoApps API

Bug: 67734082
Test: Run a test app to use the new query API, verify returns the
expected set of nanoapps
Change-Id: I2a808b9f80dd0d9168466f80b79ca1fa35da242c

6 years agoMerge "Fix system crash in certain jobs-removed cases"
Chris Tate [Mon, 11 Dec 2017 18:33:30 +0000 (18:33 +0000)]
Merge "Fix system crash in certain jobs-removed cases"