OSDN Git Service

android-x86/frameworks-base.git
6 years agoRelax checks on dynamic permissions.
Jeff Sharkey [Tue, 17 Oct 2017 21:29:41 +0000 (15:29 -0600)]
Relax checks on dynamic permissions.

We'll have to circle back to enforce this once we do more
investigation.

Test: none
Bug: 67371907
Change-Id: Ib2f73b6e52d56cf080f3a6f224ab4bf452d91a48

6 years agoMerge "[Magnifier - 4] Batch of tweaks"
TreeHugger Robot [Mon, 16 Oct 2017 16:10:19 +0000 (16:10 +0000)]
Merge "[Magnifier - 4] Batch of tweaks"

6 years agoMerge "Fix regression from ag/2987716"
Winson Chung [Mon, 16 Oct 2017 16:07:09 +0000 (16:07 +0000)]
Merge "Fix regression from ag/2987716"

6 years ago[Magnifier - 4] Batch of tweaks
Andrei Stingaceanu [Fri, 13 Oct 2017 15:41:28 +0000 (16:41 +0100)]
[Magnifier - 4] Batch of tweaks

* magnifier zoom from 1.5 to 1.25
* max scale from 10 to 4
* magnifier shows over the text if there is no more space above
  instead of showing underneath the cursor
* paused the blink while showing the magnifier and resumed when
  dismissing

Bug: 63531115
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: manual test that shows the magnifier working
Change-Id: Ief3e0b7dc9e287e7dd1a9102548b1861598b69c4

6 years agoMerge "Import translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf ...
Bill Yi [Mon, 16 Oct 2017 06:33:32 +0000 (06:33 +0000)]
Merge "Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours am: b597ff837c  -s ours am: 9336d62dcf  -s ours" into oc-mr1-dev-plus-aosp
am: 28aeb5185f  -s ours

