358679 Commits

Author SHA1 Message Date
Alan Viverette
904a81fbdf Remove Support Library from frameworks/base pathmap.mk
Bug: 73178261
Test: make checkbuild
Change-Id: I8614fd0a8bca8acbf0cad7e38df1020d05f4bcec
2018-02-15 11:37:52 -05:00
TreeHugger Robot
85a6db68f1 Merge "Add config overlay flags for ActivityMode in Wear." 2018-02-13 21:29:58 +00:00
TreeHugger Robot
ee503da85d Merge "Close print writers" 2018-02-13 21:26:26 +00:00
TreeHugger Robot
e780433c16 Merge "Don't write settings just for install status" 2018-02-13 21:15:23 +00:00
TreeHugger Robot
2566f5a2ff Merge "Add @throws clause to getInstallerPackageName" 2018-02-13 21:08:54 +00:00
Sudheer Shanka
125e4ec2dd Merge "check if per-uid cputimes proc file has correct no. of freqs." 2018-02-13 21:04:08 +00:00
TreeHugger Robot
0e5366dcd7 Merge "Do not throw an exception if there's no application key to be decrypted" 2018-02-13 21:00:31 +00:00
TreeHugger Robot
cbbf416b9d Merge "Update device default colors for darker UI" 2018-02-13 20:58:14 +00:00
TreeHugger Robot
e9f70acf05 Merge "Fix timeouts caused by destroy() waiting for the same lock on sort." 2018-02-13 20:44:42 +00:00
TreeHugger Robot
f93ae682e1 Merge "Fix race condition with calling stop() before run()" 2018-02-13 20:31:22 +00:00
Makoto Onuki
501406650a Merge "Sync too many retries" 2018-02-13 20:14:21 +00:00
TreeHugger Robot
72698e6f39 Merge "Revert "Use ImageDecoder for NinePatchDrawable and BitmapDrawable"" 2018-02-13 20:13:04 +00:00
TreeHugger Robot
42362cfc08 Merge "Fix a bug in vector reverse iteration." 2018-02-13 20:07:21 +00:00
TreeHugger Robot
389cf2c265 Merge "Import translations. DO NOT MERGE" 2018-02-13 19:39:38 +00:00
TreeHugger Robot
7608c744ad Merge "Switch to public API version" 2018-02-13 19:29:32 +00:00
Todd Kennedy
390b242367 Close print writers
Test: Manual
Change-Id: I4fffa9163b3ad7b0f70e15c1adc65370b70df0d3
2018-02-13 11:26:18 -08:00
Calvin On
0fde868811 Add config overlay flags for ActivityMode in Wear.
Bug: 70277751
Bug: 67479547
Bug: 67479806

Change-Id: I1219e3ad1a68e82aed75b84aca1988f501a26d3c
2018-02-13 11:24:51 -08:00
Todd Kennedy
9db6563b29 Add @throws clause to getInstallerPackageName
It's confusing that this method would throw the unchecked
IllegalArgumentException.

Test: Manual
Change-Id: I0e7fbf888d6408783fbcf698db0407e773661968
Fixes: 73279116
2018-02-13 11:12:35 -08:00
Todd Kennedy
af6f195b15 Don't write settings just for install status
This is an obsolete concept and not necessary. Remove the install status
that's part of the package settings.

Change-Id: I20a567145e579c9588d4392d0ac26ef4b5bbe301
Fixes: 62229032
Test: atest FrameworksServicesTests:PackageManagerSettingsTests
2018-02-13 11:09:50 -08:00
Bo Zhu
ae0682dfe2 Do not throw an exception if there's no application key to be decrypted
Bug: 73287131
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I17fd94a975312abf9b93080318b7c16a4d388237
2018-02-13 10:53:20 -08:00
Makoto Onuki
a5e2155b40 Merge "Fix comment case." 2018-02-13 18:50:45 +00:00
TreeHugger Robot
288e34e5a4 Merge "pm shell command to uninstall system updates" 2018-02-13 18:26:11 +00:00
Yao Chen
db43afcec2 Fix a bug in vector reverse iteration.
Bug: 73264895

Test: statsd_test and locally built statsd with
     LOCAL_CLANG:=true
     LOCAL_SANITIZE:=address

Change-Id: Ifb8e04c5b4908446f553169846a3226db6e02f54
2018-02-13 10:18:53 -08:00
Makoto Onuki
aad2b51bb1 Sync too many retries
- When an one-shot sync with app-standby exempt fails too many times in a row,
drop the "exempt from app-standby" flag.

- Also obtain some constants from global settings so we can change them
in CTS.

Bug: 72443754
Test: Manual test (CTS WIP)

Change-Id: Ibdbb348a7ff26a0be04b8f2c256e1f6ead39907d
2018-02-13 10:15:45 -08:00
Adam Stone
ea7d4f3b6a Merge "Fix getMetrics to return all relevant metrics" 2018-02-13 18:14:40 +00:00
Rhiannon Malia
619e2c0d61 Merge "Adding suppressShowOverApps to TvExtender" 2018-02-13 18:14:31 +00:00
Niels Egberts
32011ea4f1 Fix race condition with calling stop() before run()
The code assumed that when stop() is called before run(), it's not
neccessary to signal mNotFull, but in rare cases the synthesizer may
already have filled the buffer before run() is called.

Test: manual

