OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Follow some slice refactors"
TreeHugger Robot [Fri, 12 Jan 2018 18:17:26 +0000 (18:17 +0000)]
Merge "Follow some slice refactors"

6 years agoMerge "AAPT2: always compile 9patch files"
Izabela Orlowska [Fri, 12 Jan 2018 18:06:40 +0000 (18:06 +0000)]
Merge "AAPT2: always compile 9patch files"

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint" am: f0561142f3 am...
Sami Kyostila [Fri, 12 Jan 2018 15:03:22 +0000 (15:03 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint" am: f0561142f3 am: 8f919b8c5b
am: 0944889164  -s ours

Change-Id: I1dc35e30d0eb333a96a0e6b045ec7ebe43fb9a5b

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint" am: f0561142f3
Sami Kyostila [Fri, 12 Jan 2018 14:47:24 +0000 (14:47 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint" am: f0561142f3
am: 8f919b8c5b

Change-Id: Ic8e741ec39fc83cdd64ce313d5d66fdbaa1e7ebc

6 years agoAAPT2: always compile 9patch files
Izabela Orlowska [Fri, 12 Jan 2018 14:24:09 +0000 (14:24 +0000)]
AAPT2: always compile 9patch files

Test: existing tests
Bug: 70578281
Change-Id: I7ffcbdd664108348182e71d01b1680e2399ec37c

6 years agoFollow some slice refactors
Jason Monk [Wed, 10 Jan 2018 01:37:27 +0000 (20:37 -0500)]
Follow some slice refactors

Test: make
Bug: 68378561
Change-Id: Ifcf2b426f4984d8dda257b55e59d6da7e8d38237

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint"
Sami Kyostila [Fri, 12 Jan 2018 14:16:10 +0000 (14:16 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint"
am: f0561142f3

Change-Id: I4c707c676f03048b9130b140c25b3b9c58ec06ce

6 years agoMerge "BatteryStats: Remove dead code."
Narayan Kamath [Fri, 12 Jan 2018 13:18:57 +0000 (13:18 +0000)]
Merge "BatteryStats: Remove dead code."

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint"
Treehugger Robot [Fri, 12 Jan 2018 12:39:35 +0000 (12:39 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint"

6 years agoMerge "Add default value for new time zone picker flag."
Joachim Sauer [Fri, 12 Jan 2018 11:25:32 +0000 (11:25 +0000)]
Merge "Add default value for new time zone picker flag."

6 years agobase: Convert libs/services/Android.mk into a blueprint
Sami Kyostila [Thu, 11 Jan 2018 00:12:14 +0000 (00:12 +0000)]
base: Convert libs/services/Android.mk into a blueprint

Convert libs/services/Android.mk into a blueprint module so it can be
linked by other blueprint modules.

Test: mmm frameworks/base
Change-Id: I7acf9aa084d262a5aba5a58e45d9647e15c6dffb
Merged-In: I7acf9aa084d262a5aba5a58e45d9647e15c6dffb

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint"
Sami Kyostila [Fri, 12 Jan 2018 11:03:23 +0000 (11:03 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint"

6 years agoMerge "Make Linkify links clickable in nonselectable text."
Richard Ledley [Fri, 12 Jan 2018 10:40:20 +0000 (10:40 +0000)]
Merge "Make Linkify links clickable in nonselectable text."

6 years agoMerge "Readability improvements to the Vpn class with no logic changes" am: 2fef505e1...
Chalard Jean [Fri, 12 Jan 2018 09:11:07 +0000 (09:11 +0000)]
Merge "Readability improvements to the Vpn class with no logic changes" am: 2fef505e1e am: a3373bd461
am: 176adeaeda

Change-Id: I81ee1269db73a158eedcc41a6d426abfb9130783

6 years agoMerge "Readability improvements to the Vpn class with no logic changes" am: 2fef505e1e
Chalard Jean [Fri, 12 Jan 2018 08:46:39 +0000 (08:46 +0000)]
Merge "Readability improvements to the Vpn class with no logic changes" am: 2fef505e1e
am: a3373bd461

Change-Id: Ie8d38267581ab3e1bdf4b5373487a2375f8649ed

6 years agoMerge "Readability improvements to the Vpn class with no logic changes"
Chalard Jean [Fri, 12 Jan 2018 08:32:34 +0000 (08:32 +0000)]
Merge "Readability improvements to the Vpn class with no logic changes"
am: 2fef505e1e

Change-Id: I10be317ba9e6ac1fc6c30eda3db2c3b6b4adabe0

6 years agoMerge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711...
Hyunyoung Song [Fri, 12 Jan 2018 06:11:43 +0000 (06:11 +0000)]
Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e (cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)" into oc-dev am: 48df033607 am: 69d240d584 am: 3aab9561b2
am: 7ca6bb95de

Change-Id: I449dd9403f7f9eeb92def3ce7162be07971399e2

6 years agoMerge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711...
Hyunyoung Song [Fri, 12 Jan 2018 05:55:42 +0000 (05:55 +0000)]
Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e (cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)" into oc-dev am: 48df033607 am: 69d240d584
am: 3aab9561b2

Change-Id: I554c6f320ec32b0151097701a5ff3a8d48161d7f

6 years agoMerge "Big RecoverableKeyStoreLoader refactoring."
TreeHugger Robot [Fri, 12 Jan 2018 05:47:04 +0000 (05:47 +0000)]
Merge "Big RecoverableKeyStoreLoader refactoring."

6 years agoMerge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711...
Hyunyoung Song [Fri, 12 Jan 2018 05:44:25 +0000 (05:44 +0000)]
Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e (cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)" into oc-dev am: 48df033607
am: 69d240d584

Change-Id: I02bf540b41fd9fd026fbe0fad4069526664cd56f

6 years agoMerge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711...
Hyunyoung Song [Fri, 12 Jan 2018 05:31:38 +0000 (05:31 +0000)]
Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e (cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)" into oc-dev
am: 48df033607

Change-Id: Id2510b388bf4ed9cdd8853bc5594349df358f465

6 years agoMerge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711...
TreeHugger Robot [Fri, 12 Jan 2018 05:23:45 +0000 (05:23 +0000)]
Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e (cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)" into oc-dev

6 years agoMerge "Readability improvements to the Vpn class with no logic changes"
Chalard Jean [Fri, 12 Jan 2018 05:11:29 +0000 (05:11 +0000)]
Merge "Readability improvements to the Vpn class with no logic changes"

6 years agoMerge "Update comments and bump batterystats version to 30."
TreeHugger Robot [Fri, 12 Jan 2018 04:21:26 +0000 (04:21 +0000)]
Merge "Update comments and bump batterystats version to 30."

6 years agoMerge "Add more WTFs to investigate TIME_TICK issue"
TreeHugger Robot [Fri, 12 Jan 2018 04:00:58 +0000 (04:00 +0000)]
Merge "Add more WTFs to investigate TIME_TICK issue"

6 years agoMerge "Add strings for Wifi Wake enabled notifications."
TreeHugger Robot [Fri, 12 Jan 2018 03:18:15 +0000 (03:18 +0000)]
Merge "Add strings for Wifi Wake enabled notifications."

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to tristate" am: 5edae415b0 am: 75dc3e9cf4
Andreas Gampe [Fri, 12 Jan 2018 02:58:14 +0000 (02:58 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to tristate" am: 5edae415b0 am: 75dc3e9cf4
am: 07903b8ded

Change-Id: Idbfd80b32c27cfd2d24b37b5b868820e6ed7a283

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to tristate" am: 5edae415b0
Andreas Gampe [Fri, 12 Jan 2018 02:42:43 +0000 (02:42 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to tristate" am: 5edae415b0
am: 75dc3e9cf4

Change-Id: Ifbe406bda739b3689ca9ed95493a8eca7a9276ae

6 years agoBig RecoverableKeyStoreLoader refactoring.
Dmitry Dementyev [Thu, 11 Jan 2018 21:53:52 +0000 (13:53 -0800)]
Big RecoverableKeyStoreLoader refactoring.

The change is based on API review.
1) package and class names update
2) Builders for Parcelables.
3) Use Constant for RECOVER_KEYSTORE permission defined in
android.Manifest.

Bug: 66499222
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I49f80acbb6dc0eb6d049e18e8cb0d1aa326dadb2

6 years agoMerge "AAPT2: Allow compatible duplicate Attributes"
TreeHugger Robot [Fri, 12 Jan 2018 02:37:13 +0000 (02:37 +0000)]
Merge "AAPT2: Allow compatible duplicate Attributes"

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to tristate"
Andreas Gampe [Fri, 12 Jan 2018 02:32:15 +0000 (02:32 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to tristate"
am: 5edae415b0

Change-Id: Idef313e1a0c1a69434783da2441a84aa6e12409e

6 years agoMerge "DO NOT MERGE: Add ScreenObserver" am: 68ad3d119c -s ours am: da57c7d0e9
Jerry Zhang [Fri, 12 Jan 2018 02:22:34 +0000 (02:22 +0000)]
Merge "DO NOT MERGE: Add ScreenObserver" am: 68ad3d119c  -s ours am: da57c7d0e9
am: 6a233cce6f  -s ours

Change-Id: I7ed8f8fec7885d7f8a353d0120a05bbd7da85a1e

6 years agoMerge "DO NOT MERGE: Add ScreenObserver" am: 68ad3d119c -s ours
Jerry Zhang [Fri, 12 Jan 2018 01:48:01 +0000 (01:48 +0000)]
Merge "DO NOT MERGE: Add ScreenObserver" am: 68ad3d119c  -s ours
am: da57c7d0e9

Change-Id: Ifaab0c2d5265ccfd148edbc77668c67724de915e

6 years agoMerge "DO NOT MERGE: Add ScreenObserver"
Jerry Zhang [Fri, 12 Jan 2018 01:32:14 +0000 (01:32 +0000)]
Merge "DO NOT MERGE: Add ScreenObserver"
am: 68ad3d119c  -s ours

Change-Id: Icbc53b1d1c65b60dd128f4d3f3b4e59367f4a3a1

6 years agoMerge changes from topic "fixTurnOnScreen"
Chavi Weingarten [Fri, 12 Jan 2018 01:18:08 +0000 (01:18 +0000)]
Merge changes from topic "fixTurnOnScreen"

* changes:
  Remove TURN_ON_SCREEN from bulkUpdate and set mTurnOnScreen.
  Revert "Revert "Call prepareSurfaces in applySurfacesChangesTransaction""
  Revert "Revert "Revert "Revert "Avoid setting size/position on Transaction if not needed""""

6 years agoMerge "Delete WifiManager API - getConnectionStatistics"
Oscar Shu [Fri, 12 Jan 2018 01:12:36 +0000 (01:12 +0000)]
Merge "Delete WifiManager API - getConnectionStatistics"

6 years agoMerge "pull absolute value for cpu time per frequency."
TreeHugger Robot [Fri, 12 Jan 2018 00:54:34 +0000 (00:54 +0000)]
Merge "pull absolute value for cpu time per frequency."

6 years agoMerge "Mark current recoverable keystore snapshot as outdated in a few events:"
Dmitry Dementyev [Fri, 12 Jan 2018 00:46:34 +0000 (00:46 +0000)]
Merge "Mark current recoverable keystore snapshot as outdated in a few events:"

6 years agoUpdate comments and bump batterystats version to 30.
zhouwenjie [Thu, 11 Jan 2018 23:21:27 +0000 (15:21 -0800)]
Update comments and bump batterystats version to 30.

Bug: 70808931
Bug: 31866283
Test: build Android
Change-Id: I8238c3135e79442ede97b87933dab85d8ff71134

6 years agoMerge "Make setSimPowerState systemAPI"
Grace Chen [Fri, 12 Jan 2018 00:24:06 +0000 (00:24 +0000)]
Merge "Make setSimPowerState systemAPI"

6 years agoMerge "Add new config for number of physical SIM slots on the device." am: 61fa313810...
Amit Mahajan [Fri, 12 Jan 2018 00:16:13 +0000 (00:16 +0000)]
Merge "Add new config for number of physical SIM slots on the device." am: 61fa313810 am: 6d9869afad
am: fbee406cac  -s ours

Change-Id: I024679d585b88cb121141ad5caf62d97efb0eb58

6 years agoMerge "Fix for bad merge between ag/2455811 and ag/3424187"
Phil Weaver [Fri, 12 Jan 2018 00:10:33 +0000 (00:10 +0000)]
Merge "Fix for bad merge between ag/2455811 and ag/3424187"

6 years agoMerge "Make LTE signal bar thresholds customizable with carrier configuration"
TreeHugger Robot [Fri, 12 Jan 2018 00:04:33 +0000 (00:04 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration"

6 years agoFix for bad merge between ag/2455811 and ag/3424187
Eugene Susla [Fri, 12 Jan 2018 00:02:22 +0000 (16:02 -0800)]
Fix for bad merge between ag/2455811 and ag/3424187

Test: presubmit
Change-Id: Ib0b5d54cf94e2998eeb661fc57e9d0bfb2e1afdc

6 years agoRemove TURN_ON_SCREEN from bulkUpdate and set mTurnOnScreen.
chaviw [Thu, 11 Jan 2018 19:24:08 +0000 (11:24 -0800)]
Remove TURN_ON_SCREEN from bulkUpdate and set mTurnOnScreen.

If TURN_ON_SCREEN is added to the bulkUpdate flags, there's a
possibility it can get cleared before it's actually used. Instead,
just set the mService.mTurnOnScreen flag directly so it only gets
cleared when it's used.

Test: Windows with turnOnScreen flag work correctly now.
Test: ActivityManagerActivityVisibilityTests.testTurnScreenOnActivity
Test: go/wm-smoke
Fixes: 71789344

Change-Id: I7aba2bb8c7c960216df79b59b11e6efb552ed2cb

6 years agoMerge "Add new config for number of physical SIM slots on the device." am: 61fa313810
Amit Mahajan [Fri, 12 Jan 2018 00:01:33 +0000 (00:01 +0000)]
Merge "Add new config for number of physical SIM slots on the device." am: 61fa313810
am: 6d9869afad

Change-Id: Ifed6cc6b982f322a479882b6465d1b473faaee65

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to tristate"
Treehugger Robot [Thu, 11 Jan 2018 23:52:46 +0000 (23:52 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to tristate"

6 years agoMerge "DO NOT MERGE: Add ScreenObserver"
Jerry Zhang [Thu, 11 Jan 2018 23:50:34 +0000 (23:50 +0000)]
Merge "DO NOT MERGE: Add ScreenObserver"

6 years agoMerge "Add new config for number of physical SIM slots on the device."
Amit Mahajan [Thu, 11 Jan 2018 23:50:28 +0000 (23:50 +0000)]
Merge "Add new config for number of physical SIM slots on the device."
am: 61fa313810

Change-Id: I85e549568fd7e6cd2397d2162e53308b89f7c1b0

6 years agoAdd more WTFs to investigate TIME_TICK issue
Makoto Onuki [Thu, 11 Jan 2018 00:12:39 +0000 (16:12 -0800)]
Add more WTFs to investigate TIME_TICK issue

Bug: 70670726
Test: Manual test

Change-Id: Id41431be777c69e553e0d51906ec5b48401f7bd3

6 years agoMerge "Merge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520 am: edc14...
Android Build Merger (Role) [Thu, 11 Jan 2018 23:23:56 +0000 (23:23 +0000)]
Merge "Merge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520 am: edc14bd3c4 am: 613e01227b  -s ours"

6 years agoMerge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520 am: edc14bd3c4
Holly Jiuyu Sun [Thu, 11 Jan 2018 23:22:38 +0000 (23:22 +0000)]
Merge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520 am: edc14bd3c4
am: 613e01227b  -s ours

Change-Id: Iadf260311fc79ed49bbd39f1f3b3a0bed9c0ddc6

6 years agoMerge "Moves instant app install checks to install time"
TreeHugger Robot [Thu, 11 Jan 2018 23:22:30 +0000 (23:22 +0000)]
Merge "Moves instant app install checks to install time"

6 years agoMerge "Make Bluetooth constants used by gmscore a system api" am: ff9bc3a88c am:...
Selim Gurun [Thu, 11 Jan 2018 23:16:04 +0000 (23:16 +0000)]
Merge "Make Bluetooth constants used by gmscore a system api" am: ff9bc3a88c am: 6dc20d40fd
am: 54087cb8cb

Change-Id: I1a733b7f2567ff7821436d2c331a0a0cd8276e91

6 years agoMerge changes I0b5152d7,I00a6f1cd
TreeHugger Robot [Thu, 11 Jan 2018 23:11:29 +0000 (23:11 +0000)]
Merge changes I0b5152d7,I00a6f1cd

* changes:
  Temporary debugging
  Remove scanPackageInternal()

6 years agoMerge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520
Holly Jiuyu Sun [Thu, 11 Jan 2018 23:11:05 +0000 (23:11 +0000)]
Merge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520
am: edc14bd3c4

Change-Id: I5ac16981ac7ca4d492387a340f10a34b8ab1d804

6 years agoMerge "Make Bluetooth constants used by gmscore a system api" am: ff9bc3a88c
Selim Gurun [Thu, 11 Jan 2018 23:02:45 +0000 (23:02 +0000)]
Merge "Make Bluetooth constants used by gmscore a system api" am: ff9bc3a88c
am: 6dc20d40fd

Change-Id: Ic7d15fe855d7e3e6b3c9444e0641e2e141181154

6 years agoMerge "Move A11y events throttling away from View(RootImpl)"
TreeHugger Robot [Thu, 11 Jan 2018 22:57:35 +0000 (22:57 +0000)]
Merge "Move A11y events throttling away from View(RootImpl)"

6 years agoMerge "Add EuiccCardManager and EuiccCardController."
Holly Jiuyu Sun [Thu, 11 Jan 2018 22:57:10 +0000 (22:57 +0000)]
Merge "Add EuiccCardManager and EuiccCardController."
am: ec25ea1520

Change-Id: I2969dfc9d6b7b46d0747b18f8c3675d30fce2710

6 years agoMerge "Make Bluetooth constants used by gmscore a system api"
Selim Gurun [Thu, 11 Jan 2018 22:53:31 +0000 (22:53 +0000)]
Merge "Make Bluetooth constants used by gmscore a system api"
am: ff9bc3a88c

Change-Id: If88978450234f119845a2e035fe31978e25a0189

6 years agoMerge "Add rotate suggestion button by default to left side of navbar"
Mike Digman [Thu, 11 Jan 2018 22:44:41 +0000 (22:44 +0000)]
Merge "Add rotate suggestion button by default to left side of navbar"

6 years agoMerge "Send rotation suggestions to System UI when rotation locked"
Mike Digman [Thu, 11 Jan 2018 22:44:08 +0000 (22:44 +0000)]
Merge "Send rotation suggestions to System UI when rotation locked"

6 years agoMerge "Add new config for number of physical SIM slots on the device."
Treehugger Robot [Thu, 11 Jan 2018 22:43:10 +0000 (22:43 +0000)]
Merge "Add new config for number of physical SIM slots on the device."

6 years agoMerge "Implement harmful app warning at activity launch"
Ben Gruver [Thu, 11 Jan 2018 22:20:38 +0000 (22:20 +0000)]
Merge "Implement harmful app warning at activity launch"

6 years agoMake LTE signal bar thresholds customizable with carrier configuration
Kitta Koutarou [Fri, 1 Dec 2017 10:19:49 +0000 (19:19 +0900)]
Make LTE signal bar thresholds customizable with carrier configuration

Move config_lteDbmThresholds to KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY
to control the LTE signal bar thresholds by carrier configuration.

Test: manual - Checked that the LTE signal bar thresholds can be
controlled by carrier config.
Test: auto - Confirmed that run
ServiceStateTrackerTest#testSignalStrength and it has no problem.
Bug: 70698348
Change-Id: Ia613663956ff00fbf299dcf69113733eae5a3458

6 years agoMerge "Log attribution to statsd for pushed atoms."
TreeHugger Robot [Thu, 11 Jan 2018 21:57:40 +0000 (21:57 +0000)]
Merge "Log attribution to statsd for pushed atoms."

6 years agoAAPT2: Allow compatible duplicate Attributes
Adam Lesinski [Sat, 9 Dec 2017 00:06:10 +0000 (16:06 -0800)]
AAPT2: Allow compatible duplicate Attributes

If a resource XML file defines two compatible Attributes, they should
be merged without throwing an error. Ex:

<declare-styleable>
  <attr name="conflict" format="string" />
</declare-styleable>

<declare-styleable>
  <attr name="conflict" format="string|reference" />
</declare-styleable>

In this case, string|reference and string are the same, so these should
merge correctly.

Bug: 65699599
Test: make aapt2_tests
Test: make AaptBasicTest
Change-Id: I7b0f956d2332f7f0b458acd59ca0a606b2cfdf95

6 years agoMerge "make statsd run in its own uid"
TreeHugger Robot [Thu, 11 Jan 2018 21:53:00 +0000 (21:53 +0000)]
Merge "make statsd run in its own uid"

6 years agoMerge "A11y support for titles of "panes""
Phil Weaver [Thu, 11 Jan 2018 21:36:44 +0000 (21:36 +0000)]
Merge "A11y support for titles of "panes""

6 years agoMerge "Add PhoneWindowManager proto definitions"
TreeHugger Robot [Thu, 11 Jan 2018 21:31:08 +0000 (21:31 +0000)]
Merge "Add PhoneWindowManager proto definitions"

6 years agoMerge "Improve correctness of SkiaCanvas::drawLayoutOnPath"
TreeHugger Robot [Thu, 11 Jan 2018 21:28:25 +0000 (21:28 +0000)]
Merge "Improve correctness of SkiaCanvas::drawLayoutOnPath"

6 years agoMerge "Add new config for number of physical SIM slots on the device."
TreeHugger Robot [Thu, 11 Jan 2018 21:21:36 +0000 (21:21 +0000)]
Merge "Add new config for number of physical SIM slots on the device."

6 years agoTemporary debugging
Todd Kennedy [Thu, 11 Jan 2018 00:09:52 +0000 (16:09 -0800)]
Temporary debugging

This is only temporary to catch any possible issues with
the refactoring.

Bug: 63539144
Test: Manual
Change-Id: I0b5152d7d39d8ce64da06f84a4b3bf3fbb5b29a5

6 years agoRemove scanPackageInternal()
Todd Kennedy [Thu, 4 Jan 2018 21:27:49 +0000 (13:27 -0800)]
Remove scanPackageInternal()

The final, major refactoring for this release. Replace
scanPackageInternal() with addForInit(). This new method delegates
all modifications of the package setting object to the existing
scanPackageOnly() method.

There is one block of code where we modify the ApplicationInfo
object in the PackageParser.Package. It could be argued [and I would
agree] that the ApplicationInfo doesn't belong in the Pacakge
object at all. But, regardless, updating this info is being done
in addForInit(). It would be ideal if we could push this down to
scanPackageOnly(). Unfortunately, we expect the ApplicationInfo
to be updated correctly prior to scanPackageOnly().

Bug: 63539144
Test: Manual.
Test: w/ base image
Test: 1] upgrade OTA
Test: 2] clean flash
Test: w/ image containing additional applications
Test: 1] add a system application
Test: 2] add a system application w/ version installed on /data. version on /data has greater version code
Test: 3] add a system application w/ version installed on /data. version on /data has lower version code
Test: 4] add a system application w/ version installed on /data. version on /data has signature mis-match
Test: 5] remove a system application
Test: 6] remove a system application w/ upgrade installed on /data
Test: 7] update a system application
Test: 8] update a system application w/ upgrade installed on /data. version on /data has greater version code
Test: 9] update a system application w/ upgrade installed on /data. version on /data has lower version code
Change-Id: I00a6f1cd056d9e5ee81154a522b7d50ea9174273

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1...
Greg Hackmann [Thu, 11 Jan 2018 21:15:31 +0000 (21:15 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev am: f523fe4fa7
am: 2f2cad50d5

Change-Id: Ic27001d02c252bbddc8d4778290b1d542dd9d374

6 years agoMerge "Overcome disconnect during oem override" am: 5e093d997a am: 961cc1867b
Badhri Jagan Sridharan [Thu, 11 Jan 2018 21:06:11 +0000 (21:06 +0000)]
Merge "Overcome disconnect during oem override" am: 5e093d997a am: 961cc1867b
am: afd07cb040

Change-Id: I7ae6b814093c2987d890688aefae53559072c771

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev
Greg Hackmann [Thu, 11 Jan 2018 21:04:54 +0000 (21:04 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev
am: f523fe4fa7

Change-Id: Ic4f2a05791a9ae375bc0acb220c48e78f7d6cea1

6 years agoMerge "Overcome disconnect during oem override" am: 5e093d997a
Badhri Jagan Sridharan [Thu, 11 Jan 2018 20:57:26 +0000 (20:57 +0000)]
Merge "Overcome disconnect during oem override" am: 5e093d997a
am: 961cc1867b

Change-Id: I2e34b0795448cee1aca306202f61e491c80bd78e

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev
TreeHugger Robot [Thu, 11 Jan 2018 20:50:20 +0000 (20:50 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev

6 years agoMerge "Overcome disconnect during oem override"
Badhri Jagan Sridharan [Thu, 11 Jan 2018 20:49:49 +0000 (20:49 +0000)]
Merge "Overcome disconnect during oem override"
am: 5e093d997a

Change-Id: Ie6b379df14d67123f5644b8febeae4a7f1c22b0e

6 years agoMerge "Add EuiccCardManager and EuiccCardController."
Holly Jiuyu Sun [Thu, 11 Jan 2018 20:44:33 +0000 (20:44 +0000)]
Merge "Add EuiccCardManager and EuiccCardController."

6 years agoMerge "Concise toString for A11yEvent"
TreeHugger Robot [Thu, 11 Jan 2018 20:38:49 +0000 (20:38 +0000)]
Merge "Concise toString for A11yEvent"

6 years agoAdd strings for Wifi Wake enabled notifications.
Eric Schwarzenbach [Thu, 11 Jan 2018 20:28:18 +0000 (12:28 -0800)]
Add strings for Wifi Wake enabled notifications.

Bug: 64094365
Test: n/a
Change-Id: I01ac0275bf0518ef4422b80a07495e61b0824f91

6 years agoMerge "Make Bluetooth constants used by gmscore a system api"
Treehugger Robot [Thu, 11 Jan 2018 20:22:05 +0000 (20:22 +0000)]
Merge "Make Bluetooth constants used by gmscore a system api"

6 years agoImplement harmful app warning at activity launch
Ben Gruver [Thu, 7 Dec 2017 21:45:08 +0000 (13:45 -0800)]
Implement harmful app warning at activity launch

Bug: 63909431
Test: manual

Change-Id: I8a5497421cb8130af8cdd5129b0f6e1707a01e36

6 years agoAdd rotate suggestion button by default to left side of navbar
Mike Digman [Thu, 11 Jan 2018 20:10:32 +0000 (12:10 -0800)]
Add rotate suggestion button by default to left side of navbar

Icons, animations are preliminary
Test: manual

Change-Id: If8a6942c1e78f6cfb5aae6d78e6acfa2b0bb6566

6 years agoMerge "Add support for notification of LTE to WIFI handover for video calls." into...
Tyler Gunn [Thu, 11 Jan 2018 20:05:05 +0000 (20:05 +0000)]
Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev am: d29f6f12f5
am: 2175e526a9

Change-Id: I452e8da39e029d69ba8b1be79e54c2e866946b5b

6 years agomake statsd run in its own uid
Yao Chen [Tue, 9 Jan 2018 18:33:15 +0000 (10:33 -0800)]
make statsd run in its own uid

+ Assign permission android.permission.STATSCOMPANION to statsd
+ Fixes in StatsCompanionService to allow statsd to get uid mapping

Test: manual
Change-Id: I3e6ca79eefed7f93a4588578c156321c4c278fd3

6 years agoMerge "Add support for notification of LTE to WIFI handover for video calls." into...
Tyler Gunn [Thu, 11 Jan 2018 19:52:38 +0000 (19:52 +0000)]
Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev
am: d29f6f12f5

Change-Id: Id99d2c524cb4080ebecff571a4117c0b319b70e8

6 years agoImprove correctness of SkiaCanvas::drawLayoutOnPath
Stan Iliev [Wed, 10 Jan 2018 21:06:04 +0000 (16:06 -0500)]
Improve correctness of SkiaCanvas::drawLayoutOnPath

Align glyph to a tangent touching SkPath in the midle of the
symbol. Previously wrong tangent crossing the path at the
beginning of the glyph was used.

Test: Ran the test app attached to the bug
Bug: 71525360
Change-Id: I310394d11e185de314f66a6b332f804188e42ed9

6 years agoMerge "Add support for notification of LTE to WIFI handover for video calls." into...
Tyler Gunn [Thu, 11 Jan 2018 19:43:12 +0000 (19:43 +0000)]
Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev

6 years agoDO NOT MERGE: Add ScreenObserver
Jerry Zhang [Thu, 11 Jan 2018 18:46:13 +0000 (10:46 -0800)]
DO NOT MERGE: Add ScreenObserver

ScreenObserver allows system components to
monitor the screen lock state.

Bug: 68054513
Test: manual
Change-Id: I50f4690f68443f676d17e93efb1b7cb0857abd9e

6 years agoMoves instant app install checks to install time
Patrick Baumann [Thu, 4 Jan 2018 20:17:22 +0000 (12:17 -0800)]
Moves instant app install checks to install time

This is the final change needed to remove the PARSE_IS_EPHEMERAL
flag and do instant app validation at install time instead of at
parse time.

Fixes: 68860689
Test: manual - Installed valid and invalid instant apps
Change-Id: I4d2de8e09d53e2fc3397e60700e7fa4d31b7bb29

6 years agoAdd PhoneWindowManager proto definitions
Vishnu Nair [Thu, 11 Jan 2018 16:42:54 +0000 (08:42 -0800)]
Add PhoneWindowManager proto definitions

Bug: 64831661

Test: verified proto dump from winscope
Test: atest FrameworksServicesTests:com.android.server.policy.PhoneWindowManagerTest
Test: atest FrameworksServicesTests:com.android.server.policy.PhoneWindowManagerLayoutTest

Change-Id: I7b0f081d15cfc63d7565431b672bd8be81583aa5

6 years agoRevert "Revert "Call prepareSurfaces in applySurfacesChangesTransaction""
chaviw [Thu, 11 Jan 2018 19:23:11 +0000 (11:23 -0800)]
Revert "Revert "Call prepareSurfaces in applySurfacesChangesTransaction""

This reverts commit ee250367480746dde8275c52810abacaed165c11.

6 years agoRevert "Revert "Revert "Revert "Avoid setting size/position on Transaction if not...
chaviw [Thu, 11 Jan 2018 19:22:39 +0000 (11:22 -0800)]
Revert "Revert "Revert "Revert "Avoid setting size/position on Transaction if not needed""""

This reverts commit b38a6704e09b80b9b4fe4f3ad0d16ad6179f612e.

6 years agoMerge "Allow forcing target SDK to current dev"
TreeHugger Robot [Thu, 11 Jan 2018 19:14:10 +0000 (19:14 +0000)]
Merge "Allow forcing target SDK to current dev"

6 years agoMerge "Use the public OPSTR of the BIND_ACCESSIBILITY_SERVICE app op."
Peter Visontay [Thu, 11 Jan 2018 19:12:53 +0000 (19:12 +0000)]
Merge "Use the public OPSTR of the BIND_ACCESSIBILITY_SERVICE app op."

6 years agoMerge "Wire up zram setting, system property"
Daniel Colascione [Thu, 11 Jan 2018 19:03:46 +0000 (19:03 +0000)]
Merge "Wire up zram setting, system property"

6 years agoMerge "Move signing data into SigningDetails container"
TreeHugger Robot [Thu, 11 Jan 2018 19:01:13 +0000 (19:01 +0000)]
Merge "Move signing data into SigningDetails container"