Change-Id: I35663e31a17361df371c34f04665085d6d20ac27

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf -s ours...
Bill Yi [Mon, 16 Oct 2017 06:26:28 +0000 (06:26 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours am: b597ff837c  -s ours am: 9848c0af2c  -s ours
am: ffc344e708  -s ours

Change-Id: Ice35ca305f98ed3d1b9002fd22a96a6f7960e472

6 years agoMerge "Import translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf ...
Android Build Merger (Role) [Mon, 16 Oct 2017 06:21:11 +0000 (06:21 +0000)]
Merge "Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours am: b597ff837c  -s ours am: 9336d62dcf  -s ours" into oc-mr1-dev-plus-aosp

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf -s ours...
Bill Yi [Mon, 16 Oct 2017 06:17:10 +0000 (06:17 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours am: b597ff837c  -s ours
am: 9336d62dcf  -s ours

Change-Id: Ic8d359bb94ed77d0f2f868a9d0705ecbe694559c

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf -s ours...
Bill Yi [Mon, 16 Oct 2017 06:16:00 +0000 (06:16 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours am: b597ff837c  -s ours
am: 9848c0af2c  -s ours

Change-Id: I1797f216c7790fc672f957c109ae710886d2bd83

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf -s ours...
Bill Yi [Mon, 16 Oct 2017 06:07:55 +0000 (06:07 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours
am: b597ff837c  -s ours

Change-Id: I23c9353f7d29150b47822f1a524b46a835e6ba77

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf -s ours...
Bill Yi [Mon, 16 Oct 2017 06:07:55 +0000 (06:07 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours am: 7e3f20e249  -s ours
am: b597ff837c  -s ours

Change-Id: I4372cfb4a6dc243e9915d40f147a38119e4d1666

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours am: 43b03fbacf -s ours
Bill Yi [Mon, 16 Oct 2017 05:59:25 +0000 (05:59 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours am: 43b03fbacf  -s ours
am: 7e3f20e249  -s ours

Change-Id: I81957a7142c7ee4f702e4895bdfebdb190750367

6 years agoImport translations. DO NOT MERGE am: b081f1e809 -s ours
Bill Yi [Mon, 16 Oct 2017 05:48:58 +0000 (05:48 +0000)]
Import translations. DO NOT MERGE am: b081f1e809  -s ours
am: 43b03fbacf  -s ours

Change-Id: If3ad876fdb726d199a8ccc26a1808f358377e44b

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 16 Oct 2017 05:41:21 +0000 (05:41 +0000)]
Import translations. DO NOT MERGE
am: b081f1e809  -s ours

Change-Id: I8589e76f2f5197beefddb2027261e290932d268f

6 years agoMerge "Removes redundant RefBase inheritance."
TreeHugger Robot [Sun, 15 Oct 2017 20:37:21 +0000 (20:37 +0000)]
Merge "Removes redundant RefBase inheritance."

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 15 Oct 2017 20:13:44 +0000 (13:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id17cd2d22442f7bf1221be8f98164189757695a4
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev am:...
Pankaj Kanwar [Sun, 15 Oct 2017 06:07:33 +0000 (06:07 +0000)]
Merge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev am: 7c18f52452
am: 5c0982c604

Change-Id: Ib075510a7e3f7ad5fe17f7dea065f1dd42328d16

6 years agoMerge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev
Pankaj Kanwar [Sun, 15 Oct 2017 04:21:34 +0000 (04:21 +0000)]
Merge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev
am: 7c18f52452

Change-Id: I12c3b3e3a0d4ad4919df5daeb07367f6197ffa93

6 years agoMerge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev
Pankaj Kanwar [Sun, 15 Oct 2017 04:03:46 +0000 (04:03 +0000)]
Merge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev

6 years agoMerge "Update locked_region_code_injection tool to ASM 6.0-BETA." am: 26817938f6...
Tobias Thierer [Sun, 15 Oct 2017 03:54:47 +0000 (03:54 +0000)]
Merge "Update locked_region_code_injection tool to ASM 6.0-BETA." am: 26817938f6 am: e69366ff27 am: 8e60defe4b
am: b5a80794bb

Change-Id: I4508affe416099033cc497db5fb1894e48a9726e

6 years agoMerge "Add change to show Invalid card when erroneous card is inserted." am: 4bc825ae...
Wileen Chiu [Sun, 15 Oct 2017 03:46:49 +0000 (03:46 +0000)]
Merge "Add change to show Invalid card when erroneous card is inserted." am: 4bc825aecc am: 8279494137 am: 9778539847
am: 8463b91dca

Change-Id: I01a3b8fe7e3a679f560a2e2d03d39b1d0b58fa2f

6 years agoMerge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum" am: d098328585 am...
Hugo Benichi [Sun, 15 Oct 2017 03:39:01 +0000 (03:39 +0000)]
Merge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum" am: d098328585 am: 104b2bcc79 am: 4071792cce
am: e4cf6229f7

Change-Id: I65c210d8f0ee27540339233d45def0c464920aea

6 years agoMerge "Convert ext.jar to Android.bp" am: 42156f3e56 am: 8feea076a2 am: faededa6af
Colin Cross [Sun, 15 Oct 2017 03:30:06 +0000 (03:30 +0000)]
Merge "Convert ext.jar to Android.bp" am: 42156f3e56 am: 8feea076a2 am: faededa6af
am: 3f6bef874e

Change-Id: Icb72ff3997c59a605f7339014b48c8eb4ee13795

6 years agoMerge "Update locked_region_code_injection tool to ASM 6.0-BETA." am: 26817938f6...
Tobias Thierer [Sun, 15 Oct 2017 03:18:47 +0000 (03:18 +0000)]
Merge "Update locked_region_code_injection tool to ASM 6.0-BETA." am: 26817938f6 am: e69366ff27
am: 8e60defe4b

Change-Id: Ic425066feb4288c37154d8b0c487aeda93a6ac59

6 years agoMerge "Add property reading logic for dalvik.vm.madvise-random" into oc-mr1-dev am...
Mathieu Chartier [Sun, 15 Oct 2017 03:17:12 +0000 (03:17 +0000)]
Merge "Add property reading logic for dalvik.vm.madvise-random" into oc-mr1-dev am: a354ec973d
am: ecc8bdc227

Change-Id: I401df22e24210ac7aa47f5a8341f657403ebdece

6 years agoMerge "Add change to show Invalid card when erroneous card is inserted." am: 4bc825ae...
Wileen Chiu [Sun, 15 Oct 2017 03:11:37 +0000 (03:11 +0000)]
Merge "Add change to show Invalid card when erroneous card is inserted." am: 4bc825aecc am: 8279494137
am: 9778539847

Change-Id: Ie5915e645a4e7a35fd934f54d6d3bf25ad4fcca3

6 years agoMerge "Update CtsShim with multiArch" into oc-mr1-dev am: 0d2d6b6a86
Winston Man [Sun, 15 Oct 2017 03:08:12 +0000 (03:08 +0000)]
Merge "Update CtsShim with multiArch" into oc-mr1-dev am: 0d2d6b6a86
am: 865c5fef38

Change-Id: I6691bb658052abcd3c8332019558b056312acb8c

6 years agoMerge "Only show dialog if top app is killed" into oc-mr1-dev am: 4018898ae4
Zhi An Ng [Sun, 15 Oct 2017 03:03:06 +0000 (03:03 +0000)]
Merge "Only show dialog if top app is killed" into oc-mr1-dev am: 4018898ae4
am: 22681dc903

Change-Id: I61d2d40eb473022222ca1e6aff4c5a2487dec29f

6 years agoMerge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum" am: d098328585 am...
Hugo Benichi [Sun, 15 Oct 2017 02:53:58 +0000 (02:53 +0000)]
Merge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum" am: d098328585 am: 104b2bcc79
am: 4071792cce

Change-Id: Id5ee94ae9a7e2a92289f2b25b0d5c0f0b5b7381a

6 years agoMerge "Update locked_region_code_injection tool to ASM 6.0-BETA." am: 26817938f6
Tobias Thierer [Sun, 15 Oct 2017 02:53:45 +0000 (02:53 +0000)]
Merge "Update locked_region_code_injection tool to ASM 6.0-BETA." am: 26817938f6
am: e69366ff27

Change-Id: Ieac3aadb7674ec63d4eed3d4d52f833e46d4a3a0

6 years agoMerge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev am: 14ba6...
Abodunrinwa Toki [Sun, 15 Oct 2017 02:49:47 +0000 (02:49 +0000)]
Merge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev am: 14ba6e10c0
am: 2a86655b42  -s ours

Change-Id: Id0c3f6299e09e13811426e787893417dcc48ef17

6 years agoMerge "Add change to show Invalid card when erroneous card is inserted." am: 4bc825aecc
Wileen Chiu [Sun, 15 Oct 2017 02:47:23 +0000 (02:47 +0000)]
Merge "Add change to show Invalid card when erroneous card is inserted." am: 4bc825aecc
am: 8279494137

Change-Id: Ibd676d4d0f7b8d285c8c01769dc0686358f3a13d

6 years agoMerge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev...
Mathieu Chartier [Sun, 15 Oct 2017 02:43:19 +0000 (02:43 +0000)]
Merge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev am: 5b4d0e0404
am: ba714b38a2

Change-Id: I4d827ef35fe511adb05ffca18e7da0d06218d414

6 years agoMerge "Convert ext.jar to Android.bp" am: 42156f3e56 am: 8feea076a2
Colin Cross [Sun, 15 Oct 2017 02:43:13 +0000 (02:43 +0000)]
Merge "Convert ext.jar to Android.bp" am: 42156f3e56 am: 8feea076a2
am: faededa6af

Change-Id: I9e640ea1f6175306c74075e25485bce622d6ca52

6 years agoMerge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum" am: d098328585
Hugo Benichi [Sun, 15 Oct 2017 02:38:58 +0000 (02:38 +0000)]
Merge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum" am: d098328585
am: 104b2bcc79

Change-Id: Ie935c7df75b95afff7b2817df35afe4798e91813

6 years agoMerge "Update locked_region_code_injection tool to ASM 6.0-BETA."
Tobias Thierer [Sun, 15 Oct 2017 02:38:05 +0000 (02:38 +0000)]
Merge "Update locked_region_code_injection tool to ASM 6.0-BETA."
am: 26817938f6

Change-Id: I193d04b7a4ebf0f39f60ac275a7eeb93499ded9d

6 years agoMerge "Add change to show Invalid card when erroneous card is inserted."
Wileen Chiu [Sun, 15 Oct 2017 02:32:25 +0000 (02:32 +0000)]
Merge "Add change to show Invalid card when erroneous card is inserted."
am: 4bc825aecc

Change-Id: I89a5b529033c30defacc715ef3c8310500e5fae7

6 years agoMerge "Add property reading logic for dalvik.vm.madvise-random" into oc-mr1-dev
Mathieu Chartier [Sun, 15 Oct 2017 02:31:19 +0000 (02:31 +0000)]
Merge "Add property reading logic for dalvik.vm.madvise-random" into oc-mr1-dev
am: a354ec973d

Change-Id: Ic75411af539a08e215b5c9e076688fd39b46569d

6 years agoMerge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum"
Hugo Benichi [Sun, 15 Oct 2017 02:24:52 +0000 (02:24 +0000)]
Merge "Fix ConnectivityServiceTest#testNetworkCallbackMaximum"
am: d098328585

Change-Id: I1cbe45eb339903630675713d287e3375c7c98e62

6 years agoMerge "Update CtsShim with multiArch" into oc-mr1-dev
Winston Man [Sun, 15 Oct 2017 02:22:06 +0000 (02:22 +0000)]
Merge "Update CtsShim with multiArch" into oc-mr1-dev
am: 0d2d6b6a86

Change-Id: Idcaf213ed1e081c816f1e6a8fa8a1650f6b04265

6 years agoMerge "Convert ext.jar to Android.bp" am: 42156f3e56
Colin Cross [Sun, 15 Oct 2017 02:19:40 +0000 (02:19 +0000)]
Merge "Convert ext.jar to Android.bp" am: 42156f3e56
am: 8feea076a2

Change-Id: I7db0fc0e79fdc0301f80b45c2001ec55031b137e

6 years agoMerge "Only show dialog if top app is killed" into oc-mr1-dev
Zhi An Ng [Sun, 15 Oct 2017 02:17:20 +0000 (02:17 +0000)]
Merge "Only show dialog if top app is killed" into oc-mr1-dev
am: 4018898ae4

Change-Id: I01bb75704d262cccce0f97aeb13de2ba02ace2f0

6 years agoMerge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev
Abodunrinwa Toki [Sun, 15 Oct 2017 02:11:46 +0000 (02:11 +0000)]
Merge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev
am: 14ba6e10c0

Change-Id: I0ddb7b827ad8b0be37c7e1adc5a95493bd35d61f

6 years agoMerge "Incorporate slab reclaimable into meminfo" into oc-mr1-dev am: 20fb01eb23
Patrik Torstensson [Sun, 15 Oct 2017 02:09:14 +0000 (02:09 +0000)]
Merge "Incorporate slab reclaimable into meminfo" into oc-mr1-dev am: 20fb01eb23
am: 7528452f57

Change-Id: I46c0b4b07044578fe300aaf587973a650628388b

6 years agoMerge "Convert ext.jar to Android.bp"
Colin Cross [Sun, 15 Oct 2017 02:06:20 +0000 (02:06 +0000)]
Merge "Convert ext.jar to Android.bp"
am: 42156f3e56

Change-Id: I44443e9095c8b527ebb42d11a6f5369fdf3e5d05

6 years agoMerge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev
Mathieu Chartier [Sun, 15 Oct 2017 02:06:02 +0000 (02:06 +0000)]
Merge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev
am: 5b4d0e0404

Change-Id: I08773b81acdf9f7c16be246ba056b9f8f54b4e6c

6 years agoMerge "Merge "Cleanup of Cellular/Wifi aggregate statistics" into oc-mr1-dev am:...
Pankaj Kanwar [Sun, 15 Oct 2017 02:02:47 +0000 (02:02 +0000)]
Merge "Merge "Cleanup of Cellular/Wifi aggregate statistics" into oc-mr1-dev am: eb98edfb83" into oc-mr1-dev-plus-aosp
am: c623db3d98

Change-Id: I5512c904eb29e2819358299df36f7a1c2c261992

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 14 Oct 2017 19:44:53 +0000 (19:44 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Add signature permission to allow access to shortcuts for sysui"
TreeHugger Robot [Sat, 14 Oct 2017 03:21:50 +0000 (03:21 +0000)]
Merge "Add signature permission to allow access to shortcuts for sysui"

6 years agoMerge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16"
TreeHugger Robot [Sat, 14 Oct 2017 02:40:16 +0000 (02:40 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Oct 2017 01:17:32 +0000 (18:17 -0700)]
Import translations. DO NOT MERGE

Change-Id: I11e09d4501fed09201362b2fb4d194330c5a72e2
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Enable PGO for hwui"
Zhizhou Yang [Sat, 14 Oct 2017 01:13:55 +0000 (01:13 +0000)]
Merge "Enable PGO for hwui"

6 years agoAdd signature permission to allow access to shortcuts for sysui
Makoto Onuki [Sat, 14 Oct 2017 00:10:48 +0000 (17:10 -0700)]
Add signature permission to allow access to shortcuts for sysui

Bug 34715012
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
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: I922f9fb872e27b25d1016b3894165a0e63faa9b5

6 years agoMerge "Remove WifiNetworkScoreCache fake"
TreeHugger Robot [Sat, 14 Oct 2017 00:20:23 +0000 (00:20 +0000)]
Merge "Remove WifiNetworkScoreCache fake"

6 years agoFix regression from ag/2987716
Winson Chung [Sat, 14 Oct 2017 00:18:58 +0000 (17:18 -0700)]
Fix regression from ag/2987716

- Removing some tasks can trigger the list to be updated (for the removed
  task), ensure that we iterate the list backwards so that iteration is
  not affected by any removed tasks.

Bug: 67785147
Test: Just reverting some code

Change-Id: If8afc222f62656cbf5404bcf79c70833514103e7
Signed-off-by: Winson Chung <winsonc@google.com>
6 years agoMerge changes Id963434f,I103ccc69,I770cd430
Winson Chung [Fri, 13 Oct 2017 23:45:55 +0000 (23:45 +0000)]
Merge changes Id963434f,I103ccc69,I770cd430

* changes:
  Remove events bus code from task loading code.
  Pull out TaskStackListener into its own class.
  Remove unused recents fast-toggle/paging code.

6 years agoMerge "PowerUI: Update temperature warnings on thermal throttling events"
TreeHugger Robot [Fri, 13 Oct 2017 23:39:18 +0000 (23:39 +0000)]
Merge "PowerUI: Update temperature warnings on thermal throttling events"

6 years agoMerge "[framework] Add check that classpath is up to date to getDexOptNeeded"
Calin Juravle [Fri, 13 Oct 2017 22:59:06 +0000 (22:59 +0000)]
Merge "[framework] Add check that classpath is up to date to getDexOptNeeded"

6 years agoRemoves redundant RefBase inheritance.
David Chen [Fri, 13 Oct 2017 22:54:03 +0000 (15:54 -0700)]
Removes redundant RefBase inheritance.

PackageInfoListener already inherits from RefBase, so the
MetricsProducer doesn't need it also.

Test: Not needed.
Change-Id: I27fc4c214251ba07fefeacf76549a80c8368ffa5

6 years agoMerge "Add property reading logic for dalvik.vm.madvise-random" into oc-mr1-dev
Mathieu Chartier [Fri, 13 Oct 2017 22:28:23 +0000 (22:28 +0000)]
Merge "Add property reading logic for dalvik.vm.madvise-random" into oc-mr1-dev

6 years agoMerge "Fix an unnecessary dependency (framework => health@2.0-java)"
TreeHugger Robot [Fri, 13 Oct 2017 22:13:54 +0000 (22:13 +0000)]
Merge "Fix an unnecessary dependency (framework => health@2.0-java)"

6 years agoMerge "ActivityStarter cleanup"
Bryce Lee [Fri, 13 Oct 2017 22:12:24 +0000 (22:12 +0000)]
Merge "ActivityStarter cleanup"

6 years agoMerge "AAPT2: Update SDK development codename to P"
TreeHugger Robot [Fri, 13 Oct 2017 21:27:52 +0000 (21:27 +0000)]
Merge "AAPT2: Update SDK development codename to P"

6 years agoRemove events bus code from task loading code.
Winson Chung [Thu, 12 Oct 2017 21:05:26 +0000 (14:05 -0700)]
Remove events bus code from task loading code.

- Remove extra class RecentsPackageMonitor, just have RecentsActivity drive
  the event itself.

Bug: 67510855
Test: Remove package while Recents is open, ensure activity infos are
      trimmed

Change-Id: Id963434ff868e607fe90ef770e4ba2070905cfba

6 years agoPull out TaskStackListener into its own class.
Winson Chung [Mon, 9 Oct 2017 22:08:30 +0000 (15:08 -0700)]
Pull out TaskStackListener into its own class.

Bug: 67510855
Test: Code removal
Change-Id: I103ccc690f577dbeba9c3568614d9f4041fff7df

6 years agoPowerUI: Update temperature warnings on thermal throttling events
Todd Poynor [Wed, 4 Oct 2017 20:00:32 +0000 (13:00 -0700)]
PowerUI: Update temperature warnings on thermal throttling events

Subscribe to thermal throttling start/stop events from thermalservice,
if the vendor thermal management subsystem supports push notifications
of throttling events.  Update temperature warnings immediately when
throttling start/stop events are received.

Fixup existing comment to reflect current code regarding default warning
temperature value.

Bug: 66698613
Test: PowerNotificationWarningsTest, PowerUITest,
      manual: taimen with artificially low temperature threshold and
      logcat debugging messages

Change-Id: I021bcd0d06af861fd3a18a1790815a836659cee6

6 years agoMerge "Remove obsolete user agent strings."
TreeHugger Robot [Fri, 13 Oct 2017 21:15:45 +0000 (21:15 +0000)]
Merge "Remove obsolete user agent strings."

6 years agoMerge "Process joystick MotionEvents correctly."
TreeHugger Robot [Fri, 13 Oct 2017 21:01:39 +0000 (21:01 +0000)]
Merge "Process joystick MotionEvents correctly."

6 years agoMerge "Update CtsShim with multiArch" into oc-mr1-dev
TreeHugger Robot [Fri, 13 Oct 2017 20:22:56 +0000 (20:22 +0000)]
Merge "Update CtsShim with multiArch" into oc-mr1-dev

6 years agoUpdate CtsShim with multiArch
Winston Man [Tue, 5 Sep 2017 14:12:35 +0000 (15:12 +0100)]
Update CtsShim with multiArch

Add an empty .so to CTS for testing multiArch upgrade
Pre-built apk will be updated separately after this is merged
Testing build command will be updated later

Bug: 64504762
Test: all related cts and gts pass
Test: pre-built passed on all arch, including x86_64
Test: gts-tradefed run commandAndExit gts-dev --module GtsPackageManagerHostTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PrivilegedUpdateTests
Change-Id: I5abfe06de0bd730b5cdc317df344b7567d50aff6

6 years agoMerge "SystemUI: Clarify default temperature warning notification value"
TreeHugger Robot [Fri, 13 Oct 2017 20:11:54 +0000 (20:11 +0000)]
Merge "SystemUI: Clarify default temperature warning notification value"

6 years agoMerge "Only show dialog if top app is killed" into oc-mr1-dev
Zhi An Ng [Fri, 13 Oct 2017 20:08:49 +0000 (20:08 +0000)]
Merge "Only show dialog if top app is killed" into oc-mr1-dev

6 years agoMerge "Cache reference to stack objects we use a lot in AM."
Wale Ogunwale [Fri, 13 Oct 2017 19:56:38 +0000 (19:56 +0000)]
Merge "Cache reference to stack objects we use a lot in AM."

6 years agoAAPT2: Flatten AndroidManifest.xml stringpool in UTF16
Adam Lesinski [Fri, 13 Oct 2017 19:40:37 +0000 (12:40 -0700)]
AAPT2: Flatten AndroidManifest.xml stringpool in UTF16

A few OEM devices have introduced a memory corruption bug
that is only triggered when an application's AndroidManifest.xml
uses UTF8 string pools. Workaround this by only encoding
AndroidManifest.xml with UTF16 strings.

Bug: 64434571
Test: manual
Change-Id: I2ee50d1b2b5942d971ef2a544c878de63f67c652

6 years agoAAPT2: Update SDK development codename to P
Adam Lesinski [Wed, 4 Oct 2017 21:20:06 +0000 (14:20 -0700)]
AAPT2: Update SDK development codename to P

Also deleted unused method of finding attribute API levels.

Test: none
Change-Id: I92c1dd398bde3b19da2d274b6abda12636aa3d4f

6 years ago[framework] Add check that classpath is up to date to getDexOptNeeded
Calin Juravle [Tue, 12 Sep 2017 07:58:33 +0000 (00:58 -0700)]
[framework] Add check that classpath is up to date to getDexOptNeeded

Bug: 62269291
Test: manual, install new apk/splits and force updates.
I used com.android.cts.classloadersplitapp as the test app.
1) install-multiple split apks with dependency: Base -> A -> B
2) push an update for A
3) adb shell cmd package compile
4) check that A & B got recompiled and that B was because a class loader
context mismatch (e.g. "ClassLoaderContext classpath element checksum
mismatch for position 1.").

Change-Id: I4092562966413dc8976c9d41b26a90bbb9e37e1e

6 years agoMerge "mItarSpeedLimitExceeded thread safety"
TreeHugger Robot [Fri, 13 Oct 2017 19:05:50 +0000 (19:05 +0000)]
Merge "mItarSpeedLimitExceeded thread safety"

6 years agoAdd property reading logic for dalvik.vm.madvise-random
Mathieu Chartier [Fri, 13 Oct 2017 18:29:27 +0000 (11:29 -0700)]
Add property reading logic for dalvik.vm.madvise-random

The property is passed to runtime init as
-XX:MadviseRandomAccess.

Bug: 67772594
Test: make and getprop
Change-Id: I7cbab5d028067810276bc58c312806ea3785f93f

6 years agoEnable PGO for hwui
Zhizhou Yang [Fri, 13 Oct 2017 18:42:13 +0000 (11:42 -0700)]
Enable PGO for hwui

This patch is trying to apply PGO for hwui. According to some research
on PGO before, we got a 5% to 10% performance improvement with PGO on
hwui and we hope to enable it.

The patch specified a hwui.profdata file, which locates in internal
google_data/pgo_profile directory, to work as the profile to feed PGO.
This profdata can be re-collected through the PGO collecting script in
the benchmark directory, and it was based on hwuimicro/hwuimacro
benchmark for now.

PGO can be turned of by setting ANDROID_PGO_NO_PROFILE_USE environment
variable.

Test: Build hwui successfully and verified the performance improvement
on device through benchmark.
Bug: http://b/63768402

Change-Id: Ib63e5504be34bdfe49f6bc2c52964c30c81f1416

6 years agoMerge "Replace mNotifyAutofillManagerOnClick by mPrivateFlag."
TreeHugger Robot [Fri, 13 Oct 2017 18:31:52 +0000 (18:31 +0000)]
Merge "Replace mNotifyAutofillManagerOnClick by mPrivateFlag."

6 years agoSystemUI: Clarify default temperature warning notification value
Todd Poynor [Thu, 5 Oct 2017 02:12:05 +0000 (19:12 -0700)]
SystemUI: Clarify default temperature warning notification value

Update comment to describe which value the default temperature
warning notification is used by default.

Test: compile
Change-Id: I421d8f665827c4b45efa169b6ce50ce6655eb74b

6 years agoMerge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev
TreeHugger Robot [Fri, 13 Oct 2017 18:25:51 +0000 (18:25 +0000)]
Merge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev

6 years agoMerge "Added new ViewNode properties for Autofill (minEms, maxEms, maxLength)."
TreeHugger Robot [Fri, 13 Oct 2017 18:13:04 +0000 (18:13 +0000)]
Merge "Added new ViewNode properties for Autofill (minEms, maxEms, maxLength)."

6 years agoMerge "recorder: Change the file read/write mode to be rw."
Hangyu Kuang [Fri, 13 Oct 2017 18:11:19 +0000 (18:11 +0000)]
Merge "recorder: Change the file read/write mode to be rw."

6 years agoMerge "Update locked_region_code_injection tool to ASM 6.0-BETA."
Tobias Thierer [Fri, 13 Oct 2017 17:40:50 +0000 (17:40 +0000)]
Merge "Update locked_region_code_injection tool to ASM 6.0-BETA."

6 years agoRemove unused recents fast-toggle/paging code.
Winson Chung [Mon, 9 Oct 2017 21:11:29 +0000 (14:11 -0700)]
Remove unused recents fast-toggle/paging code.

- Also remove some unused assets

Bug: 67510855
Test: Code removal
Change-Id: I770cd430af01deb64f14e3ce30c12497c194dfa2

6 years agoMerge changes Ia6c335db,Id8079104
TreeHugger Robot [Fri, 13 Oct 2017 17:27:39 +0000 (17:27 +0000)]
Merge changes Ia6c335db,Id8079104

* changes:
  AssetManager2: Provide a method for iterating over packages
  AssetManager2: Implement IDMAP support

6 years agoAssetManager2: Provide a method for iterating over packages
Adam Lesinski [Wed, 11 Oct 2017 17:36:44 +0000 (10:36 -0700)]
AssetManager2: Provide a method for iterating over packages

Test: none
Change-Id: Ia6c335db1ed7d09cd444d387a29f18dc342a697f

6 years agoAssetManager2: Implement IDMAP support
Adam Lesinski [Mon, 25 Sep 2017 20:21:55 +0000 (13:21 -0700)]
AssetManager2: Implement IDMAP support

This enables RRO (runtime resource overlays) with AssetManager2

Test: make libandroidfw_tests
Test: out/host/<platform>/nativetest64/libandroidfw_tests/libandroidfw_tests --testdata=frameworks/base/libs/androidfw/tests/data
Change-Id: Id8079104faefbfaa3f4017d8f7ee1a8968f151a2

6 years agoMerge "AAPT: treat "-I" with lower precedence than main APK for dumping."
Donald Chai [Fri, 13 Oct 2017 16:40:03 +0000 (16:40 +0000)]
Merge "AAPT: treat "-I" with lower precedence than main APK for dumping."

6 years agoReplace mNotifyAutofillManagerOnClick by mPrivateFlag.
Felipe Leme [Fri, 13 Oct 2017 00:16:50 +0000 (17:16 -0700)]
Replace mNotifyAutofillManagerOnClick by mPrivateFlag.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 67006548

Change-Id: I2027e5d6d952b473c4d20b2aac15792d230ae43c

6 years agoRemove WifiNetworkScoreCache fake
Eric Schwarzenbach [Fri, 13 Oct 2017 16:19:03 +0000 (09:19 -0700)]
Remove WifiNetworkScoreCache fake

Now that robolectric supports O, we no longer need the fake
WifiNetworkScoreCache for tests.

Bug: 64262653
Test: n/a
Change-Id: Ie9cdd817d3436b7ff5b1642efbf255faf216a7fb

6 years agoCache reference to stack objects we use a lot in AM.
Wale Ogunwale [Wed, 11 Oct 2017 16:37:23 +0000 (09:37 -0700)]
Cache reference to stack objects we use a lot in AM.

This helps with fast access since we are no longer using stack ids
to look-up stack objects.
Also,
- Made ActivityDisplay.mStacks private so no one out the ActivityDisplay
class changing the stack list order.
- Changed some methods to pass stack objects vs. ids.

Test: Existing tests pass.
Test: go/wm-smoke
Change-Id: I04490cd505c4251e115043fa2ba5134d9a641846

6 years agoMerge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev
Mathieu Chartier [Fri, 13 Oct 2017 16:25:23 +0000 (16:25 +0000)]
Merge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev

6 years agoActivityStarter cleanup
Bryce Lee [Thu, 12 Oct 2017 20:46:18 +0000 (13:46 -0700)]
ActivityStarter cleanup

This changelist removes individual flags for launch modes and
VR display state.

Test: go/wm-smoke
Bug: 64750076
Change-Id: I301e44b21eca6fd6d12e64e907a13f3cfe2e2c6d

6 years agoMerge "Return canned messages from getDisabledMessage for..."
Makoto Onuki [Fri, 13 Oct 2017 15:53:18 +0000 (15:53 +0000)]
Merge "Return canned messages from getDisabledMessage for..."

6 years agoFlags to enable/disable smart selection in EditText
Abodunrinwa Toki [Tue, 19 Sep 2017 22:18:40 +0000 (23:18 +0100)]
Flags to enable/disable smart selection in EditText

1. smart_selection_enabled_for_edit_text
   Disables smart selection for editable text.
2. smart_selection_dark_launch
   Dark launch TextClassifierImpl.suggestSelection(...)
   In this mode we run the method, but never change the user's
   selection to measure the quality of the results based on what
   the user actually wanted.

Bug: 65959640
Test: Manually tested flags turn on/off feature with 'adb shell
settings put global' and GServices override.
Test: bit FrameworksCoreTests:android.provider.SettingsBackupTest
Merged-In: Iacc561c8ee004b0123de66ad1ee06b1f56b4e4b4
Change-Id: Iacc561c8ee004b0123de66ad1ee06b1f56b4e4b4

6 years agoMerge "AM: introduce ActivityOptions.setLockTaskMode()."
Charles He [Fri, 13 Oct 2017 13:38:06 +0000 (13:38 +0000)]
Merge "AM: introduce ActivityOptions.setLockTaskMode()."

6 years agoMerge "Cache reference to stack objects we use a lot in WM."
TreeHugger Robot [Fri, 13 Oct 2017 13:20:30 +0000 (13:20 +0000)]
Merge "Cache reference to stack objects we use a lot in WM."

6 years agoMerge "Add change to show Invalid card when erroneous card is inserted."
Treehugger Robot [Fri, 13 Oct 2017 13:02:21 +0000 (13:02 +0000)]
Merge "Add change to show Invalid card when erroneous card is inserted."