Bug: 70887227
Change-Id: I83117f3541d37830b344bc9eda34e1f380b58e76
2018-02-13 18:13:36 +00:00
David Brazdil
243dbafc35 Merge "Add more hidden APIs into light greylist" 2018-02-13 18:05:28 +00:00
TreeHugger Robot
acc788a952 Merge "Reorganize MeasuredText API" 2018-02-13 17:51:13 +00:00
TreeHugger Robot
a3850365af Merge "Reload brightness setting on user switch." 2018-02-13 17:47:20 +00:00
Sunny Goyal
2f1f06cbf2 Merge "Adding utility method to check the current home app" 2018-02-13 17:46:56 +00:00
Todd Lee
bef1e2d3cb Update device default colors for darker UI
- implement darker UI for improved glanceability
  (while still supporting OEM customization that would provide
   for more color depth/separation)
- fix watch-only resources for associated controls

Bugs: b/69522808
      b/64356423

Change-Id: Ic8475f310f31587087266b2367564811f19b99e4
(cherry picked from commit 97547d905bd40e10f6a5383e99c6821d71a8a91d)
(cherry picked from commit 684a6d328fc5b14cdcf1072cc585b8af1cfcae3e)
2018-02-13 17:27:31 +00:00
Phil Weaver
c110d25913 Merge "Migrate notification shade to use the a11y panes" 2018-02-13 16:59:27 +00:00
Makoto Onuki
6895df307b Fix comment case.
Bug: 72659387
Test: build
Change-Id: I547b4e4d436becc7f223570eec37d68ef136002a
2018-02-13 08:52:10 -08:00
hansson
38a5423c70 Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log" am: c0c9f53175 am: 78d15fd15a
am: 927afd1edf

Change-Id: I7c90804ed55df27244a25fe0e9075c4ec2147e74
2018-02-13 16:49:00 +00:00
hansson
927afd1edf Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log" am: c0c9f53175
am: 78d15fd15a

Change-Id: Ie90bccf5aa5fb67e1b4769fcbb1013b1fae71063
2018-02-13 16:39:33 +00:00
hansson
78d15fd15a Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log"
am: c0c9f53175

Change-Id: I25f1aad9e04c22e0cd4ffc848a53c30dd740bdac
2018-02-13 16:31:53 +00:00
Patrick Baumann
a980e14014 pm shell command to uninstall system updates
This change introduces a new package manager shell command that
will automatically uninstall any updated system apps, falling back
to the version that is prebaked into the system image.

Change-Id: Ic2952394baadeea6286e0a87343201e564ffdfb9
Fixes: 21088599
Test: manual - run before SUW and after; see updates uninstalled
2018-02-13 16:20:47 +00:00
hansson
c0c9f53175 Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log" 2018-02-13 14:42:03 +00:00
TreeHugger Robot
40ce09581d Merge "Add OWNERS for preferences" 2018-02-13 13:17:21 +00:00
TreeHugger Robot
7fb049fb86 Merge "Import translations. DO NOT MERGE" 2018-02-13 13:11:42 +00:00
TreeHugger Robot
6324fff9e0 Merge "Haptic feedback when ringer set to vibrate" 2018-02-13 13:03:19 +00:00
yuanhuihui
e669ac2520 fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log
There will be the following situations about mApplicationObject:

1) fork app process will invoke ActivityThread.main(),
then set mApplicationObject.

2) fork system_server, don't set mApplicationObject value.

3) using app_process fork process except zygote, will inovke RuntimeInit,
don't set mApplicationObject value。

For example using command as below:
app_process /system/bin com.android.commands.am.Am "$@",

if this process throw uncaught exception,will output FATAL EXCEPTION IN SYSTEM PROCESS log,
it's not in system process but in normal process。

so should add condition: Process.SYSTEM_UID == Process.myUid()

BUG: 72759350
Test: manual

Change-Id: Ie8d769e4149cd9b938577058de871c4f8db9efe5
Signed-off-by: yuanhuihui <yuanhuihui@xiaomi.com>
2018-02-13 12:52:38 +00:00
Kenny Guy
faf9d2017f Reload brightness setting on user switch.
Bug: 73147707
Test: manual, switch user set max brightness, switch back brightness unchanged.
Change-Id: I09f350eb175e37ff4bf951afc67bc53d171739b1
2018-02-13 12:25:19 +00:00
Clara Bayarri
a137711868 Add OWNERS for preferences
Test: none
Change-Id: I1679ba3f10a89a4076888936aebf067c371bcf27
2018-02-13 11:28:02 +00:00
TreeHugger Robot
2f711fec15 Merge "JAudioTrack: Create StreamEventCallback in MediaPlayer2Impl" 2018-02-13 11:25:32 +00:00
Hyundo Moon
02a7228053 Merge "MediaBrowser2: Add search related methods" 2018-02-13 10:52:06 +00:00
TreeHugger Robot
ddfd31a1a7 Merge "Import translations. DO NOT MERGE" 2018-02-13 10:41:03 +00:00
Tyler Gunn
29a96d4b28 Merge "Updates to Telecom API docs for clarity." am: e845bddb40 am: 8fe8f5fa9b
am: 82d572ed07

Change-Id: I2699c25dd3a309eed0742dc87b636a9b96d32e96
2018-02-13 10:13:48 +00:00
Tyler Gunn
82d572ed07 Merge "Updates to Telecom API docs for clarity." am: e845bddb40
am: 8fe8f5fa9b

Change-Id: I0a18edd6dc7347b7b08d59ab89f767b98fde1372
2018-02-13 10:01:58 +00:00